/* ----------------------------------------------------------------------
 reset css
---------------------------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video
 { margin:0; padding:0; border:0; outline:0; font-size:100%; vertical-align:baseline; }

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display:block; }
html { overflow-y: scroll; -webkit-text-size-adjust:100%; }
ul, ol { list-style:none; }
blockquote , q { quotes:none; }
blockquote:before, blockquote:after, q:before, q:after { content:''; content: none; }
a:focus { outline:none; }
ins { text-decoration:none; }
mark { font-style:italic; font-weight:bold; }
del { text-decoration:line-through; }
abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; }
table { border-collapse:collapse; border-spacing:0; width:100%; }
hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }
button, input, select, textarea { outline:0; -webkit-box-sizing:border-box; box-sizing:border-box; font-size:100%; }
input, textarea { background-image: -webkit-linear-gradient(hsla(0,0%,100%,0), hsla(0,0%,100%,0)); -webkit-appearance: none; border-radius:0; /* Removing the inner shadow, rounded corners on iOS inputs */ }
input[type="checkbox"]{ -webkit-appearance: checkbox; }
input[type="radio"]{ -webkit-appearance: radio; }
button::-moz-focus-inner, input::-moz-focus-inner { border:0; padding:0; }
iframe { max-width:100%; }

/* clearfix */
.clearfix:after { content: "."; display:block; clear:both; height:0; font-size:0.1em; line-height:0; visibility:hidden; overflow:hidden; }
.clearfix { display:inline-block; }
/* exlude MacIE5 \*/
* html .clearfix { height:1% }
.clearfix { display:block;}
/* end MacIE5 */


/* ------------------------------------------------------------------------------------
 基本
------------------------------------------------------------------------------------ */
body {
    font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, "メイリオ", Meiryo, sans-serif;
    margin: 0;
    padding: 0;
		background: #f4f4f4;
    background: linear-gradient(135deg, #fefefe 0%, #e9f4ff 50%, #fefefe 100%);
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    font-size: 14px;
}

@media (max-width: 768px) {
  body {
    font-size: 12px; /* スマホ用に少し小さくする */
  }
}

.content-wrapper{
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.2), 10px 0 10px rgba(0, 0, 0, 0.2);
}

section {
	width: 100%;
	margin: 0 auto;
}

.inner {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  background: #fff;
  box-sizing: border-box;
  padding: 10px 10px;
}


img {
  display: block;
  vertical-align: bottom;
  margin: 0;
  padding: 0;
  width: 100%;
}

a img {
    border: none;
    vertical-align: middle;
    width: 100%;
}

picture img {
  width: 100%;
  height: auto;
	display: block;
  pointer-events: none;
}

video {
	width: 100%;
	height: auto;
	display: block;
}

h1, h2, h3, h4, h5, h6 {
  position: relative;
  vertical-align: middle;
  font-weight: 500;
  letter-spacing: .05em;
  line-height: 1.6;
  color: var(--clr-main)
}

/* text and headline */
p{ line-height:2.0; margin:1em 0 1em 0;}/*p { line-height:2.4; margin:0 0 2em 0; }*/
h1, h2, h3, h4, h5, h6 { clear:both; line-height:1.4;  margin:0 0 10px 0; padding:10px 0 0 0; }
h1 { font-size:150%; }
h2 { font-size:140%; }
h3 { font-size:130%; }
h4 { font-size:120%; }
h5 { font-size:110%; }
h6 { font-size:100%; }

a:focus{outline:none;}
a img{
	border:none;
	vertical-align:middle;
        width: 100%;
}
textarea{overflow:auto;}
label{cursor:pointer;}

a{
	text-decoration:none;
}
ul,ol{
	list-style-type:none;
}

p {
  -webkit-font-feature-settings: "palt";
  font-feature-settings: "palt";
  line-height: 1.7;
  vertical-align: middle;
	word-break: break-all;
	overflow-wrap: break-word;
}

p.left, span.left {
  text-align: left !important;
}

p.right {
  text-align: right !important;
}

p.center, span.center, td.center{
  text-align: center !important;
}

p.small, span.small{
  line-height: 1.8;
  text-align: left;
  font-size: 0.75rem;
}

p.large{
  line-height: 1.8;
  text-align: left;
  font-size: 1.2rem;
}

p.blue, span.blue{
	color: #2c74dd;
	font-weight: bold;
}

p.red, span.red{
	color: #f03748;
	font-weight: bold;
}

span.large{
  font-size: 1.2rem;
  margin-bottom: 1em;
  margin-top: 0em;
}

span.line {
	background: linear-gradient(transparent 50%, rgba(255, 88, 88, 0.24) 50%);
  display: inline;
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition:background-size 1.5s;
  font-weight: bold;
}

span.line.on {
  /* 横方向を100%にして、マーカーを引く */
  background-size: 100% 100%;
}


ul li {
    /* list-style: none; */
}

.absolute {
    position: absolute;
}

.relative {
    position: relative;
}

.flex {
    display: flex;
}

.jost{
	font-family: 'Jost';
}



/* ------------------------------------------------------------------------------------
 section見出しとリード文
------------------------------------------------------------------------------------ */

.section-heading {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: left;
  margin: 2rem 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid #2589d0/*#d3a53a*/; /* 強調の下線 */
  color: #333;
  line-height: 1.4;
}

@media screen and (max-width: 767px) {
  .section-heading {
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem;
  }
}

.intro {
  line-height: 1.8;
  /* margin-bottom: 2rem; */
}

.title-bracket{font-size:26px;text-align:center;margin:1.3em auto 1.3em;}
.title-bracket_inner{padding:.4em 2em .3em;position:relative;display:inline-block;}
.title-bracket_inner::before,.title-bracket_inner::after{content:"";position:absolute;display:block;width:8px;height:100%;border:1px solid #333;}
.title-bracket_inner::before{border-right:none;top:0;left:0;}
.title-bracket_inner::after{border-left:none;top:0;right:0;}


.subtitle {
  position: relative;
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  padding-left: 14px;
  margin: 2rem 0 1rem;
}

.subtitle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background-color: #2589d0/*#d3a53a*/;
  border-radius: 4px; /* ← ここで丸みを調整 */
}

.image-label-wrapper {
  position: relative; /* ラベルの絶対位置基準 */
  display: inline-block; /* 必要に応じて調整 */
}

.image-label-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

.special-label {
  position: absolute;
  top: 0px;       /* 上からの距離 */
  left: 0px;      /* 左からの距離 */
  background-color: #ff6b6b;
  color: #FFF;
  padding: .5em 1em .5em 1em;
  z-index: 2;           /* 画像より前面に表示 */
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin: 0px auto;
  min-width: 100px;
  text-align: center;

}


/* ------------------------------------------------------------------------------------
表の基本
------------------------------------------------------------------------------------ */
/* 教育コンテンツ内の表デザイン */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #f3f6f9; /* info-listと同じ背景色 */
  border: 1px solid rgba(15,23,42,0.06);
  /* box-shadow: 0 2px 8px rgba(15,23,42,0.03); */
  /* border-radius: 8px; */
  overflow: hidden;
  margin-bottom: 1.5rem;
}

/* ヘッダー */
.info-table thead th {
  /* background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%); */
  color: #222;
  text-align: left;
  font-weight: 600;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(15,23,42,0.1); /* ← 実線に変更 */
}

/* 本文 */
.info-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px dashed rgba(15,23,42,0.06);
  color: #333;
}

