/* === 作業事例 === */
/* =================================
   作業事例ページ 白ベース+紫刺し色統一
   TOPページとの統一感を重視
   ================================= */

/* 1. ファーストビューエリア - 紫ベースは維持 */
.work { }
.worklist {
  background: url(../images/top2/moviebg.png) no-repeat center 38%;
  background-size: cover;
}
.fv_cvbg {
  background: rgb(0 0 0 / 55%);
  padding: 13.5rem 4vw 10vh 4vw;
}
.fv_cvbg h2 {
	font-size: clamp(2.4rem, 1.2rem + 2.2vw, 4.3rem);
    display: flex;
    flex-direction: column;
    color: #fff;
    text-align: center;
    font-style: italic;
}
.fv_cvbg h2 span {
  font-size: clamp(1.65rem, 1.8rem + 0.8vw, 2.25rem);
  font-style: normal;

}
.work_photoarea {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* 比較スライダーの時はblockにして個別で幅管理（推奨） */
  flex-direction: column;
  align-items: center;
}
.work h1 {
position: relative;
    font-size: clamp(1.65rem, 1.65rem + 3vw, 2.15rem);
    padding: 6vh 10.5vw 3vh 10.5vw;
    text-align: center;
    z-index: 2;
    max-width: 1280px;
    margin: auto;
	color: #fff;
    font-weight: bold;
}
.work h1::after {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
}

.case_title_label {
    display: block;
    color: #ffffff;
    background-color: #ab86cf;
    padding: 0.4em 0.6em;
    border-radius: 1em;
    font-size: clamp(1.6rem, 1.6rem + 0.5vw, 2.25rem) !important;
    font-weight: bold;
    margin: 0 auto 1rem;
    word-break: keep-all;
}

/* ========== 画像比較コンテナ・リセット ========== */
.case-images {
  /* twentytwenty利用時はblock化、通常はflex対応も可 */
  display: block;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}
.case-image {
  max-width: 100%;
  margin-bottom: 2em;
}
.case-image p {
  text-align: center;
  font-weight: bold;
}

/* twentytwenty比較スライダー */


.twentytwenty-container {
  position: relative;
  max-width: 700px;
  margin: 2em auto;
  min-height: 320px;
  height: 540px;       /* ←これ必須 */
  aspect-ratio: 4/3;
  overflow: hidden;
}
.twentytwenty-container img {
  width: 100%;
  height: 100%;        /* ←autoじゃなく100%推奨 */
  object-fit: cover;
  display: block;
}
.twentytwenty-before-label, .twentytwenty-after-label {
  /* 任意でカスタマイズ */
  font-size: 1.2em;
  padding: 10px 18px;
  border-radius: 12px;
  color: #61368c;
  font-weight: bold;
  box-shadow: 0 2px 7px rgba(60, 40, 98, 0.08);
}


.slider-wrap {
  max-width: 800px;
  margin: 2em auto;
}

.beer-slider {
  height:auto; /* 16:9比率＝800÷16×9=450 */
  max-width: 96vw;
  max-height: 56vw; /* モバイル対策：幅に応じて縮む */
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
  background: #EECB27; /* 画像ロード前の下地色 */
}

.beer-slider {
    width: 100%;
    height: 440px !important;
    border-radius: 25px;
    margin-bottom: 1.5em;
    box-shadow: 2px 2px 8px 2px #3131314f;
    border: 4px solid #afafaf;
}


.beer-slider img,
.beer-reveal img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* 必ず枠にフィット */
  object-position: center; /* 中央寄せ */
  display: block;
}
.beer-handle {
  background: none;
  box-shadow: none;
}
.beer-slider .beer-handle {
  width: 48px;              /* つまみ全体の幅（調整可） */
  height: 48px;             /* つまみ全体の高さ（調整可） */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: none;
  box-shadow: none;
  cursor: ew-resize;
  display: flex;
  align-items: center;
  justify-content: center;
 background: #fff;
}
.beer-slider .beer-handle:hover, .beer-slider .beer-handle:active,  .beer-slider .beer-handle:focus {
	 background: #fff;
}
.beer-handle:after, .beer-handle:before {
    border-left: 3px solid;
    border-top: 3px solid;
    content: "";
    height: 10px;
    position: absolute;
    top: 50%;
    transform-origin: 0 0;
    width: 10px;
    color: #6a4c93;
}

