/* 見出し */
.allon4-head {
    font-size: 2.8rem;
    text-align: center;
    margin: 30px 0 60px;
	line-height:1.2;
}
.allon4-head .sab {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.7rem;
  color: #666;
}
.allon4-head h2 span {
  color: #a68c5e;
  font-size: 3.5rem;
}
.allon4-head h2 span.underline {
	position: relative;
	display: inline-block;
	color:#111;
}
.allon4-head h2 span.underline::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0.05em;
	width: 100%;
	height: 0.4em;
	background-color: #fff2dc;
	z-index: -1;
	border-radius: 2px;
}
/* --------------------------------------------------

ALLON4とは

-------------------------------------------------- */
.all-on-4wrap {
  background: url(../images/allon4/allonsecbg.png) no-repeat top center / 100%;
    padding-top: max(5.714vw, 74px);
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 1400 / 1528;
}
.allon4-section {
  /* background: #fff; */
  /* padding: 60px 20px; */
  position: relative;
  /* overflow: hidden; */
}

.allon4-inner {
  max-width: 1400px;
  margin: 30px auto 0;
  position: relative;
}

.allon4-inner::before {
      left: 0;
    background: url(../images/allon4/allon4bg.png) left top no-repeat;
    background-size: 100% auto;
    content: "";
    width: max(14.286vw, 185px);
    height: max(14.571vw, 176px);
    position: absolute;
    top: 0;
    z-index: 0;
}

.allon4-box {
    padding: 20px 60px;
    /* background: #fdfbf7; */
        background-color: rgba(255, 255, 255, .9);
}

.title-box h3 {
  font-weight: bold;
  background: #b3a99b;
  color: #fff;
  padding: 8px 16px;
  display: inline-block;
  border-radius: 2px;
  margin-bottom: 30px;
  z-index: 1;
  width: 535px;
  text-align: left;
}

.allon4-box .title-box span{
  font-size: 1.8rem;
  margin-right: 8px;
}

.allon4-content {
  position: relative;
  display: flex;
  gap: 30px;
  align-items: center;
  padding: 25px 0;
}

.allon4-text {
  flex: 2;
  /* min-width: 300px; */
}

.allon4-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.allon4-image img {
    position: absolute;
    top: -98px;
    right: 35px;
    max-width: 100%;
    height: auto;
    width: 44%;
}

.lead {
  font-size: 1.5rem;
  color: #333;
  line-height: 1.8;
  margin-bottom: 60px;
}

.under-content {
  margin: 10px 0;
}
.desc {
  font-size: 16px;
  line-height: 1.8;
  /* background: #f8f8f8; */
  padding: 20px;
  border: 1px solid #d6b161;
}

.highlight-red {
  color: #b35858;
  font-weight: bold;
}

.highlight-underline {
  color: #4a82aa;
  font-weight: bold;
  border-bottom: 3px solid #bde6f3;
}

/* 左右逆 */
/* 既存の allon4-content に reverse対応 */
.allon4-content {
  position: relative;
  display: flex;
  gap: 30px;
  align-items: center;
}

/* 画像反転用 */
.allon4-box.reverse .allon4-content {
  flex-direction: row-reverse;
}


/* reverse時は左に固定 */
.allon4-box.reverse .allon4-image img {
  left: 25px;
  right: auto;
}
.allon4-section .allon4-inner:nth-of-type(2)::before {
  left: auto;
  right: 0;
  background: url(../images/allon4/allon4bg2.png) left top no-repeat;
  background-size: 100% auto;
  content: "";
  width: max(14.286vw, 185px);
  height: max(14.571vw, 176px);
  position: absolute;
  top: 0;
  z-index: 0;

}

.allon4-inner:nth-of-type(2) .allon4-text {
  flex: 1;
}

/* --------------------------------------------------

選ばれる理由

-------------------------------------------------- */
.allon4reason {

}
.successwrap {
  background: #f3f8f9;
  padding: 80px 2% 60px;
  position: relative;
}
.successwrap::before {
content: "";
    display: block;
    width: max(54.929vw, 714px);
    aspect-ratio: 769 / 806;
    background: url(../images/allon4/reasonbg.png) no-repeat center / 100%;
    mix-blend-mode: multiply;
    position: absolute;
    top: max(3.214vw, 42px);
    left: 0;
    pointer-events: none;
}
.successwrap::after {
  content: "";
  position: absolute;
  top: max(3.214vw, 42px);
  left: 0;
  width: max(54.929vw, 714px);
  aspect-ratio: 769 / 806;
  pointer-events: none;
  z-index: 2;

  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.2) 1px,
    transparent 1px,
    transparent 8px
  );
}