/* 最後の行の下線を消す */
.info-table tbody tr:last-child td {
  border-bottom: none;
}


/* ------------------------------------------------------------------------------------
ボックスデザイン
------------------------------------------------------------------------------------ */
/* 質問リストのボックスデザイン */
.info-list {
  background-color: #f3f6f9; /* 薄いグレー（ボックス背景） */
  border: 1px solid rgba(15,23,42,0.06);
  /* border-radius: 8px; */
  padding: 10px 16px;
  margin: 0 0 1.25rem 0;
  list-style: none;
  box-shadow: 0 2px 8px rgba(15,23,42,0.03);
}

/* 各項目 */
.info-list li {
  display: flex;
  align-items: center; /* ←中央揃えに変更 */
  gap: 12px;
  padding: 10px 0;
  /* font-size: 1rem; */
  line-height: 1.6;
  color: #222;
  border-bottom: 1px dashed rgba(15,23,42,0.06);
  position: relative;
}

/* 最後の行の下線を消す */
.info-list li:last-child {
  border-bottom: none;
  padding-bottom: 10px;
}

/* 左のカスタムマーカー（丸＋チェック） */
.info-list li::before {
  content: "\f00c"; /* FontAwesome チェック */
  font-family: "Font Awesome 6 Free";
  font-weight: 900; /* solidアイコン */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  border: 2px solid #d3a53a;
  color: #d3a53a;
  font-size: 0.75rem;
  line-height: 1;
  flex-shrink: 0;
  margin-right: 12px;
}


.well1 {
    margin-bottom: 1em;
    padding: 1.1em 2em;
    /* border: 1px solid #ddd; */
    background: #ffe9d0 !important;
}

.well2 {
    margin-bottom: 1em;
    padding: 1.1em 2em;
    /* border: 1px solid #ddd; */
    background: #f7f7f7 !important;
}

.info-box {
  border: 1px solid rgba(15,23,42,0.06); /* シンプルな枠線 */
  /* border-radius: 8px;          /* 角丸 */ */
  padding: 16px;               /* 内側の余白 */
  margin: 20px 0;              /* 上下の余白 */
  background-color: #f3f6f9;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03); /* ほんのり浮かせる */
  padding: 10px;
}

.info-box ul {
  list-style-type: disc;       /* 黒丸の箇条書き */
  padding-left: 20px;          /* 左側のインデント */
  margin: 0;
}

.info-box li {
  margin: 5px;          /* 各項目の間隔 */
  line-height: 1.5;            /* 行間 */
  color: #222;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  /* font-size: 1rem; */
  line-height: 1.6;
  color: #222;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.06);
  position: relative;
}

.info-box li:last-child {
    border-bottom: none;
    padding-bottom: 10px;
}

/* ------------------------------------------------------------------------------------
教育コンテンツ後のエリア
------------------------------------------------------------------------------------ */
/* 教育コンテンツ後のエリア */
.content-end {
  text-align: center;
  padding: 1rem 0;
}

/* 下方向への誘導 */
.scroll-down {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #222;
  font-size: 0.95rem;
  animation: fadeIn 1.2s ease-in-out both;
}

.scroll-down p {
  margin: 0;
  color: #444;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* 矢印本体 */
.scroll-down .arrow {
  width: 14px;
  height: 14px;
  border-left: 2px solid #d3a53a;
  border-bottom: 2px solid #d3a53a;
  transform: rotate(-45deg);
  animation: arrowBounce 1.5s infinite;
}

/* 矢印の上下アニメーション（名称変更） */
@keyframes arrowBounce {
  0%, 100% {
    transform: translateY(0) rotate(-45deg);
  }
  50% {
    transform: translateY(8px) rotate(-45deg);
  }
}


/* フェードイン */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ------------------------------------------------------------------------------------
監修者情報
------------------------------------------------------------------------------------ */
.supervisor-section {
  background-color: #f9f9f9;
  padding: 2rem 1rem;
  color: #333;
}

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

.supervisor-item {
  display: flex;
  gap: 16px;
  margin-bottom: 1.5rem;
  border: 1px solid #dcdcdc;
  /* border-radius: 8px; */
  padding: 16px;
  background-color: #fff;
  cursor: pointer;
  align-items: flex-start;
  margin: 0 auto;
}

.supervisor-img {
  position: relative;
  text-align: center;
}

.supervisor-img img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

/* 画像下に小さく「監修者」を表示 */
.supervisor-label {
  font-size: 0.7rem;      /* 小さい文字 */
  color: #555;            /* グレー系 */
  margin-top: 10px;        /* 画像との間隔 */
}

.supervisor-info {
  flex: 1;
}

.supervisor-field {
  font-size: 0.9rem;
  color: #666;
  margin: 0 auto;
}

.supervisor-name {
  font-size: 1.1rem;
  font-weight: bold;
  text-transform: uppercase;
  margin: 0 0 6px 0;
}

.supervisor-bio {
  /* font-size: 0.9rem; */
  /* line-height: 1.5; */
  margin: 0;
  /* max-height: 3em; */
  overflow: hidden;
}

.hidden-text {
  display: none;
}

.more-text {
  color: #d3a53a;
  font-weight: bold;
  cursor: pointer;
}

/* 展開時 */
.supervisor-bio.expanded .hidden-text {
  display: inline;
}

.supervisor-bio.expanded .more-text {
  display: none;
}


/* ------------------------------------------------------------------------------------
ボタン
------------------------------------------------------------------------------------ */

.button-group {
  display: flex;
  gap: 10px; /* ボタン間のスペース */
  justify-content: center; /* 中央揃え */
  margin: 1rem 0 1.5rem;
}

.button-group .btn {
  flex: 1; /* 横幅を均等に */
  text-align: center; /* 文字中央揃え */
  padding: 0.8em 1.1em;
  background-color: #d3a53a;
  color: #fff;
  text-decoration: none;
  /* border-radius: 8px; */
  font-weight: bold;
  transition: 0.3s;
}

.button-group .btn:hover {
  background-color: #b78c2e;
}

/* 2番目のボタンだけ色を反転 */
.button-group .btn:nth-child(2) {
  background-color: #fff;
  color: #d3a53a;
  border: 1px solid #d3a53a;
}

/* ホバー時の反転ボタン */
.button-group .btn:nth-child(2):hover {
  background-color: #d3a53a;
  color: #fff;
  border: none;
}

/* スマホ表示で縦並びにしたい場合 */
@media screen and (max-width: 600px) {
  .button-group {
    /* flex-direction: column; */
    /* gap: 12px; */
  }
}

/* ------------------------------------------------------------------------------------
クリニックカード
------------------------------------------------------------------------------------ */


/* カード */
.clinic-card {
  background: #fafafa;
  border: 1px solid #eee;
  padding: 5px 28px 5px 5px;
  display: flex;
  align-items: center; /* 縦中央揃え */
  gap: 12px;
  position: relative;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
  transition: transform .18s ease, box-shadow .18s ease;
  cursor: pointer;
  /* margin: 0 10px; */
}
.clinic-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

/* サムネイル */
.clinic-thumb {
  flex: 0 0 130px;
  width: 130px;
  height: 130px;
  overflow: hidden;
  background: #eee;
}
.clinic-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 本文 */
.clinic-body {
  flex: 1;
  /* display: flex; */
  flex-direction: column;
  justify-content: center;
}
.clinic-name {
  font-weight: 700;
  margin: 0 0 6px 0;
  color: #222;
  font-size: 15px;
}
.clinic-quote {
  margin: 0;
  color: #444;
  /* font-size: 14px; */
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 4.8em;
}

/* 矢印アイコン */
.clinic-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 18px;
  pointer-events: none; /* アイコン部分もクリックできるように */
}
.clinic-card:hover .clinic-arrow {
  color: #1a5087;
}