/* 境目の線の色 */
.beer-reveal {
  border-right: solid 4px #fff;
}
/* ハンドルの背景色 */
.beer-handle {
  background: #fff;
}
.beer-range:focus~.beer-handle{background:#6a4c93 !important;}

.work_h2title {
    font-size: clamp(1.45rem, 1.55rem + 0.4vw, 1.80rem);
    padding: 1.0rem 2.0rem;
    display: inline-block;
    position: absolute;
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    letter-spacing: 0.04em;
    z-index: 1;
    top: -30px;
    border-radius: 10px 10px 10px 10px;
	background: #6a4c93 !important;
    color: white !important;
}

.natural-h2-wrap {
    position: relative;
    margin: 2rem 0 0rem 0;
    margin-bottom: 0rem;
}

.natural-h2 {
    position: relative;
    z-index: 1;
	font-size: clamp(1.65rem, 1.75rem + 0.8vw, 2.0rem);
    font-weight: 600;
    padding: 1rem 2rem;
    margin: 0;
	border: 2px solid #6a4c93;
    color: #fff;
    background: #6a4c93 !important;
}
.natural-h2-wrap::before {
  background: #f8f6ff !important;
}

.h_read {
	padding: 0 0 2.5rem 0;
}

.fa-bolt {
	padding: 0 1rem 0 0;
}
.natural-h2-wrap::before {
  content: '';
  position: absolute;
  top: 7px;    /* 縦のずらし量 */
  left: 7px;   /* 横のずらし量 */
  width: 100%;
  height: 100%;
  background: #f1ebf7; /* 下地色 */
  border-radius: 3px;
  z-index: 0;
}

/* ここから新規 */
/* 作業データ表 */
.case-meta {
    max-width: 800px;
    min-width: 320px;
    margin: 32px auto 0;
    box-shadow: 0 3px 18px #8d8d8daa;
    background: #fff;
    overflow: hidden;
}
.case-meta table {
  width: 100%;
  border-collapse: collapse;
  border: 3px solid #fff;
	
}
.case-meta th, .case-meta td {
	font-size: clamp(1.35rem, 1.4rem + 0.2vw, 1.6rem);
  padding: 1.5rem 3.5rem;
  text-align: left;
  border-bottom: 1px solid #efece0;
}
.case-meta th {
    width: 30%;
    text-align: left;
  background: #6a4c93;
    border-bottom: 2px solid #fff;
    position: relative;
	color: #fff;
    font-weight: bold;
}
.case-meta th::after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid #6a4c93;
    border-right: 0;
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
}



.case-meta td {
    width: 70%;
    border-bottom: 2px solid #dad9d1;
    color: #333;
}
.case-meta tr:last-child th, .case-meta tr:last-child td {
  border-bottom: none;
}


.photo_large_area {
	max-width: 700px;
	margin:auto;
}
.photo_large_area p {

}

.largephotoimg {

}

.photo_large_area {
  margin: 36px auto 32px auto;
  max-width: 700px;
  text-align: center;
}
.photo_large_title {
  font-weight: 700;
  color: #7c5ba3;
  margin-bottom: 18px;
  font-size: 2.4rem; 
  letter-spacing: 0.03em;
	border-bottom: solid 1px #c2c2c2;
}
i.fa-magnifying-glass-plus {
	font-style: normal;
	font-size: 3.2rem;
	padding-right: 1rem;
}
.largephoto {
  display: flex;
  gap: 30px;
  justify-content: space-evenly;
  align-items: flex-end;
  padding: 2rem 3rem 2rem 3rem;
  background: #f2f2f2;
  box-shadow: 0 2px 7px #3c28624f;
  width: 100%;
  margin-bottom: 0.8em;
}

.largephotoimg img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #eee;
  transition: filter 0.2s;
}
.largephotoimg:hover img {
  filter: brightness(0.94) blur(1px);
}
.photo-label {
  position: absolute;
  left: 12px;
  top: 10px;
  padding: 2px 10px;
  font-size: 0.98em;
  color: #fff;
  border-radius: 6px;
  font-weight: 700;
  background: #eecb27cc;
  letter-spacing: 0.03em;
  box-shadow: 0 1px 5px #3332;
}