.successsec-head {
  text-align: center;
  margin-bottom: 50px;
}

.successsec-head .sec-number {
  position: absolute;
  top: -65px;
  left: 50%;
  display: block;
  font-size: 5rem;
  color: #87b9c7;
  font-weight: bold;
  margin-bottom: 10px;
}

.successsec-head h3 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.successsec-head h3 span {
  font-size: 3rem;
  color: #4da3b9;
}

.successsec-head .lead {
  font-size: 1rem;
  line-height: 1.8;
}

.successsec-head .em {
  color: #4da3b9;
  font-weight: bold;
}

.successsec-head .em-blue {
  color: #4da3b9;
}

.successsec-body {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
  background: #fff;
  padding: 20px 30px;
  background-image: repeating-linear-gradient(
    45deg,            /* ← 斜め方向（45度） */
    #f4f4f4,          /* ← 薄いライン色 */
    #f4f4f4 1px,      /* ← ライン幅 */
    #ffffff 1px,      /* ← ラインとラインの間 */
    #ffffff 4px       /* ← 繰り返し幅（細かさ） */
  );
}

.successsec-left {
  flex: 1 1 40%;
  text-align: center;
}

.successsec-left img {
  max-width: 100%;
  height: auto;
}

.successsec-right {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.device-block {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.device-block img {
  flex: 1;
  width: 100px;
  height: auto;
  flex-shrink: 0;
  z-index: 3;
}
.device-block .txt{
  flex: 2;
}
.device-block h4 {
  position: relative;
  padding: 12px 16px 12px 48px;
  font-size: 1.3rem;
  font-weight: 700;
  background: #f2f2f2;
  color: #8e6c2d;
  border-radius: 4px;
  margin-bottom: 1.5em;
  overflow: hidden;
}

.device-block h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 100%;
  background: linear-gradient(135deg, #c5a340, #bfa77a);
  transform: skewX(-20deg);
}


.device-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.device-block li {
  position: relative;
  padding-left: 1.8em;
  margin-bottom: 1em;
  font-size: 1rem;
  line-height: 1.7;
  border-left: 4px solid #d6b161;
  background: #f9f9f9;
  padding: 10px 16px 10px 1.8em;
  border-radius: 4px;
}

.device-block li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #d6b161;
  font-weight: bold;
  font-size: 1.2rem;
  margin: 0 0 0 8px;
}


.device-block h3 {
  font-size: 16px;
  margin-bottom: 5px;
  font-weight: bold;
}

.device-block p {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.read-more {
  text-align: right;
  margin-top: 40px;
}

.read-more a {
  font-size: 14px;
  color: #999;
  text-decoration: none;
}

.allon4reason > .successwrap:nth-of-type(2){
  margin-top: 10em;
  background: #fffbf3;
}
.allon4reason > .successwrap:nth-of-type(2)::before {
  background: url(../images/allon4/reasonbg2.png) no-repeat center / 100%;
}
.allon4reason > .successwrap:nth-of-type(2)::after {
}

.allon4reason > .successwrap:nth-of-type(2) .successsec-head .sec-number {
  color: #d6b161;
}
.allon4reason > .successwrap:nth-of-type(2) .successsec-head h3 span {
  color: #d6b161;
}
.allon4reason > .successwrap:nth-of-type(2) .device-block h4 {
  color: #4da3b9;
}
.allon4reason > .successwrap:nth-of-type(2) .device-block h4::before {
  background: linear-gradient(135deg, #4da3b9, #6888b0);
}
.allon4reason > .successwrap:nth-of-type(2) .device-block li {
  border-left: 4px solid #4da3b9;
}
.allon4reason > .successwrap:nth-of-type(2) .device-block li::before {
  color: #4da3b9;
}
.under_reason .lead {
  font-size: 1rem
}

/* 表デザイン */
.spcomparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background-color: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  margin-top: 20px;
  isolation: isolate;  /* ← これを追加 */
  z-index: 1;
  color: #475463;
}

.spcomparison-table th,
.spcomparison-table td {
  border: 1px solid #ddd;
  padding: 5px 9px;
  text-align: center;
  vertical-align: middle;
  background-color: #fff;
}

.spcomparison-table thead th {
  background-color: #f1f7fb;
  color: #2c3e50;
  font-weight: bold;
}

.spcomparison-table tbody td:first-child {
  background-color: #f8f8f8;
  font-weight: bold;
  text-align: left;
}

.spcomparison-table tr:nth-child(even) {
  background-color: #fcfcfc;
}
/* --------------------------------------------------

オールオン４を検討する前に知っておきたいこと

-------------------------------------------------- */
.allon4-section {
  background: #f3f3f3;
  padding: 60px 20px;
  font-family: 'Yu Gothic', sans-serif;
}

.allon4-container {
	max-width: 1400px;
	margin: 0 auto;
}

.allon4-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.allon4-left {
  flex: 1;
  min-width: 320px;
}

.allon4-right {
  flex: 1;
  min-width: 320px;
}

.allon4-image {
  width: 100%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.badge-circle {
    background-color: #365c88;
    color: #fff;
    /* text-align: center; */
    /* font-weight: bold; */
    font-size: 1.5rem;
    /* line-height: 1.3; */
    /* margin-bottom: 20px; */
    position: absolute;
    top: -45px;
    left: 38%;
    padding: 20px 70px;
}

.badge-en {
  font-size: 0.65rem;
  opacity: 0.8;
}

.sub-head {
  background-color: #b6ae91;
  display: inline-block;
  color: #fff;
  font-size: 0.9rem;
  padding: 6px 14px;
  margin-bottom: 14px;
}

.main-title {
  font-size: 1.7rem;
  font-weight: bold;
  line-height: 1.5;
  color: #2d2d2d;
  margin-bottom: 20px;
}

.lead-text {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #444;
  margin-bottom: 20px;
}

.benefit-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.benefit-list li {
  padding-left: 1.5em;
  position: relative;
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.benefit-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #365c88;
  font-size: 0.85rem;
}
.know-wrap .allon4-section:first-of-type {
	margin-top:120px;
}

.know-wrap > *:nth-of-type(3).mat100 {
	margin-top: 100px;
}
.know .center {
	text-align: center;
}
.risk-flex {
    display: flex;
}
.allon4-subblock {
	padding: 20px 15px;
	background: #fff;
	margin: 0 10px; 
}
h3.subblock-title {
    background: #6888b0;
    padding: 15px;
    margin: 10px 0;
    color: #fff;
}
/*---------------------------------------------------------------------

  理想(症例ブロック)
 
 ---------------------------------------------------------------------*/
span.color {
  font-size: 50px;
  background: linear-gradient(135deg, #dd91a5, #d57397, #cb4872);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
 .dreamsec {
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
  background-size: 12px 12px;
  background-color: #fff;   
}
.dreamsec {
     font-family: 'Noto Serif JP', serif；
}


 .rejuvenation-block {
  background: #f9f6f2;
  padding: 60px 20px;
  position: relative;
  max-width: 1400px;
  margin: 20px auto;
}

.rejuvenation-inner {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
  align-items: flex-start;
}


.rejuvenation-left {
  flex: 1 1 50%;
}

.rejuvenation-right {
  flex: 1 1 45%;
  margin: auto;
}

.rejuvenation-right img {
  width: 100%;
  border-radius: 4px;
}

.rejuvenation-number {
  font-size: 72px;
  font-weight: bold;
color: #b19768;
  line-height: 1;
  margin-bottom: 16px;
  font-family: 'Noto Serif JP', serif；
}

.rejuvenation-left h3 {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 16px;
}

.rejuvenation-left .accent {
  color: #b59b7d;
  font-weight: bold;
  font-size: 26px;
}

.rejuvenation-text {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 24px;
}

.rejuvenation-box {
  display: flex;
  gap: 20px;
  align-items: center;
  border-top: 3px solid #d2ba9f;
  padding-top: 20px;
}

.before-after-img img {
  width: 120px;
  height: auto;
}

.rejuvenation-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rejuvenation-list li {
  font-size: 16px;
  line-height: 2;
  color: #333;
}

.rejuvenation-list .check {
  color: #b59b7d;
  font-weight: bold;
  margin-right: 8px;
}

.caption {
  font-size: 12px;
  color: #666;
  text-align: right;
  max-width: 1200px;
  margin: 10px auto 0;
}

.readmore {
  text-align: right;
  font-size: 14px;
  margin-top: 8px;
  margin-right: 20px;
  color: #444;
}

.readmore span {
  font-size: 12px;
}
/* 色 */
.rejuvenation-block.pink01 {
  background: #fffdf0;
}
.pink01 .rejuvenation-number,
.pink01 .accent,
.pink01 .check {
	color: #b19768;
}
.pink01 .rejuvenation-box {
	border-top:3px solid #d6b161
}

.twentytwenty {
  width: 100%;
  max-width: 800px;
  margin: 40px auto;
}

.twentytwenty img {
  width: 100%;
  height: auto;
  display: block;
}
/* ----------------------------------------------------
タブレット（768px～1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
}
/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
  .rejuvenation-block.pink02 .rejuvenation-inner {
    flex-direction: column-reverse;
  }

  .rejuvenation-block.pink02 .rejuvenation-right {
    width: 100%;
    display: block;
  }

  .rejuvenation-block.pink02 .twentytwenty {
    min-height: 200px; /* 必要に応じて調整 */
  }
  span.color {
  font-size: 40px;
  }
}
/* -------------------支払方法------------------- */
.paymentsec {
  background: linear-gradient(to bottom, #ffffff, #faf8f5);
    /* padding: 80px 0; */
    box-sizing: border-box;
/*     margin-top: max(7.64svw, 99.36px); */
    margin-bottom: max(4.29svw, 55.71px);
    /* padding-top: max(35.71svw, 464.29px); */
    padding-bottom: max(3.21svw, 41.79px);
    background-image: url(../images/paybg.png);
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}
.payttl {
  font-size: max(2.274vw, 37px);
  color: #69492a;
  line-height: 1.4;
  margin-bottom: 15px;
  text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.6);
  position: relative;
  text-align: center;
  margin: 30px 0;
}
.payttl .mini {
  font-size: 25px;
}

.payout {
  background: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  padding: 40px;
  max-width: 1300px;
  margin: 20px auto;
}

.paytxtbox {
  flex: 1 1 55%;
  padding: 20px 30px;
}

/* .paymark {
  display: flex;
  flex-direction: column;
  align-items: center;
} */

.paymark span {
  background: linear-gradient(transparent 70%, #bfa25024 70%);
  padding-bottom: 5px;
  font-weight: bold;
  font-size: 20px;
}

.marker {
  margin-bottom: 16px;
  line-height: 1.6;
  position: relative;
  font-size: 20px;
  padding-left: 30px;
}

.marker::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 2px;
  color: #938068;
  font-size: 18px;
}

.payp {
  padding-top: 20px;
  line-height: 1.8;
  font-size: 16px;
  color: #333;
}

.payimg {
  flex: 1 1 40%;
  padding: 20px;
  text-align: center;
}

/* 流れる画像 */
.payimg img {
  max-width: 80%;
    height: auto;
    border-radius: 8px;
    margin: 0 auto;
}
.flowing-images {
  overflow: hidden;
  width: 100%;
  background: #fff; /* 背景色はお好みで */
  padding: 30px 0;
  margin-top: -30px;
}

.flow-track {
  display: flex;
  width: calc(200%); /* 2倍に伸ばすことでループ */
  animation: scroll-left 30s linear infinite;
}

.flow-track img {
  width: 200px;
  height: auto;
  object-fit: contain;
  margin-right: 30px;
}

/* アニメーション設定 */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* シミュレーション */
.payment-simulation {
  text-align: center;
  padding: 60px 20px;
  font-family: 'Noto Serif JP', serif;
}

.payment-title {
  font-size: 30px;
  color: #333;
  margin-bottom: 30px;
  position: relative;
}

.payment-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: #aaa;
  margin: 10px auto 0;
}

/* 料金表 */

.payment-box-wrapper {
  /* display: flex; */
  justify-content: center;
  gap: 40px;
  margin: 40px auto;
  max-width: 1300px;
}

.payment-box {
  background: #fff;
  width: 100%;
  border: 1px solid #eee;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
  padding: 20px;
	width: 50%;
	margin: 0 auto;
}

.payment-header {
	font-family: 'Noto Serif JP', serif;
  background: #E0D2AA;
  padding: 10px;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #5b4633;
}

.paymentflex {
/*   display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 30px; */
	display:flex;
}
.paymentflex img {
	flex:2;
	width: 45%;
}
.paymentflex .paymenttxt {
	flex:3;
}

.payment-image {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}

.paymenttxt  {
  margin: auto;
}

.payment-desc {
  font-size: 14px;
  margin: 10px 0 5px;
  color: #555;
}

.payment-amount {
	font-size: 20px;
	color: #000;
	margin-bottom: 20px;
}

.payment-amount span {
  font-size: 36px;
  color: #c02828;
  font-weight: bold;
  margin: 0 5px;
}

.payment-total {
  font-size: 14px;
  border-top: 1px solid #ccc;
  padding-top: 15px;
  color: #333;
}

.payment-note {
  font-size: 15px;
  color: #4f4e4e;
  margin: 30px 0;
  line-height: 1.5;
}

.payment-button a {
  display: inline-block;
  background: #333;
  color: #fff;
  padding: 12px 36px;
  font-size: 18px;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s;
}

.payment-button a:hover {
  background: #888;
}
.price-table-wrapper {
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  margin-bottom: 30px;
}

.price-table thead th {
  background-color: #f5e8cc;
  color: #6b562d;
  padding: 12px 15px;
  text-align: left;
  border: 1px solid #decba6;
  font-weight: bold;
  width: 30%;
}

.price-table tbody td {
  padding: 12px 15px;
  border: 1px solid #decba6;
  background-color: #fff;
  vertical-align: top;
}

.price-table tbody tr:nth-child(even) td {
  background-color: #fdf9f2;
}

.price-notes {
  background: #f9f2e8;
  border: 1px solid #decba6;
  padding: 20px;
  font-size: 14px;
  margin-top: 20px;
  color: #6b562d;
}

.price-notes ul {
  padding-left: 20px;
  margin: 0;
}

.price-notes li {
  margin-bottom: 8px;
}
/* -------------------選ばれる理由------------------- */
.card-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  padding: 30px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.card {
  display: flex;
  align-items: flex-start;
  margin-bottom: 60px;
  padding: 30px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.card img {
/*   width: 100px; */
	margin-right: 20px;
	flex-shrink: 0;
	width: 35%;
}

/* .card-content {
	flex: 3;
}
 */
.card-title {
  background: #c7c191;
  color: white;
  display: inline-block;
  padding: 5px 10px;
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 1.5rem;
  font-family: 'Noto Serif JP', serif;
}

.card-title.bk02 {
  background: #d3c2a3;
}

.card-title.bk03 {
  background: #c5b37c;
}

.read-more {
  text-align: right;
  font-size: 14px;
  margin-top: 10px;
  color: #333;
}
.background-section {
  position: relative;
  background: #fff;
  z-index: 0;
  padding: 100px 0;
  overflow: hidden;
}

/* 下半分の背景に格子模様を表示 */
.background-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%; /* 下半分のみ表示 */
  background-image:
    linear-gradient(to right, #cfd8dc 1px, transparent 1px),
    linear-gradient(to bottom, #cfd8dc 1px, transparent 1px);
  background-size: 8px 8px;
  z-index: -1;
}
/* -------------------流れ------------------- */
.allon4-flow > .under_box5_wrap > .under_box5_inner {
	background: #fff;
}
.allon4-flow > .under_box5_wrap {
	margin-bottom: max(4.643vw, 60px);
    padding: max(2.857vw, 37px) 0 max(0.714vw, 9px);
    background-image: url(../images/allon4/flowbg.png);
    background-size: cover;
    aspect-ratio: 1400 / 1338;
}
section.allon4-flow {
    padding: 0;
}
/*-------------------------------------- 症例ブロック --------------------------------------*/
.case-slider {
  background-image: url("../images/casebg.jpg"); 
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  /* background-attachment: fixed; */
  position: relative;
  padding: 60px 0;
  margin: 0 auto;
}
.case-slider::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: #e9e7dec4;
  z-index: 1;
}
.case-slider > * {
  position: relative;
  z-index: 2;
}

.case-inner {
  gap: 40px;
  max-width: 1300px;
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}
/* 見出し */
.case-header {
  text-align: center;
  padding: 60px 20px;
  font-family: 'Noto Serif JP', serif;
  color: #5b4633;
}

.case-main {
  font-size: max(3.274vw, 42px);
  line-height: 1.2;
  font-weight: 400;
}

.case-main .gold {
  font-size: 2.5rem;
  letter-spacing: 0.03em;
}


.case-main .highlight-line {
  display: inline-block;
  position: relative;
  font-size: 3.5rem;
  margin-top: 10px;
  background: linear-gradient(135deg, #9b7530, #cbb471, #977c4c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

/* カルーセルブロック */
.case-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.case-carousel::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -30px;
  right: -30px;
  bottom: -20px;
  /* background: rgba(255, 255, 255, 0.8);  */
  border-radius: 16px;
	z-index: -1;
}

.case-carousel-track {
  display: flex;
  transition: transform 0.7s ease-out;
  width: 100%;
}

.case-carousel-slide {
  display: flex;
  flex-direction: column;
  gap: 30px;
  min-width: 100%;
  box-sizing: border-box;
}

.case-slide {
  display: flex;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
	margin: 20px;
}

.case-image-area {
  width: 40%;
  position: relative;
  overflow: hidden;
  padding: 15px;
}

.case-image-area img {
  width: 100%;
  height: 100%;
  display: block;
}

.case-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 10px 15px;
  font-size: 14px;
}

.case-tag {
  font-size: 14px;
  margin-bottom: 4px;
  color: #fff;
}

.case-cta {
  font-size: 12px;
  opacity: 0.8;
  color: #fff;
}

.case-info {
  width: 100%;
  padding: 15px;
}

.case-bfafp {
  max-width: 873px;
  margin: 0 auto;
  padding: 12px;
}
p.case-heading {
  background: #977c4ca6;
  color: #fff;
  padding: 5px;
  margin: 5px 0;
}

.case-text {
  background: #f9f5ef;
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  margin-bottom: 12px;
  padding: 5px;
}

.case-before-after {
  display: flex;
  justify-content: center;
  /* gap: 10px; */
  max-width: 873px;
  margin: 0 auto;
}
.arrow-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #977c4c;
  padding: 0 5px;
  font-weight: bold;
}
.case-before-after p {
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  /* color: #fff; */
  background-color: #E1D6AB;
  padding: 4px 10px;
  display: inline-block;
  margin: 0 auto 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.beforediv,
.afterdiv {
  position: relative;
}
p.before,
p.after {
  position: absolute;
  top: 0;
}

.case-before-after img {
  border-radius: 4px;
  max-width: 100%;
  margin: 0 auto;
}

/* ナビ */
.case-carousel-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
	padding: 0;
  box-sizing: border-box;
  pointer-events: none;
}

.case-carousel-nav button {
  background: #938068a1;
  color: #fff;
  border: none;
  font-size: 29px;
	padding: 10px;
  border-radius: 41px;
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.3s ease, transform 0.3s ease;
  line-height: 1;
}

.case-carousel-nav button:hover {
  background: #c9995c85;
  transform: scale(1.1);
}

.case-carousel-nav .dott {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  pointer-events: auto;
}

.dott span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 6px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.dott span.active {
  background: #977c4c;
  transform: scale(1.2);
}
.carousel-dots-wrapper {
  text-align: center;
  margin-top: 20px;
}

.casebutton {
  margin: 20px 0;
}
.casebtn {
    text-align: center;
}
/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media (max-width: 768px) {
  .case-inner {
    flex-direction: column;
    padding: 0 15px;
    gap: 30px;
  }

  .case-title-area,
  .case-carousel {
    width: 100%;
  }

  .case-carousel-slide {
    gap: 0;
  }

  .case-slide {
    padding: 12px;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: #fff;
  }

  .case-image-area {
    width: 40%;
    padding: 10px;
  }

  .case-image-area img {
    width: 100%;
    height: 100px;
    object-fit: cover;
  }

  .case-overlay {
    font-size: 12px;
    padding: 6px 10px;
  }

  .case-info {
    padding: 10px;
  }

  .case-heading {
    font-size: 15px;
    margin-bottom: 5px;
  }

  .case-text {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 8px;
  }

  .case-before-after {
    gap: 6px;
    flex-direction: row;
  }

  .case-before-after img {
    width: 100%;
    object-fit: cover;
    border-radius: 4px;
  }

  .case-before-after p {
    font-size: 10px;
    margin-bottom: 3px;
  }

  .case-carousel-nav {
    top: auto;
    bottom: 45%;
    transform: translateY(50%);
    padding: 0 10px;
  }

  .carousel-dots-wrapper {
    margin-top: 12px;
  }
}

/*------------------------------------- 症例ここまで --------------------------------------*/
/* TOP症例数/月々～ */
.allon4-top-text-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 28px 0 40px;
  flex-wrap: wrap;
}

.allon4-top-text-badges__item {
  min-width: 260px;
  padding: 16px 22px;
  background: #fff;
  border: 1px solid #d8c7aa;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.allon4-top-text-badges__label {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  background: #8c6b3c;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.4;
  letter-spacing: 0.08em;
  font-family: 'Noto Serif JP', serif;
}

.allon4-top-text-badges__text {
  margin: 0;
  color: #2f2f2f;
  font-size: 1.9rem;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.allon4-top-text-badges__num {
  display: inline-block;
  margin: 0 0.08em;
  font-size: 3.2rem;
  line-height: 1;
  font-weight: 800;
  color: #9a7437;
}

.allon4-top-text-badges__unit,
.allon4-top-text-badges__yen {
  display: inline-block;
  margin-left: 0.08em;
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 700;
  color: #9a7437;
}


/* おすすめ箇条書き */
.allon4-recommend {
  padding: 80px 20px;
}

.allon4-recommend__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.allon4-recommend__ttl {
  margin: 0 0 16px;
  font-size: 3.2rem;
  line-height: 1.5;
  font-weight: 500;
  text-align: center;
  color: #3b342c;
}

.allon4-recommend__lead {
  margin: 0 0 34px;
  font-size: 1.8rem;
  line-height: 1.8;
  text-align: center;
  color: #6e6254;
}

.allon4-recommend__box {
  max-width: 1200px;
  margin: 0 auto;
  padding: 34px 48px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #ece3d7;
  box-shadow: 0 10px 30px rgba(60, 43, 18, 0.06);
}

.allon4-recommend__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.allon4-recommend__item {
  position: relative;
  margin: 0;
  padding: 0 0 0 42px;
  font-size: 2rem;
  line-height: 1.9;
  color: #5b5248;
  letter-spacing: 0.04em;
}

.allon4-recommend__item + .allon4-recommend__item {
  margin-top: 12px;
}

.allon4-recommend__item::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 18px;
  height: 18px;
  border: 1px solid #ccb184;
  box-sizing: border-box;
  transform: translateY(-50%);
  background: #fff;
}

.allon4-recommend__item::after {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 5px;
  width: 8px;
  height: 4px;
  border-left: 2px solid #c98d2f;
  border-bottom: 2px solid #c98d2f;
  transform: translateY(-70%) rotate(-45deg);
}

/* 表 */
.a4spec-compare {
  margin: 56px 0;
  padding: 0;
}

.a4spec-compare__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.a4spec-compare__inner {
  min-width: 1040px;
  padding: 0;
}

.a4spec-compare__head,
.a4spec-compare__row {
  display: grid;
  grid-template-columns: 84px repeat(3, 1fr);
}

.a4spec-compare__head {
  margin-bottom: 10px;
  align-items: end;
}

.a4spec-compare__head-space {
  min-height: 1px;
}

.a4spec-compare__head-col {
  position: relative;
  padding-bottom: 36px;
}

.a4spec-compare__head-col::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 36px;
  background: #bdb6ae;
  transform: translateX(-50%);
}