/* ------------------------------------------------------------------------------------
レビュー
------------------------------------------------------------------------------------ */

.review-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  /* border-radius: 8px; */
  padding: 16px 20px;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
  transition: transform .18s ease, box-shadow .18s ease;
  cursor: pointer;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}


.review-header {
  display: flex;
  align-items: anchor-center;
  gap: 16px;
  margin: 10px auto;
}

.review-thumb {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.review-meta {
  flex: 1;
}

.review-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.review-name {
  font-weight: 700;
  font-size: 15px;
  color: #202124;
}

.review-date {
  font-size: 13px;
  color: #777;
}

.review-title {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin: 0 0 6px 0;
  line-height: 1.4;
}

.review-text {
  /* font-size: 14px; */
  color: #444;
  line-height: 1.6;
  margin: 8px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* ← 3行省略 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 続きを読むのデザイン */
.readmore-wrap {
  text-align: right; /* ← 右寄せ */
  margin-top: 6px;
}
.readmore {
  display: inline-block;
  font-size: 14px;
  color: #d3a53a;
  text-decoration: none;
}
.readmore i {
  margin-left: 4px;
  transition: transform 0.3s ease;
}
.readmore.open i {
  transform: rotate(180deg);
}
/* ------------------------------------------------------------------------------------
ファーストビュー
------------------------------------------------------------------------------------ */
.fv .relative {
  position: relative;
}

.fv .recommend {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 90%; /* 横幅を調整（まとめ画像に対して少し小さめ） */
}

.fv .recommend-1 { top: 20%; }
.fv .recommend-2 { top: 45%; }
.fv .recommend-3 { top: 70%; }

.cta_button_fv {
  width: 100%;
  height: auto;
  display: block;
}

.fv-note{
  position: absolute;
  top: 0;
  right: 0;
  background-color: rgba(243, 246, 249, 0.8);
  padding: 2px 8px;
  font-size: 0.65rem;
  width: min-content;
  letter-spacing: 1.2px;
}

/* ------------------------------------------------------------------------------------
おすすめ
------------------------------------------------------------------------------------ */
/* ラベルデザイン */

.recommend{
  /* padding: 10px; */
}
.recommend-label {
  display: inline-block;
  position: relative;
  padding: .5em 1.4em .5em 1em;
  background-color: #ff6b6b;
  color: #FFF;
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin: 5px auto;
}

/* タイトル */
.recommend-title {
  font-weight: bold;
  text-align: left;
}

/* サブタイトル */
.sub-title {
  margin: 0.1rem auto;
  color: #555;
}

/* 画像 */
.recommend-image {
  width: 100%;
  height: auto;
  margin: 16px 0;
  border-radius: 8px;
}

/* テキスト */
.recommend-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444;
}
/* ------------------------------------------------------------------------------------
比較表
------------------------------------------------------------------------------------ */

.clinic-compare {
  /* background: #edf2f9; */
  margin: 0 0 3rem;
}
.clinic-compare .note {
  font-size: 0.65rem;
  color: #666;
  margin-bottom: 1rem;
  text-align: right;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  /* margin: 0 0 3rem; */
}

.compare-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 900px; /* 横スクロール発動 */
  /* font-size: 0.9rem; */
  text-align: center;
  margin-top: 10px;
}

.compare-table th,
.compare-table td {
  border: 1px solid #ddd;
  padding: 0.6rem;
  /* white-space: nowrap; */
  text-align: left;
  vertical-align: top; /* 通常のセルは中央揃え */
  position: relative;
}

/* 上部ヘッダー固定 */
.compare-table thead th {
  background: #2589d0;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 3;
  min-width: 150px;
}

/* 左列固定（tbody & thead 両方） */
.compare-table th:first-child {
  position: sticky;
  left: 0;
  z-index: 100; /* ヘッダーより上に出す */
  background: #f4f4f4;
  text-align: left;
}

/* ヘッダー1列目は色を統一 */
.compare-table thead th:first-child {
  background: #2589d0;
  color: #fff;
  z-index: 100;
}


/* 2列目以降の固定幅 */
.compare-table th:not(:first-child),
.compare-table td:not(:first-child) {
  width: 150px;   /* ← 固定幅 */
  min-width: 150px;
  max-width: 150px;
}



/* セル内の画像だけ上書き */
.compare-table img {
  vertical-align: middle; /* ← 通常は baseline なので middle に変更 */
  display: block;          /* ← 画像をブロック要素化してズレ防止 */
  margin: 0 auto;          /* ← 中央寄せしたい場合 */
}

.compare-table .recommend-score__value {
    font-size: small;
}

.compare-table .recommend-score__stars {
    --star-size: small;
}

.compare-table .button-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 0 auto;
}


.education {

  background: #fafafa;
}

.education .inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.education-title {
  /* font-size: 1.8rem; */
  margin-bottom: 20px;
  text-align: left;
  font-weight: bold;
  color: #333;
}

.education-lead {
  line-height: 1.8;
  color: #555;
  margin-bottom: 30px;
  text-align: left;
}

.education-image-wrap {
  margin-bottom: 30px;
}

.education-image {
  width: 100%;
  height: auto;
  display: block;
  /* padding: 10px; */
  /* border-radius: 12px; */
  /* box-shadow: 0 4px 15px rgba(0,0,0,0.1); */
  margin: 0 auto;
}

.education-btn {
  display: inline-block;
  padding: 12px 30px;
  background: #0078d7;
  color: #fff;
  border-radius: 30px;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.3s ease;
}

.education-btn:hover {
  background: #005bb5;
}