/* スマホ対策 */
@media (max-width: 700px) {
  .largephoto { flex-direction: column; gap: 20px; }
  .largephotoimg { max-width: 98vw; margin: 0 auto; }
}

.lity-content {
	position: relative;
}
.lity {
    background: #4b4b4bab !important;
}

.lity-close {
    width: 35px;
    height: 35px;
    position: absolute !important;
    right: 0;
    top: 0;
    font-size: 5.5rem !important;
    font-family: Arial, Baskerville, monospace;
    line-height: 5.5rem !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    border: 0;
}

.work-detail h2 {
  font-size: 1.4em;
  margin-top: 0em;
  margin-bottom: 1.2em;
  color: #444;
}
.work-detail h3 {
  font-size: 1.1em;
  margin-top: 1.2em;
  color: #675e23;
}
.work-detail ul {
  padding-left: 1.4em;
  margin: 0 0 3.6em 0;
}
.work-detail li {
  margin-bottom: .2em;
  line-height: 1.6;
}
.work-detail blockquote {
  border-left: 4px solid #EECB27;
  background: #faf8e3;
  margin: 1em 0;
  padding: .8em 1em;
  font-style: italic;
  color: #6a5b1f;
}
.work-image-box {
  margin: 1.2em 0 2em 0;
  text-align: center;
}
.work-image-box img {
  border-radius: 8px;
  border: 1px solid #ddd;
}
.work-image-caption {
  display: block;
  font-size: .9em;
  color: #888;
  margin-top: .4em;
}
@media (max-width: 600px) {
  .work-detail h2 { font-size: 1.1em; }
  .work-detail h3 { font-size: 1em; }
}



/* モバイル最適化 */
@media (max-width: 600px) {
  .case-meta { max-width: 98vw; font-size: 0.97em; }
  .case-meta th,
  .case-meta td { padding: 10px 8px; font-size: 1em; }
}

.case-section-title {
  position: relative;
  font-size: 1.6em;
  font-weight: 700;
  color: #7b4fc8;
  padding:  0 14.5vw 6vh 14.5vw;
  letter-spacing: 0.03em;
	margin-bottom: .6em;
}
.case-section-title::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 3px;
    bottom: 10px;
    background-color: #8663a8;
}

.case-section-title .fa {
color: #ddc75b;
    margin-right: 0.4em;
    font-size: 3.2rem;
}

.case-block-subtitle {
  font-size: 1.15em;
  color: #6a5acd;
  border-bottom: 2px solid #eecb27;
  display: inline-block;
  margin-bottom: .5em;
  margin-top: 1.2em;
  padding: .15em 1em .2em 0;
  font-weight: 600;
}
.case-block {
  background: #faf7fc;
  border-radius: 12px;
  padding: 1.5em 1.5em 1em 1.5em;
  margin-bottom: 2em;
  box-shadow: 0 2px 6px #eecb2722;
}
.case-intro_read_wrap {
    display: flex;
    justify-content: center;
	padding: 0 19vw 6vh 19vw;
}

.case-intro-lead {
    display: flex;
    justify-content: center;
    position: relative;
    margin: 1vh 1vw 2vw;
	padding: .8em 1.2em;
    border-radius: 5px;
    background-color: #fafafa;
    color: #333333;
    border: solid 1px #ab86cf;
}
.case-intro-lead p{
font-size: clamp(1.35rem, 1.35rem + 0.8vw, 1.65rem);
}
.case-intro-lead::before {
    position: absolute;
    top: -15px;
    width: 30px;
    height: 15px;
    background-color: #ab86cf;
    clip-path: polygon(50% 0, 0 100%, 100% 100%);
    content: '';
}