.a4spec-compare__head-card {
  width: 200px;
  margin: 0 auto;
  padding: 18px 16px 14px;
  text-align: center;
  background: #e8e1da;
  box-sizing: border-box;
}

.a4spec-compare__head-card--implant {
  background: #fff;
  border: 1px solid #9d9d9d;
}

.a4spec-compare__head-card--allon4,
.a4spec-compare__head-card--zygoma {
  border: 1px solid transparent;
}

.a4spec-compare__head-img {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.a4spec-compare__head-img img {
  max-width: 100%;
  max-height: 110px;
  width: auto;
  height: auto;
  display: block;
}

.a4spec-compare__head-name {
  margin: 12px 0 0;
  color: #7a5635;
  font-size: 1.5rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.a4spec-compare__row + .a4spec-compare__row {
  margin-top: 10px;
}

.a4spec-compare__label {
  background: #a88460;
  color: #fff;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  box-sizing: border-box;
}

.a4spec-compare__label-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.a4spec-compare__label-icon svg {
  width: 28px;
  height: 28px;
  display: block;
  fill: currentColor;
}

.a4spec-compare__label-icon--yen {
  font-size: 3.1rem;
  line-height: 1;
  font-weight: 700;
  font-family: Arial, sans-serif;
}

.a4spec-compare__label-text {
  font-size: 1.5rem;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  font-family: 'Noto Serif JP', serif;
}

.a4spec-compare__cell {
  background: #fff;
  border: 1px solid #cfc6bc;
  min-height: 92px;
  padding: 22px 20px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.a4spec-compare__cell p {
  margin: 0;
  color: #57493d;
  font-size: 1.2rem;
  line-height: 1.95;
  letter-spacing: 0.04em;
}

.a4spec-compare__accent {
  color: #d69a2d;
  font-weight: 700;
}

@media screen and (max-width: 767px) {
  .a4spec-compare {
    margin: 40px 0;
  }

  .a4spec-compare__inner {
    min-width: 960px;
    padding-bottom: 6px;
  }

  .a4spec-compare__head-col {
    padding-bottom: 28px;
  }

  .a4spec-compare__head-col::after {
    height: 28px;
  }

  .a4spec-compare__head-card {
    width: 150px;
    padding: 14px 12px 12px;
  }

  .a4spec-compare__head-img {
    height: 96px;
  }

  .a4spec-compare__head-img img {
    max-height: 88px;
  }

  .a4spec-compare__head-name {
    margin-top: 10px;
    font-size: 1.3rem;
  }

  .a4spec-compare__label {
    min-height: 84px;
    padding: 10px 6px;
  }

  .a4spec-compare__label-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 6px;
  }

  .a4spec-compare__label-icon svg {
    width: 24px;
    height: 24px;
  }

  .a4spec-compare__label-icon--yen {
    font-size: 2.6rem;
  }

  .a4spec-compare__label-text {
    font-size: 1.3rem;
  }

  .a4spec-compare__cell {
    min-height: 84px;
    padding: 16px 14px;
  }

  .a4spec-compare__cell p {
    font-size: 1.5rem;
    line-height: 1.85;
  }
}

/* CTA */
.bls-reserve {
  padding: 90px 20px 60px;
  background: #f3f1eb;
  overflow: hidden;
}

.bls-reserve,
.bls-reserve * {
  box-sizing: border-box;
}

.bls-reserve__inner {
  max-width: 1320px;
  margin: 0 auto;
}

.bls-reserve__title {
  position: relative;
  margin: 0 0 44px;
  padding-top: 30px;
  text-align: center;
  color: #7b552f;
  font-family: "Shippori Mincho", serif;
  font-size: 3.8rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.06em;
}

.bls-reserve__title::before,
.bls-reserve__title::after {
  content: none !important;
  display: none !important;
}

.bls-reserve__title-sub {
  display: block;
  color: #b89a72;
}

.bls-reserve__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.bls-reserve__grid::before,
.bls-reserve__grid::after,
.bls-reserve__item::before,
.bls-reserve__item::after,
.bls-reserve__link::before,
.bls-reserve__link::after,
.bls-reserve__card::before,
.bls-reserve__card::after {
  content: none !important;
  display: none !important;
}

.bls-reserve__item {
  min-width: 0;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.bls-reserve__link {
  all: unset;
  display: block;
  width: 100%;
  cursor: pointer;
  text-decoration: none !important;
  color: inherit !important;
}

.bls-reserve__card {
  min-height: 210px;
  padding: 34px 24px 28px;
  border: 1px solid #ddb463;
  background: #f9f8f5;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bls-reserve__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(90, 67, 38, 0.08);
}

.bls-reserve__card--web {
  background: #f5edd0;
}

.bls-reserve__card--line {
  background: #f7f3e8;
}

.bls-reserve__icon {
  margin-bottom: 18px;
  color: #c8902b;
  font-size: 3.4rem;
  line-height: 1;
}

.bls-reserve__icon--line {
  color: #11b900;
}

.bls-reserve__label {
  margin-bottom: 12px;
  color: #7b552f;
  font-family: "Shippori Mincho", serif;
  font-size: 2rem;
  line-height: 1.55;
  letter-spacing: 0.04em;
}

.bls-reserve__text {
  color: #c8902b;
  font-family: "Shippori Mincho", serif;
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.03em;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.bls-reserve__text--line {
  color: #11b900;
}

.bls-reserve-banner {
  margin-top: 24px;
  text-align: center;
}

.bls-reserve-banner::before,
.bls-reserve-banner::after,
.bls-reserve-banner__link::before,
.bls-reserve-banner__link::after {
  content: none !important;
  display: none !important;
}

.bls-reserve-banner__link {
  all: unset;
  display: inline-block;
  cursor: pointer;
}

.bls-reserve-banner img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media screen and (max-width: 900px) {
  .bls-reserve {
    padding: 56px 16px 40px;
  }

  .bls-reserve__title {
    margin-bottom: 28px;
    padding-top: 18px;
    font-size: 3rem;
    line-height: 1.45;
  }

  .bls-reserve__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .bls-reserve__card {
    min-height: auto;
    padding: 24px 16px 22px;
  }

  .bls-reserve__icon {
    margin-bottom: 12px;
    font-size: 2.8rem;
  }

  .bls-reserve__label {
    margin-bottom: 8px;
    font-size: 1.8rem;
  }

  .bls-reserve__text {
    font-size: 1.9rem;
  }

  .bls-reserve-banner {
    margin-top: 16px;
  }
}

.sp_only {
  display: none;
}

.pc_only {
  display: block;
}