.education-extra {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.education-extra.active {
  max-height: 2000px; /* 展開時の最大高さを十分に大きくしておく */
}


/* ------------------------------------------------------------------------------------
 募集記事
------------------------------------------------------------------------------------ */


.job-inner{
  margin: 0 auto;
  padding: 2.46vw 2.66vw 2.46vw;
  width: 100%;
  max-width: 1200px;
  position: relative;
  z-index: 2;
}

.job{
  background: #f6f8f9;
}


/* 全体カード */
.job-card {
  max-width: 1200px;
  background: #fff;
  /* border-radius: 12px; */
  /* box-shadow: 0 4px 12px rgba(0,0,0,0.1); */
  color: #333;
  position: relative;
  transition: 0.2s ease-in-out;
  margin: 0 0 25px;
}


.job-card-inner{
  padding: 10px;
  box-shadow:   0 4px 8px rgba(0, 0, 0, 0.15),0 8px 24px rgba(0, 0, 0, 0.2);
  margin-top: 2rem;
}

/* ヘッダー部分 */
.job-header {
  border-bottom: 2px solid #eee;
  padding-bottom: 1rem;
}
.job-card h3 {
  font-weight: bold;
  text-align: left;
  margin: 1rem 0 0.1rem;
}

.job-section h2 {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  text-align: left;
}


.job-company {
  /* font-size: 0.9rem; */
  margin: 0.1rem auto;
}

/* サマリー */
.job-summary {
  list-style: none;
  padding: 0;
  margin: 0.5rem auto;
  font-size: 1.1em;
  display: flex;
  flex-direction: column
}

.job-summary-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.job-summary-label {
  font-weight: bold;
  color: #0073aa;
  min-width: 8em;   /* ラベル部分の幅 */
  display: flex;
  align-items: center;
  gap: 0.4em;       /* アイコンと文字の間隔 */
}

.job-summary-label i {
  color: #0073aa;   /* アイコンの色（ラベルと合わせる） */
}

.job-summary-text {
  margin-left: 0.5rem;
  color: #0073aa;
  font-size: 0.75rem;
}


/* タグ */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.tags li {
  background: #f0f4f8;
  color: #0073aa;
  font-size: 0.75rem;
  padding: 4px 8px 3px;
  border-radius: 2px;
}


/* 各セクション */
.job-section {
  margin: 1rem 0;
  /* padding: 40px 50px; */
  /* border-radius: 4px; */
  background: #fff;
  /* -webkit-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02), 0 2px 4px 0 rgba(0, 0, 0, 0.2); */
  /* box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02), 0 2px 4px 0 rgba(0, 0, 0, 0.2); */
}
.job-section-title {
  color: #0267AD;
  font-size: 1.8rem;
  font-weight: bold;
  text-align: left;
}
.job-text {
  /* font-size: 14px; */
  margin-top: 15px;
  font-weight: 500;
}

/* 地図 */
.job-map {
  margin-top: 1rem;
}
.job-map img {
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid #ddd;
}

@media screen and (min-width: 960px) {
  .job-text {
    font-size: 16px;
    margin-top: 15px;
    font-weight: 500;
  }
}

.job-section strong {
    color: #333;
}

/* ヘッダー用スライダー */
.job-header-slider {
  width: 100%;
  margin: 0 auto;
}

.job-header-slider .swiper-slide img {
  width: 100%;
  height: 300px;      /* 高さ固定 */
  object-fit: cover;  /* 画像を枠に合わせて切り取り */
  display: block;
}

/* スライダーのナビ・ページネーション */
.swiper-button-next, .swiper-button-prev {
  color: #fff;
}
.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.7;
}
.swiper-pagination-bullet-active {
  opacity: 1;
}








.career-detail-data th {
  width: 25%;
  text-align: left; /* 必要に応じて */
  vertical-align: top; /* 行の上揃え */
}

.career-detail-data td {
  width: 75%;
  text-align: left;
}

.job_cb_button {
    text-align: center;
    margin-top: 50px;
}

.job_cb_button a:hover {
    background: #f45963;
    color: #fff;
}

.job_cb_button a {
    display: inline-block;
    min-width: 240px;
    height: 60px;
    line-height: 60px;
    padding: 0 20px;
    background: #222222;
    color: #fff;
    font-size: 16px;
    margin-top: 12px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}






/* ========================
   モーダル全体
   ======================== */
.gallery-modal {
    display: none; /* 初期は非表示 */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(252,250,244,0.95);
    justify-content: center;
    align-items: center;
    overflow: auto;
}

/* ========================
   モーダル中央配置用のビューポート
   ======================== */
.modal-viewport {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ========================
   モーダルコンテンツ（画像＋キャプション）
   ======================== */
.modal-gallery-content {
    position: relative;
    display: inline-block;
    max-width: 60%;
}

/* ========================
   閉じるボタン
   ======================== */
.modal-close {
    position: absolute;
    top: 8px;
    right: 8px;
    color: #333;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 10002;
}

/* ========================
   画像ラッパー（矢印も含む）
   ======================== */
.modal-image-wrapper {
    position: relative;
    display: inline-block; /* 画像の幅にフィット */
}

/* モーダル画像 */
.modal-image-wrapper .modal-image {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ========================
   左右矢印（画像縦中央に配置）
   ======================== */
.modal-image-wrapper .prev,
.modal-image-wrapper .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: #333;
    cursor: pointer;
    user-select: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;
}

/* 画像の外側に配置 */
.modal-image-wrapper .prev { left: -60px; }
.modal-image-wrapper .next { right: -60px; }

/* ========================
   キャプション（画像下に配置）
   ======================== */
.modal-caption {
    text-align: left;
    color: #333;
    font-size: 16px;
    width: 100%;
    max-width: 75%;
    margin-top: 10px;
}

/* ========================
   ギャラリー全体
   ======================== */
.job-gallery .gallery-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
    justify-content: flex-start; /* 左寄せ */
}

.job-gallery .gallery-item {
    flex: 0 0 calc(33.333% - 16px); /* 常に3分割幅 */
    box-sizing: border-box;
    overflow: hidden;
    cursor: pointer;
}

.job-gallery .gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================
   スマホ対応
   ======================== */
@media screen and (max-width: 960px) {
    .job-gallery .gallery-item { flex: 1 1 100%; }
    .modal-gallery-content { max-width: 75%; }
    .modal-image-wrapper .prev { left: -40px; }
    .modal-image-wrapper .next { right: -40px; }
    .modal-image-wrapper .prev,
    .modal-image-wrapper .next {
        width: 40px;
        height: 40px;
        font-size: 32px;
    }
}



/* 一覧ページ用ラッパー */
.job-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PCで3列固定 */
  gap: 24px;
  justify-content: start; /* 左寄せ */
  margin: 40px 0;
}

/* カード本体 */
.job-card-list {
  background: #fff;
  border: 1px solid #eee;
  /* border-radius: 12px; */
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.job-card-list:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

/* 見出し */
.job-card-list .job-title {
  font-size: 20px;
  margin-bottom: 6px;
  color: #333;
  text-align: left;
}
.job-card-list .job-company {
  font-size: 14px;
  color: #777;
  margin-bottom: 12px;
}

/* サマリーリスト */
.job-card-list .job-summary {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
}
.job-card-list .job-summary-item {
  font-size: 14px;
  color: #555;
  margin-bottom: 6px;
}
.job-card-list .job-summary-label {
  font-weight: bold;
  margin-right: 6px;
}




/* --- レスポンシブ対応 --- */
@media (max-width: 768px) {
  .job-list {
    grid-template-columns: 1fr; /* スマホでは1列 */
  }
}
/* 記事一覧セクション */
.job-list-section {
  background-color: #f9f9f9; /* 薄いグレー */
  padding: 40px 20px;       /* 上下左右に余白 */
}


/* --- ジョブ検索フォーム全体 --- */
.job-search-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  /* background-color: #f9f9f9; */
  padding: 10px 0; /* 上下だけ少し余白 */
}

/* --- ラベル --- */
.job-search-form label {
  font-weight: 600;
  margin-right: 5px;
  color: #333;
  min-width: 80px;
}

/* --- セレクトボックス --- */
.job-search-form select {
  padding: 10px 12px;
  border: 1px solid #ccc;
  background-color: #fff;
  font-size: 16px;
  flex: 1; /* 横幅を可能な限り広くする */
  border-radius: 0; /* 角丸なし */
  height: 44px; /* ボタンと同じ高さに固定 */
  box-sizing: border-box;
}


/* フォーカス時 */
.job-search-form select:focus {
  border-color: #0073e6;
  outline: none;
}

/* --- 検索ボタン --- */
.job-search-form button[type="submit"] {
  padding: 0 20px; /* 横パディングのみ */
  width: 100px;
  background-color: #0073aa;
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: 0;
  height: 44px; /* セレクトボックスと同じ高さ */
  line-height: 44px; /* テキスト縦中央揃え */
  transition: background-color 0.3s;
}