/* === お困り内容と解決ベネフィットの要約（ファーストビュー直下用） === */
.case-problem-summary {
    position: relative;
    margin: 3.5rem auto 0;
    padding: 1.5rem 2rem;
    text-align: center;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
    color: #fff;
    background: #28414ca8;
    max-width: clamp(400px, 80%, 920px); /* 中央寄せかつ文字量で柔軟に可変 */
    box-sizing: border-box;
}
.case-problem-summary::before, 
.case-problem-summary::after{
content: "";
position: absolute;
top: -15px;
width: 2px;
height: calc(100% + 1em);
background-color: #fff;
}
.case-problem-summary:before {
	left: 10px;
	top: -10px;
}
.case-problem-summary:after {
	top: -10px;
	right: 10px;
}

.case-problem-summary p {
  font-size: clamp(1.1rem, 1.4rem + 0.8vw, 1.76rem);
  margin: 0;
  padding: 2rem 2rem;
}

.case-problem-summary strong {
  color: #fabe00;
  font-weight: 700;
}

.case_inner ul li{
  font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem);
}
.case_inner p {
  font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem);
}

.case-slider-section { background: #f8f5fa; padding: 2rem 0;}
.case-meta-section   { background: #f2f2f2; padding: 0rem 0 0rem;}
.case-summary-section { background: #fff; padding: 2rem 0 1rem;}
.case-content-section { background: #fff;}

.work-detail p, .work-detail li  {
	font-size: 1.8rem;
}
.work-detail p {
	padding: 0 0 6rem 0rem;
}
.case-meta-section .natural-h2-wrap {
	max-width: 800px;
	margin: auto;
}
.case-meta i {
	color: #ffd968;
	font-size: 2.2rem;
    padding: 0 1rem 0 0;
}

/* 4. Before/After ビジュアルエリア - 白背景 */
.case-visual-area {
    position: relative;
    background: #fdf9f2;
    padding: 0vh 18vw 0vh 18vw;
    margin: 8vh 0 0 0 !important;
}
.case-visual-area::after {
    content: "";
    position: absolute;
    bottom: -27px;
    left: 30%;
    width: 0;
    height: 0;
    border-left: 20vw solid #fdf9f200;
    border-right: 20vw solid #fdf9f200;
    border-top: 50px solid #c3aad9;
}
.case-visual-inner {
  width: 100%;
  margin: 0 auto;
}

.case-visual-title {
text-align: center;
    font-size: clamp(1.65rem, 1.65rem + 1.0vw, 2.2rem); /* 16.5px〜22px */
    font-weight: 600;
    color: #3a0072;
    letter-spacing: 0.04em;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
	padding-block: 2vh;
}

.gallery-label {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    color: #8062a7;
    border-radius: 20px;
    padding: 0.4em 1.6em;
    font-weight: 600;
    font-size: clamp(1.65rem, 1.7rem + 1.2vw, 2.00rem); /* 16.5px〜20px */
    width: fit-content;
    box-shadow: 0 2px 8px #eecb2733;
    letter-spacing: 0.13em;
    text-align: center;
    border: solid 1px #cfb473;
    z-index: 2;
    background: white !important;
    border: 2px solid #6a4c93 !important;
}

.cleanup_wrap h3 {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333333;
    font-size: clamp(1.6rem, 1.75rem + 1vw, 2.0rem);
	padding: 1rem 0 1.5rem 0;
    position: relative;
}

.cleanup_wrap h3::before,
.cleanup_wrap h3::after {
    width: 3px;
    height: 40px;
    background-color: #9261c1;
    content: '';
}

.cleanup_wrap h3::before {
    transform: rotate(-35deg);
    margin-right: 30px;
}

.cleanup_wrap h3::after {
    transform: rotate(35deg);
    margin-left: 30px;
}



.case-visual-main {
   max-width: 837px;
    margin: auto;
}
.case-slider-block, .case-largephoto-block {
	margin: auto;
  min-width: 320px;
  max-width: 100%;
}

.case-largephoto-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.largephotoimg {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 10px #8d8d8d78;
    max-width: 350px;
    min-width: 120px;
    display: flex;
    transition: box-shadow .2s;
    align-items: center;
    justify-content: center;
    position: relative;
    border: solid 5px #fff;
}

.photo-label {
  position: absolute;
  left: 8px;
  top: 8px;
  background: #eecb27e6;
  color: #5a4589;
  font-size: clamp(1.25rem, 1.35rem + 0.4vw, 1.45rem);
  font-weight: bold;
  padding: 0.15em 1.1em;
  border-radius: 11px;
  box-shadow: 0 2px 8px #eecb2715;
  z-index: 1;
  letter-spacing: 0.1em;
}
.photo-label.before { background: #e2ddea;  color: #333;}
.photo-label.after { background: #eecb27ee; color: #333; }

.photo-label.after {
	background: #e8e5fae6;
	color: #816930;
	left: unset;
	right: 8px;
}

/* .largephoto-captionは独立配置なので通常のcenter寄せ */
.photo_lityarea {
	    width: 100%;
    margin: 0 auto;
}

.largephoto-caption {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #8062a7;
	font-size: clamp(1.35rem, 1.35rem + 0.4vw, 1.65rem); /* 13.5px〜16.5px */;
    margin-bottom: 2vh;
    letter-spacing: 0.06em;
    background: #f1ebf7;
    padding: 1.25vh 1.2vw 1.25vh 1.25vw;
    border-radius: 15px;
    border: solid 1px #ccc;
}

@media (max-width: 900px) {
  .case-visual-main {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }
  .case-slider-block, .case-largephoto-block {
    max-width: 100%;
    min-width: 0;
  }
  .largephotoimg {
    width: 48vw;
    height: 48vw;
    max-width: 150px;
    max-height: 150px;
  }
}

.photo_lityarea {
padding: 0 0vw 3vh 0vw;}


.wp-pagenavi {
    clear: both;
    margin: auto;
    text-align: center;
}

.case-summary-highlight-section {
	background: #f2f2f2;
    padding: 5vh;
 }

.case-summary-highlight-card {
  border: 2.2px solid #eecb27;
  background: #fffbe6;
  border-radius: 15px;
  padding: 2.1em 1.7em 1.5em 1.7em;
  position: relative;
  box-shadow: 0 6px 24px #eecb2720;
  margin: 0 auto;
}

.case-summary-badge {
  display: inline-block;
  background: #eecb27;
  color: #624e3e;
  font-weight: bold;
  border-radius: 10px 10px 10px 0;
font-size: clamp(1.2rem, 1.1rem + 0.3vw, 1.5rem);
  padding: 0.5em 1.6em 0.5em 1.2em;
  position: absolute;
  top: -1.2em;
  left: 1.2em;
  box-shadow: 0 2px 8px #eecb2744;
  letter-spacing: 0.04em;
}
.case-summary-badge i {
  color: #fff;
  margin-right: 0.65em;
  font-size: 1.08em;
}

.case-summary-body {
margin-top: 0.3em;
    color: #624e3e;
    font-size: 1.65rem;
    line-height: 1.4;
    letter-spacing: 0.1rem;
}

.case-pill-badge {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 2.5em auto 1em auto;
    padding: 0.25em 0em  0.5rem 1rem;
    font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
;
    font-weight: 600;
    color: #6d5353;
    background: #faf8f2;
    border-bottom: 2px solid #9261c1;
    letter-spacing: 0.05em;
    transition: box-shadow 0.2s;
    position: relative;
    gap: 0.7em;
}

.pill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fffbe9;
    color: #9261c1;
    border-radius: 50%;
    width: 1.1em;
    height: 1.1em;
    font-size: 1.4em;
    box-shadow: 0 2px 10px #eecb2722;
    border: 1.5px solid #9261c1;
    margin-right: 0.4em;
}

@media (max-width: 600px) {
  .case-pill-badge {
    font-size: 1em;
    padding: 0.6em 1em;
    max-width: 98vw;
  }
  .pill-icon {
    width: 1.7em;
    height: 1.7em;
    font-size: 1em;
  }
}


.expertise {
	background: #f1ecef;
    padding: 2vh 0 2vh 0;
}
.expertise_wrap {
background: linear-gradient(180deg, #f8f4ea 0%, #f7f5fc 100%);
    border-radius: 28px;
    padding: 1.5em 1.8em 1.2em 1.8em;
    margin: 2.5em auto 2em auto !important;
    box-shadow: 0 6px 22px #bda7d133, 0 1px 8px #e8debe1a;
    max-width: 820px;
    border: 2px solid #e3d5b2;
}

.expertise_read {
    background: linear-gradient(180deg, #3a0072 1%, #72488d 50%, #3a0072 100%);
    color: #fff;
    font-size: clamp(1.65rem, 1.70rem + 0.4vw, 1.8rem);
    font-weight: bold;
    text-align: center;
    border-radius: 2em;
    margin: 0 auto 1em auto;
    padding: 0.55em 0;
    letter-spacing: 0.08em;
    box-shadow: 0 2px 8px #a184b820;
    max-width: 100%;
}
.expertise-block {
    color: #fff;
    max-width: 700px;
    margin: 1rem auto 0rem auto !important;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    background: #6c488fe8;
    border: 13px double #fff;
    border-radius: 24px;
    text-align: center;
    position: relative;
}

.expertise-title {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.65rem, 1.75rem + 0.8vw, 2.2rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1em;
    gap: 0.5em;
    letter-spacing: 0.08em;
	padding: 1vh 0 1vh 0;
}

.expertise-title i {
  font-size: 1.7em;
  color: #ffd700;
  filter: drop-shadow(0 1px 3px #e0c67b99);
}

.expertise-block p {
    color: #fff;
    font-size: clamp(1.35rem, 1.4rem + 0.3vw, 1.7rem);
    margin-bottom: 1.2em;
    line-height: 1.8;
}

.expertise-point-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2em;
  padding: 0;
  margin: 0;
  list-style: none;
}

.expertise-point-list li {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 2em;
    border: 1.5px solid #fff8e1;
    padding: 0.6em 1.2em 0.6em 1em;
    font-size: clamp(1.3rem, 1.4rem + 3vw, 1.5rem);
    color: #806428;
    font-weight: 500;
    margin-bottom: 0.6em;
    box-shadow: 0 1px 6px #e6d9c433;
    gap: 0.5em;
}

.expertise-point-list li i {
  color: #cbb87b;
  font-size: 1.15em;
  margin-right: 0.3em;
}

/* navi  */
.case-navi {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 5.0rem 0 0rem 0;
  padding: 7rem 0 7rem 0;
  font-family: "Noto Sans JP", "游ゴシック体", YuGothic, "メイリオ", Meiryo, sans-serif;
}
.case-navi-btn {
  display: inline-block;
  min-width: 160px;
  padding: 0.8em 1.5em;
  margin: 0 8px;
  background: #fff;
  color: #6d5353;
  border: 1.8px solid #ceb87e;
  border-radius: 30px;
  font-size: clamp(1.35rem, 1.4rem + 0.2vw, 1.6rem);;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.18s cubic-bezier(.42,0,.58,1);
  box-shadow: 0 2px 8px #eecb2730;
  position: relative;
}
.case-navi-btn.center {
    background: #8062a7;
    color: #fff;
    border: none;
    box-shadow: 0 3px 12px #ceb87e2c;
}
.case-navi-btn:hover:not(.disabled) {
    background: #9261c1;
    color: #82644d;
    border-color: #a6905a;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 20px #ceb87e18;
    color: #fff;
}

.case-navi-btn.prev::before {
  content: '← ';
  color: #ceb87e;
  font-weight: bold;
}
.case-navi-btn.next::after {
  content: ' →';
  color: #ceb87e;
  font-weight: bold;
}
.case-navi-btn.disabled {
  opacity: 0.35;
  pointer-events: none;
  background: #f1ead7;
  color: #aaa;
  border-style: dashed;
}
@media (max-width: 600px) {
  .case-navi {
    flex-direction: column;
    gap: 15px;
    padding: 18px 0 12px 0;
  }
  .case-navi-btn {
    width: 100%;
    min-width: 0;
    font-size: 1em;
  }
}

/* === ビジュアルベネフィット：作業の流れ図解 === */
.case-benefit-flow {
}
.case-benefit_inner {
	position: relative;
    max-width: 1000px;
    margin: 4rem auto;
    padding: 5.5rem 1rem 2.5rem 1rem;
    background: #fcf8f1 ;
    border-radius: 12px;
  border: 2px solid #6a4c93 !important;
  box-shadow: 0 4px 16px rgba(106, 76, 147, 0.1) !important;
}
.benefit-flow-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start; /* ← ここを変更 */
  gap: 0.5rem;
}

.flow-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* ← 中央から上寄せに変更 */
  text-align: center;
  flex: 1 1 140px;
  min-width: 120px;
  max-width: 180px;
}

.flow-icon {
    font-size: clamp(1.6rem, 1.8rem + 2vw, 2.6rem);
    color: #3a0072;
    background: #f1ebf7;
    width: 50px;
    height: 50px;
    line-height: 70px;
    border-radius: 50%;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flow-label {
  font-size: clamp(1.35rem, 1.3rem + 1vw, 1.55rem);;
  color: #553c86;
  font-weight: 600;
  line-height: 1.4;
	padding: 0 0 2rem 0;
}
.flow-desc {
	font-size: clamp(1.2rem, 1.4rem + 2vw, 1.55rem);
	line-height: 1.4;
}
.flow-arrow {
font-size: clamp(1.2rem, 1.4rem + 2vw, 1.65rem);
    color: #b59f35;
    padding-top: 20px;
}








/* 4. Before/After ビジュアルエリア - 白背景 */








.beer-slider {
  border: 3px solid #6a4c93 !important;
  box-shadow: 0 4px 16px rgba(106, 76, 147, 0.15) !important;
}





/* 5. 作業フロー・安心ポイント - 白背景 */


.work_h2title {

}

.flow-icon {
  color: white !important;
  background: #6a4c93 !important;
  border: 2px solid #6a4c93 !important;
}

.flow-label {
  color: #6a4c93 !important;
}

.flow-arrow {
  color: #6a4c93 !important;
}

/* 6. 作業データテーブル - 白背景 */
.case-meta-section {
  border-top: 1px solid #e6d9ff !important;
  border-bottom: 1px solid #e6d9ff !important;
}


.case-meta th {
  background: #6a4c93 !important;
  color: white !important;
}

.case-meta th::after {
  border-left: 8px solid #6a4c93 !important;
}

.case-meta td {
  background: white !important;
  border-bottom: 1px solid #f8f6ff !important;
}

.case-meta i {
  color: #ffd700 !important;
}

/* 7. 専門性アピールエリア - 白背景 */


/* 8. 作業概要ハイライト - 白背景 */


/* 9. 記事本文エリア - 白背景 */


/* 10. ナビゲーション - 白背景 */
.case-navi {
  background: white !important;
  border-top: 2px solid #6a4c93 !important;
}

.case-navi-btn {
  background: white !important;
  border: 2px solid #6a4c93 !important;
  color: #6a4c93 !important;
  box-shadow: 0 2px 8px rgba(106, 76, 147, 0.1) !important;
}

.case-navi-btn.center {
  background: #6a4c93 !important;
  color: white !important;
  border: 2px solid #6a4c93 !important;
  box-shadow: 0 4px 12px rgba(106, 76, 147, 0.2) !important;
}

.case-navi-btn:hover:not(.disabled) {
  background: #6a4c93 !important;
  color: white !important;
  border-color: #6a4c93 !important;
  box-shadow: 0 6px 20px rgba(106, 76, 147, 0.2) !important;
}

.case-navi-btn.prev::before {
  color: #6a4c93 !important;
}

.case-navi-btn.next::after {
  color: #6a4c93 !important;
}

.case-navi-btn.disabled {
  background: #f8f8f8 !important;
  color: #ccc !important;
  border-color: #ddd !important;
}

/* 11. その他の細かい調整 */
.case-section-title {
  color: #6a4c93 !important;
}

.case-section-title::before {
  background-color: #6a4c93 !important;
}

.case-section-title .fa {
  color: #ffd700 !important;
}

.case-block-subtitle {
  color: #6a4c93 !important;
  border-bottom: 2px solid #6a4c93 !important;
}

.case-block {
  background: white !important;
  border: 1px solid #e6d9ff !important;
  box-shadow: 0 2px 8px rgba(106, 76, 147, 0.1) !important;
}

.case-pill-badge {
  background: white !important;
  border-bottom: 2px solid #6a4c93 !important;
  color: #6a4c93 !important;
}

.pill-icon {
  background: white !important;
  color: #6a4c93 !important;
  border: 2px solid #6a4c93 !important;
  box-shadow: 0 2px 8px rgba(106, 76, 147, 0.1) !important;
}