.job-search-form button[type="submit"]:hover {
  background-color: #005bb5;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 600px) {
  .job-search-form {
    flex-direction: column;
    align-items: stretch;
  }

  .job-search-form label {
    min-width: auto;
    margin-bottom: 5px;
  }

  .job-search-form select,
  .job-search-form button[type="submit"] {
    width: 100%;
  }
}










/* 職場の声セクション */
.job-voices-section {
  padding: 0px 0;
  background: #fff;
}
.job-voices-section .title-bracket { margin-bottom: 24px; }

/* グリッド（常に1カラム） */
.voices-grid {
  display: grid;
  grid-template-columns: 1fr; /* ✅ PCもスマホも1カラム */
  gap: 20px;
  align-items: start;
}

/* カード */
.voice-card {
  background: #fafafa;
  border: 1px solid #eee;
  padding: 16px;
  display: flex;
  gap: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
  transition: transform .18s ease, box-shadow .18s ease;
  cursor: pointer;
}
.voice-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

/* サムネイル */
.voice-thumb {
  flex: 0 0 100px;
  width: 100px;
  height: 100px;
  overflow: hidden;
  background: #eee;
}
.voice-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 本文 */
.voice-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.voice-name {
  font-weight: 700;
  margin: 0 0 6px 0;
  color: #222;
  font-size: 15px;
}
.voice-role {
  font-weight: 400;
  font-size: 13px;
  color: #777;
  margin-left: 8px;
}
.voice-quote {
  margin: 0;
  color: #444;
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 4.8em;
}

/* CTA */
.voices-cta {
  margin-top: 18px;
  text-align: center;
}
.voices-cta .btn {
  display: inline-block;
  background: #333;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}
.voices-cta .btn:hover { opacity: .95; }

/* モーダル */
.voice-modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}
/* モーダル共通 */
.voice-modal-content {
  background: #fff;
  padding: 38px;
  max-width: 480px; /* PC時の最大幅 */
  width: 90%;       /* PC時のデフォルト */
  overflow-y: auto;
  position: relative;
  box-sizing: border-box; /* ← 追加！ */
}

/* モバイル（横幅が小さい時） */
@media screen and (max-width: 767px) {
  .voice-modal-content {
    max-width: 90%;   /* モバイルも常に90%幅に */
    width: 90%;
    height: auto;     /* 高さは自動 */
  }
}


.voice-modal-close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 24px;
  cursor: pointer;
}
/* モーダル内のテキストは全文表示 */
#voiceModalText {
  white-space: normal;
  overflow: visible;
  text-overflow: initial;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
  max-height: none;
  line-height: 1.8;
  font-size: 15px;
  color: #222;
}


.job-info{
  margin: 1rem 0;
}

.job-info-data {
    width: 100%;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 2px;
    background: #fff;
}

.job-info-data th {
    color: #fff;
    font-weight: 500;
    background: #2589d0;
    width: 260px;
    padding: 10px 10px 10px;
    text-align: left;
    box-sizing: border-box;
    border: none;
    width: 30%;
}

.job-info-data td {
    /* font-size: 14px; */
    font-weight: 500;
    background: #F4F4F4;
    text-align: left;
    line-height: 1.5;
    letter-spacing: .03em;
    padding: 10px 20px 10px;
    border: none;
    }

.well2{
  /* font-size: 16px; */

}

.related-link a {
  color: #e1306c; /* Instagramっぽいピンク色 */
  text-decoration: none; /* 下線を消す */
  font-weight: bold; /* 太字にする */
}

.related-link a:hover {
  color: #c13584; /* ホバー時に色を少し濃くする */
  text-decoration: underline; /* ホバー時に下線を表示 */
}

.voice-note {
  margin-top: 1.5em;  /* 上に余白 */
  margin-bottom: 1.5em; /* 下に余白 */
  text-align: left;    /* 左寄せ（必要に応じて調整） */
}

.voice-note .small {
  font-size: 0.85em;
  color: #666; /* グレーで控えめに */
}


.clinic-list {
  display: grid;
  gap: 12px;
  max-width: 800px;
  margin: 1rem auto;
  /* padding: 0 16px; */
}

/* 1行 = エリア＋拠点 */
.clinic-row {
  display: grid;
  grid-template-columns: 50px 1fr; /* 左列固定、右列伸びる */
  gap: 16px;
  align-items: center;
}

/* エリア名 */
.clinic-area {
  font-weight: 700;
  color: #333;
  font-size: 0.95rem;
}

/* 拠点名群 */
.clinic-branches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px; /* 行・列のギャップ */
}

/* 拠点リンク */
.clinic-link {
  display: inline-block;
  padding: 6px 12px;
  background: #f8f8f8;
  /* border-radius: 6px; */
  text-decoration: none;
  color: #222;
  font-size: 0.92rem;
  transition: background .12s ease, transform .08s ease;
}
.clinic-link:hover,
.clinic-link:focus {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
  outline: none;
}

/* --- スマホ対応 --- */
@media (max-width: 720px) {
  .clinic-row {
    grid-template-columns: 1fr; /* 縦並びに */
  }

  .clinic-area {
    margin-bottom: 6px;
  }

  .clinic-branches {
    flex-direction: column; /* 拠点も縦に並ぶ */
    gap: 6px;
  }

  .clinic-link {
    width: 100%;
    text-align: center;
    padding: 10px 0;
    /* font-size: 0.95rem; */
  }
  .clinic-row {
    gap: 0px;
    margin-top: 10px;
  }
}


/* ------------------------------------------------------------------------------------
ka-do
------------------------------------------------------------------------------------ */

#card {
    display: grid;
    gap: 20px;
    margin-bottom: 1em;
    grid-template-columns: 1fr;
}

#card .review-comments__item {
    position: relative;
    width: 100%;
    margin: 0 0 25px;
    border-radius: 2px;
    background: #fff;
    box-shadow: 0px 3px 16px #DCDCDC;
    transition: 0.2s ease-in-out;
    overflow: hidden;
    border: none;
    padding: 0;
}

#card .review-comments__item-link {
    display: block;
    color: #555;
    text-decoration: none;
    cursor: pointer;
}

#card .review-comments__item-thumbnail {
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
    height: auto;
}

#card .review-comments__item-thumbnail img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 2px 2px 0 0;
}

#card .review-comments__item-title {
    margin: 8px 13px 0;
    font-size: 17px;
}

.clinic-info-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    /* border-top: 1px solid #ddd; */
    /* border-bottom: 1px solid #ddd; */
    background-color: #fff;
}

.clinic-category {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    flex-grow: 1;
}

.category-label {
    display: inline-block;
    padding: 5px 10px;
    background-color: #f5f5f5;
    color: #555;
    border-radius: 4px;
    margin-right: 5px;
    font-size: 14px;
}

.favorite-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.save-button {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.fv__save {
    border: 1px solid #e8e3e6;
    border-radius: 50%;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.04);
    width: 40px;
    height: 40px;
    min-width: 40px;
}
.save-button {
    cursor: pointer;
    transition: fill 0.3s ease;
    align-items: center;
    cursor: pointer;
    display: flex;
    justify-content: center;
}

#card .review-comments__item-meta {
    padding: 10px;
    margin: 0 auto;
    padding: 10px;
    margin: 0 auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

#card .review-comments__item-desc {
    margin: calc(15px - 0.6em) 0;
    padding: 10px;
    background: #f8f8f8;
    width: 100%;
}

.clinic-tags {
    margin: 1em 0;
    font-size: 1em;
    line-height: 1.6;
}

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

.clinic-tag-list li {
    display: inline-block;
    margin: 0.3em 0.1em;
    padding: 0.3em 0.6em;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9em;
    color: #555;
}

.review-comments__product-info {
    width: 100%;
    margin: 10px 0;
}

.small-list__item_line {
    border-bottom: 1px solid #e8e3e6;
    /* padding-bottom: 8px; */
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.small-list__icon {
    display: flex;
    align-items: center;
}

.small-list__title {
    font-size: 14px;
    flex-grow: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 230px;
}

.small-list__price {
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    text-align: right;
    flex-grow: 1;
    justify-content: flex-end;
    min-width: 80px;
}

.small-list__price_suffix {
    display: inline-block;
    min-width: 1.5ch;
    text-align: right;
}

.clinic_info-more {
    /* padding: 0 10px; */
}

#card .review-comments__item-link {
    display: block;
    color: #555;
    text-decoration: none;
    cursor: pointer;
}

a.cta-clinic-button,
button.cta-clinic-button {
  display: block;
  box-sizing: border-box;
  width: 100%;          /* 必要なら幅を固定 */
  min-width: 300px;
  height: 42px;
  padding: 0 15px;
  font-size: 14px;
  font-weight: bold;
  line-height: 42px;
  text-align: center;
  text-decoration: none;

  /* border-radius: 4px; */

  margin: 10px auto;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

button.cta-clinic-button {
  border: 1px solid #d3a53a; /* buttonデフォルトを上書き */
  background: #fff;
  padding: 0;               /* デフォルト余白を消す */
  font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, "メイリオ", Meiryo, sans-serif;
}

.cta-clinic-button--sub {
  color: #d3a53a;
  border: 1px solid #d3a53a;
  background-color: #fff;
}

.cta-clinic-button--sub:hover {
  background-color: #d3a53a;
  color: #fff;
}

.cta-clinic-button--main {
  color: #fff;
  background-color: #d3a53a;
  border: 1px solid #d3a53a;
}

.cta-clinic-button--main:hover {
  background-color: #b78a2e; /* 少し濃いゴールドに */
  border-color: #b78a2e;
}







.hidden {
  display: none;
}

.hidden.is-open {
  display: block;
}

/* ------------------------------------------------------------------------------------
ランキング
------------------------------------------------------------------------------------ */
    .review-comments__item {
        font-size: 14px;
        color: #999;
        margin: 0px 0 0 0px;
    }

    .p-ranking__headline{font-size:20px;text-align:center;line-height:1.4;padding:calc(20px - 0.2em);background:#F1F1F1;position:relative;z-index:2;}

    .p-ranking-label {
        display: block;
        overflow: hidden;
        height: 45px;
        position: relative;
        font-weight: 600;
        font-size: 16px;
        width: 40px;
        margin-right: 10px;
    }

    .p-ranking-label__number {
        width: 100%;
        height: 35px;
        position: relative;
        z-index: 1;
        color: #000;
        background: #eee;
        padding-top: 3px;
        font-family: 'Arial';
    }
    .p-ranking-label:before, .p-ranking-label:after {
        content: '';
        position: absolute;
        width: 23px;
        height: 23px;
        background: #eee;
        bottom: 4px;
    }
    .p-ranking-label:before {
        transform: rotate(160deg);
        left: -5px;
    }
    .p-ranking-label:after {
        transform: rotate(-160deg);
        right: -5px;
    }
    .p-ranking-label--1:before, .p-ranking-label--1:after, .p-ranking-label--1 .p-ranking-label__number {
        color: #fff;
        background: var(--tcd-review-ranking1-color, #b28c08);
    }
    .p-ranking-label--2:before, .p-ranking-label--2:after, .p-ranking-label--2 .p-ranking-label__number {
        color: #fff;
        background: var(--tcd-review-ranking2-color, #8f9396);
    }
    .p-ranking-label--3:before, .p-ranking-label--3:after, .p-ranking-label--3 .p-ranking-label__number {
        color: #fff;
        background: var(--tcd-review-ranking3-color, #7a4905);
    }

    .p-ranking__item-label {
        margin-bottom: 0px;
        position: absolute;
        top: -10px;
        z-index: 25;
        left: 10px;
    }
    .p-ranking__item .p-ranking__item-label {
        margin-bottom: 0px;
        position: absolute;
        top: -10px;
        z-index: 25;
    }


    .u-flex-wrap {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .u-flex-center {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    .u-flex-align-center {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }







/* ------------------------------------------------------------------------------------
ラベル
------------------------------------------------------------------------------------ */

p.spcial-label{
    /* display: none; */
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 3;
    background: #C1A889;
    color: #fff;
    min-width: 110px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    font-size: 0.8rem;
    padding: 0 15px;
    /* -webkit-box-sizing: border-box; */
    box-sizing: border-box;
    letter-spacing: 3px;
}

p.spcial-label{
  margin: 0 auto;
}

/* ------------------------------------------------------------------------------------
 見出し強調
------------------------------------------------------------------------------------ */

.heading-27 {
    display: flex;
    align-items: center;
    column-gap: 8px;
    color: #333333;
    font-weight: bold;
}

.heading-27::before {
  content: "\f00c"; /* Font Awesome のチェックアイコン */
  font-family: "Font Awesome 6 Free"; /* Free版の solid アイコン */
  font-weight: 900; /* solid アイコン指定 */
  display: inline-block;
  color: #2589d0; /* 好きな色に変更可 */
  font-size: 1.2rem; /* 大きさ調整 */
  margin-right: 8px; /* 見出しとの間隔 */
  vertical-align: middle; /* 文字と縦位置揃え */
}




/* ------------------------------------------------------------------------------------
 吹き出し
------------------------------------------------------------------------------------ */

.talk-block{
  margin: 20px auto;
  align-items: center; /* 画像と吹き出しの縦中央揃え */
  gap: 10px; /* 画像と吹き出しの間隔 */
}

.speech {
  margin: 10px auto;
}

.profile-image {
    margin-right: 20px;
		/* margin-top: auto; */
}

.profile-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
		border: 1px solid #ccc; /* ここで枠線を追加 */
}

/* 基本のスタイル */
.speech {
    position: relative;
    background-color: #fbe4e4; /* お好みの色に変更してください */
    padding: 0 24px;
    border-radius: 30px;
    max-width: 300px;
    margin-bottom: 20px;
    transform: translateX(-100%); /* 初期状態は画面外に配置 */
    opacity: 0; /* 初期状態は透明 */
    transition: transform 0.5s ease-out, opacity 0.5s ease-out; /* アニメーションのトランジション */
}

/* アニメーション後のスタイル */
.speech.animate {
    transform: translateX(0); /* スライドインして画面内に配置 */
    opacity: 1; /* 透明度を戻す */
}

/* ------------------------------------------------------------------------------------
 下方向へ促す3点
------------------------------------------------------------------------------------ */

.section-ranking{
  background: #fff;
}

/* ------------------------------------------------------------------------------------
 吹き出し見出し
------------------------------------------------------------------------------------ */

/* ------------------------------------------------------------------------------------
 下方向へ促すアニメーション
------------------------------------------------------------------------------------ */

/* ------------------------------------------------------------------------------------
 設問title
------------------------------------------------------------------------------------ */
.ttl {
    font-size: 1.7rem;
    text-align: center;
    font-weight: bold;
    margin-bottom: 5px;
    position: relative;
    letter-spacing: .05em;
    padding: 4rem 0 1em;
    line-height: 1.4;
    opacity: 0; /* 初期状態で非表示 */
    transition: opacity 1s ease-in-out; /* アニメーションの追加 */
}

.ttl::before {
    content: attr(data-eng);
    position: absolute;
    top: -25px; /* 調整可能 */
    left: 50%;
    transform: translateX(-50%);
    font-size: 6rem;
    font-family: 'Jost';
    font-weight: 300;
    line-height: 1;
    text-align: center;
    letter-spacing: 0.5em;
    opacity: 0; /* 初期状態で非表示 */
    transition: letter-spacing 1s ease-in-out, opacity 1s ease-in-out; /* アニメーションの追加 */
}

.ttl.show {
    opacity: 1; /* 表示 */
}

.ttl.show::before {
    letter-spacing: normal;
    opacity: 0.1;
}


/* アニメーション */
@keyframes reveal {
    from {
        letter-spacing: 0.5em;
        opacity: 0;
    }
    to {
        letter-spacing: normal;
        opacity: 0.5;
    }
}


/* スマホサイズのスタイル調整 */
@media screen and (max-width: 500px) {
    .ttl {
        font-size: 1.2rem; /* フォントサイズを小さく */
        padding: 2rem 0 1em; /* パディングを調整 */
    }

    .ttl::before {
        font-size: 6rem; /* フォントサイズを小さく */
        top: -15px; /* 位置調整 */
        letter-spacing: normal; /* スペースを通常に */
        word-wrap: break-word; /* 文字が長すぎた場合に改行 */
    }
}

/* ------------------------------------------------------------------------------------
 フッター
------------------------------------------------------------------------------------ */
footer {
  position: relative;
  bottom: 0;
  left: 0;
  right: 0;
  background: #111;
  height: auto;
  width: 100vw;
	max-width: 500px;
  padding-top: 20px;
  color: #fff;
	margin: 0 auto;
	z-index: 9999;
}
footer a {
    text-decoration: underline;
		color: #77b2f6;
    font-size: 14px;
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
	position: relative;
	margin-bottom: 20px;
}

.footer-content h3 {
  font-size: 2.1rem;
  font-weight: 500;
  text-transform: capitalize;
  line-height: 3rem;
}

.footer-content p {
  max-width: 500px;
  margin: 10px auto;
  line-height: 28px;
  font-size: 14px;
  color: #cacdd2;
}

.footer-bottom {
  background-color: #000;
  padding: 20px 0;
  position: relative;
	font-size: 12px;

}
.footer-bottom p {
  color: #fff;
  font-size: 16px;
  text-align: center;
}
.footer-bottom small {
  color: #fff;
  display: block;
  text-align: center;
}


.txt-box {
    margin: 0 auto;
    padding: 1em 0em 1em;
}

/* ------------------------------------------------------------------------------------
 クリニック開閉案内
------------------------------------------------------------------------------------ */
.clinic {
  width: 100%;
  margin: 0 auto;
}

#clinic h2 {
    font-size: 1.5em;
		text-align: center;
    font-weight: bold;
		padding-top: 38px;
}

.clinic h3 {
  position: relative;
  margin: 0 auto;
  font-size: 1.2em;
  text-align: left;
  color: white;
  background: #333;
  padding: 1.5em 3rem;
  border-bottom: 1px solid white; /* 白色の下線を追加 */
}

.clinic h3 .access-info {
	display: block;
  font-size: 0.63em;
  color: #fff;
  font-weight: lighter;
	line-height: 1.93
}

.clinic > h3.active::after {
  content: "";
  background: url(../img/minus-solid.svg) center / contain no-repeat !important;
  position: absolute;
  width: 1em;
  height: 50%;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

.clinic > h3::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  display: flex;
  background: url(../img/plus-solid.svg) center / contain no-repeat;
  width: 1em;
  height: 50%;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

.clinic-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
}

.clinic-a.open {
  max-height: 1000px; /* 大きな値に設定してコンテンツを表示 */
  margin: 1rem 0;
}

.map {
    width: 100%;
    box-sizing: border-box; /* パディングやボーダーを含めた幅の計算 */
}
.map iframe {
    width: 100%;
    border: 0;
}

@media screen and (max-width: 500px) {
  .clinic {
      width: 100%; /* 画面の幅全体にする */
      margin-left: calc(-50vw + 50%); /* 中央揃えのための調整 */
  }

  .clinic h3 {
      width: 100%;
      padding: 1.0em 1rem; /* 左右の余白を減らす */
      box-sizing: border-box; /* パディングを含めた幅の計算 */
  }

  .clinic-a.open {
    position: relative;
    margin: 10px auto;
    width: 95%;
}

}

.clinic-access-info {
  padding: 0 2rem 1rem 2rem; /* 位置調整 */
  font-size: 0.9em; /* 小さめのフォントサイズ */
  background-color: #f9f9f9; /* 背景色の設定（任意） */
  border-bottom: 1px solid #ccc; /* 区切り線の設定 */
}

@media screen and (max-width: 500px) {
  .clinic-access-info {
    padding: 0 1rem 1rem 1rem; /* スマホ画面用のパディング調整 */
  }
}


.clinic_info.box_container { padding-bottom: 120px; }
.single_clinic h2 { font-size: 32px; margin: 0 auto 50px; border-bottom: 3px solid #4f9c00; padding-bottom: .1em; display: inline-block; }
.single_clinic h2 .small_text { font-size: 26px; }
.clinic_info { padding-left: 30px; padding-right: 30px; box-sizing: border-box; }
.clinic_info_data { margin: 0 auto; border-collapse: separate; border-spacing: 0; background: #fff; }
.clinic_info_data th, .clinic_info_data td { display: block; width: 100%; box-sizing: border-box; text-align: left; }
.clinic_info_data th { color: #fff; font-size: 18px; font-weight: 500; background: #35353C; padding: 14px 0 14px 32px; border: none; }
.clinic_info_data td { font-size: 16px; font-weight: 500; background: #F4F2F0; text-align: left; line-height: 1.8; letter-spacing: 0.03em; padding: 40px 32px; border: none; }
a.gmap { height: 52px; background: #E8867F; color: #fff; font-size: 16px; font-weight: 400; line-height: 48px; text-align: center; margin-top: .5em; display: block; box-sizing: border-box; }
a.gmap i { display: inline-block; margin-right: .3em; }


/* ------------------------------------------------------------------------------------
 FAQ
------------------------------------------------------------------------------------ */

.container {
	background-color: white;
	color: black;
	border-radius: 0px;
	margin: 0px 0;
	margin-right: 0px;
	margin-left: 00px;
	border-bottom: 2px solid #ffffff;
}

.question {
	padding: 1em 50px 1em 20px;
	position: relative;
	display: flex;
	align-items: center;
	cursor: pointer;
	background: #2589d0/*#b78c2e*/;
	color: #fff;
	/* font-size:  calc(1.125rem + ((1vw - 7.5px) * 0.5128)); */
	min-height: 3rem;
}
p.q{
	font-weight: 500;
  text-align: left;
}

.question::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  display: flex;
  background: url(../img/plus-solid.svg) center / contain no-repeat;
  width: 1em;
  height: 50%;
  right: 1rem;
  top: 50%;
  font-size: 1.2rem;
  transform: translateY(-50%);
  filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

.question.active::after {
  content: "";
  background: url(../img/minus-solid.svg) center / contain no-repeat !important;
  position: absolute;
  width: 1em;
  height: 50%;
  right: 1rem;
  top: 50%;
  font-size: 1.2rem;
  transform: translateY(-50%);
  filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

.answercont {
	max-height: 0;
	overflow: hidden;
	transition: 0.3s;
}

.answer {
  padding: 0px 0px 20px 0px;
  /* font-size: calc(1.125rem + ((1vw - 7.5px) * 0.5128)); */
  line-height: 1.7;
  /* background: #f4f4f5; */
  text-align: left;
}

.question.active + .answercont {
}

/* 画像を横幅100％に */
.answer img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 1em; /* 下に余白 */
}

@media screen and (max-width:750px){
	.container {
	margin-left: 0%;
	margin-right: 0%;
}
}


/* ------------------------------------------------------------------------------------
 侍従画像CTA
------------------------------------------------------------------------------------ */

.fix-image-cta {
  display: none;
  position: fixed;
  bottom: 0px;
  z-index: 1000;
  margin: 0 auto;
}

.fix-image-cta img {
  height: auto;
  display: block;
  opacity: 1;
  width: 100%;
  max-width: 500px;
}

/* ------------------------------------------------------------------------------------
 詳細説明
------------------------------------------------------------------------------------ */
.main-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 600px; /* 親要素に対して中央寄せにするための幅調整 */
	line-height: 1.93;
}

.main-list > li {
  text-align: left;
  font-size: 0.9em;
  margin-bottom: 20px;
	padding: 0 10px;
}

.sub-list {
  list-style: none;
  padding: 0px; /* サブリストのインデントを追加 */
  margin-top: 10px;
}

.sub-list > li {
  text-align: left;
  font-size: 0.9em;
  /* margin-bottom: 10px; */
}

/* ------------------------------------------------------------------------------------
 画像の特定の位置にリンクを設置する
------------------------------------------------------------------------------------ */
.link1 {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 13.3%;
    height: 100px;
    z-index: 10; /* 明示的に前面にする */
    pointer-events: auto;
}

.link2 {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 18.6%;
    height: 100px;
    z-index: 10; /* 明示的に前面にする */
    pointer-events: auto;
}

/* ------------------------------------------------------------------------------------
 CTAボタン画像重ねる位置
------------------------------------------------------------------------------------ */

/* ------------------------------------------------------------------------------------
 おすすめスコア
------------------------------------------------------------------------------------ */
/* コンテナ全体 */
.recommend-score {
  display: flex;
  align-items: center;
  gap: 10px; /* 要素間のスペース */
  /* padding: 8px 12px; */
  /* background-color: #fef7e0; /* 薄い背景色（例: 薄いベージュ） */
  /* border-radius: 6px; */
  margin: 0.1rem auto;
}

/* ラベル */
.recommend-score__label {
  font-weight: 500;
  /* font-size: 0.95rem; */
  color: #222;
  white-space: nowrap;
  font-weight: bold;
}

/* 数値 */
.recommend-score__value {
  font-weight: 700;
  font-size: 1rem;
  min-width: 3ch; /* 幅を安定 */
  text-align: right;
  color: #d3a53a;
}

/* 星評価 */
.recommend-score__stars {
  --star-size: 1.1rem;   /* 星の大きさ */
  --gap: 2px;            /* 星同士の間隔 */
  display: inline-block;
  position: relative;
  font-size: var(--star-size);
  line-height: 1;
  letter-spacing: var(--gap);
  color: #d0d0d0; /* ベース（未塗り）の星 */
}

.recommend-score__stars::before {
  content: "★★★★★";
  display: block;
}

.recommend-score__stars::after {
  content: "★★★★★";
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #d3a53a;       /* ゴールド */
  width: var(--percent, 0%);
}

/* レスポンシブ調整（必要に応じて） */
@media (max-width: 480px) {
  /* .recommend-score__label { font-size: 0.9rem; } */
  /* .recommend-score__value { font-size: 0.95rem; } */
  .recommend-score__stars { --star-size: 1rem; }
}


/* ------------------------------------------------------------------------------------
 アニメーション
------------------------------------------------------------------------------------ */
.blur-in {
    opacity: 0.01;
    filter: blur(10px);
    transition: opacity 0.1s ease-out, filter 0.1s ease-out;
}

.blur-in.visible {
    opacity: 1;
    filter: blur(0);
}

@keyframes bright {
	0% {
		filter: brightness(1.2);
	}
	100% {
		filter: brightness(1.0);
	}
}
.bright {
	animation-name: bright;
	animation-duration: 5s;
	animation-timing-function: ease;
	animation-iteration-count: 1;
	animation-fill-mode: forwards;
}

@keyframes bounce {
  0% {
    transform: scale(0.96);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(0.96);
  }
}

.bounce {
  animation: bounce 2s ease-in-out infinite;
}


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

.float {
  animation: float 3s ease-in-out infinite;
}

.shine{
  /* position: relative; */
  overflow: hidden;
}

.shine::before{
  content: "";
  animation: shine 3s cubic-bezier(0.25, 0, 0.25, 1) infinite;
  background-color: #ffffff3b;
  width: 140%;
  height: 100%;
  transform: skewX(-45deg);
  top: 0;
  left: -160%;
  opacity: 0.5;
  position: absolute;
}

@keyframes shine{
  0% {
    left: -160%;
    opacity: 0;
  }
  70% {
    left: -160%;
    opacity: 0.5;
  }
  71% {
    left: -160%;
    opacity: 1;
  }
  100% {
    left: -20%;
    opacity: 0;
  }
}


.cta_button_01 {
    bottom: 9.20%;
    width: 100%;
    right: 0%;
    mix-blend-mode: inherit;
}

.cta_button_02 {
    bottom: 6.45%;
    width: 100%;
    right: 0%;
    mix-blend-mode: inherit;
}

.fix-image-cta {
  display: none;       /* 初期状態は非表示 */
  position: fixed;
  bottom: 0;
  /* box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* ← 影の設定 */ */
  /* border-radius: 8px; /* 角丸が必要な場合 */ */
  z-index: 9999;
}

/* ------------------------------------------------------------------------------------
 スライダー
------------------------------------------------------------------------------------ */

/* スライダーを載せる画像 */
.img-overlay-1 {
  position: absolute;
  top: 88.6%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90.0%;
  /* pointer-events: none; */
  z-index: 10; /* ← 前面に出す */
}

.img-overlay-1 img {
  width: 100%;  /* 親の幅に合わせる */
  height: auto;
}


/* ドットデザイン */
.slick-dots {
  bottom: 10px;
  z-index: 10;
}
.slick-dots li button:before {
  font-size: 12px;
  color: #fff;
}
.slick-dots li.slick-active button:before {
  color: #f0448a;
}

/* Slick標準の矢印アイコンを消す */
.slick-prev:before,
.slick-next:before {
  content: none !important;
}

/* カスタム矢印 */
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-top: 3px solid #333; /* 黒 */
  border-left: 3px solid #333; /* 黒 */
  cursor: pointer;
  z-index: 10; /* 背景より前に表示 */
}

.prev-arrow {
  left: 15px;
  transform: translateY(-50%) rotate(-45deg);
}

.next-arrow {
  right: 15px;
  transform: translateY(-50%) rotate(135deg);
}
