/* ==========================================
   ◼︎ カラーパレット（青系ベース）
   ==========================================

   --base-blue:       #3a8dde;    // メインの濃い青
   --accent-blue:     #a0c4ff;    // 明るめのアクセントブルー
   --navy-blue:       #1e3a8a;    // ネイビー寄り（高級感・重厚）
   --light-blue:      #e0f0ff;    // 背景・余白用の淡い青
   --text-dark:       #1b1b1b;    // 本文テキスト用の濃グレー
   --text-light:      #ffffff;    // 白文字（暗背景上）
   --shadow-blue:     rgba(58, 141, 222, 0.4);  // グラデーション用の影色
*/

:root {
  --base-blue: #3a8dde;
  --accent-blue: #a0c4ff;
  --navy-blue: #1e3a8a;
  --light-blue: #e0f0ff;
  --text-dark: #1b1b1b;
  --text-light: #ffffff;
  --shadow-blue: rgba(58, 141, 222, 0.4);
}


/*------------------- ヘッダー -------------------*/

header {
	position: absolute;
	z-index: 10;
	left: 0;
	top: 0;
	width: 100%;
	box-sizing: border-box;
	padding: 0 3% 0;
  /* background: #ffffff4d; */
}
header .h_inbox {
	display: flex;
	justify-content: space-between;
}
header .h_left {
	position: relative;
	width: 35%;
}
header .h_left .h_logo {
	margin-bottom: 1em;
}
header .h_left .h_logo img {
	margin-left: 0;
  width: 100%;
}
header .h_left .h_logo span {
	display: block;
	width: 54%;
	margin-bottom: 1em;
}
header h1 {
	font-size: 0.7rem;
	letter-spacing: .14em;
	line-height: 1.4em;
  background: #ffffffba;
  /* width: 26%; */
  padding: 5px;

}

header .h_contact {
	display: flex;
    justify-content: space-between;
    align-items: flex-end;
	text-align: center;
	position: relative;
	color: #fff;
}

header .h_tel dl {
	position: relative;
}
header .h_tel dt {
	text-align: left;
	color: #938068;
	font-size: min(1.4vw,94%);
	letter-spacing: .14em;
	margin-bottom: .2em;
}
header .h_tel dt span {
	font-size: 80%;
	color: #363636;
}
header .h_tel dt,
header .h_tel .phone_num {
	padding-left: 20%;
}
header .h_tel img {
    margin: 0;
}
header .h_tel .phone_num {
	font-size: min(1.8vw,130%);
}
header .h_tel .icon {
    left: 0;
    top: auto;
	bottom: 0;
    transform: none;
}

header .h_time {
  font-size: 15px;
}
header .h_web a {
	padding: .8em .8em .7em;
}
header .h_web a > div {
	position: relative;
	box-sizing: border-box;
	padding-left: 25%;
}
header .h_web .icon_web {
	position: absolute;
	width: 23%;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}
header .h_web .com_web_style {
	width: 96%;
    max-width: 154px;
	padding-left: 4%;
	padding-bottom: .6em;
	transition: all .5s;
	overflow: hidden;
}
header .h_web .com_web_style::before {
	position: absolute;
	content: "";
	background-color: #FFF;
	width: 100%;
	height: 1px;
	left: 0;
	bottom: 0;
}
header .h_web .com_arrow2 {
	bottom: .5em;
}
header .h_web .h_web_txt {
	width: 84%;
    margin: .7em auto 0;
}

/* Tablet (Portrait)
------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {

header {
    padding-top: 2%;
}
header .h_left {
	margin-top: .5em;
}
header .h_left .h_logo span {
    margin-bottom: .6em;
}
header .h_right {
	width: 60%;
}
header h1 {
	letter-spacing: .1em;
}
}

/* Mobile (Portrait)
------------------------------------------*/
@media only screen and (max-width: 768px) {

header {
	padding: 3% 3% 0;
}
header .h_inbox {
	display: block;
}
header .h_left {
	width: 65%;
	margin-top: 0;
}
header .h_left .h_logo {
	margin-bottom: .6em;
}
header .h_left .h_logo span {
	margin-bottom: .4em;
}
header .h_contact {
	display: none !important;
}
header h1 {
	font-size: 65%;
	letter-spacing: normal;
}
.spnone {
  display: none;
}

}
/*------------------- メニュー -------------------*/
/* 最初は通常の位置に */
.nav {
 width: 100%;
  background: #fff;
  padding: 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 0;
  transition: all 0.3s ease-in-out;
	z-index: 900;
}

/* 固定されるときのスタイル */
.nav.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  transition: all 0.3s ease-in-out;
  z-index: 15;
}


/* メニューリスト */
.nav-list {
  display: flex;
  justify-content: space-around;
	width: 90%;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* メニュー項目 */
.nav-item {
  position: relative;
}
/* リンク無し項目 */
.nav-item p {
    text-decoration: none;
    color: #666;
    font-size: 16px;
    font-weight: bold;
    padding: 15px 20px;
    display: block;
    position: relative;
    transition: color 0.3s ease;
}
/* メニューリンク */
.nav-item a {
  text-decoration: none;
  color: #666;
  font-size: 16px;
  font-weight: bold;
  padding: 15px 20px;
  display: block;
  position: relative;
  transition: color 0.3s ease;
}

/* ホバー時のエフェクト（下線アニメーション） */
.nav-item a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 0;
  height: 2px;
  background: #938068;
  transition: all 0.3s ease-out;
  transform: translateX(-50%);
}

.nav-item a:hover::after {
  width: 100%;
}

.nav-item a:hover {
  color: #b19768;
}

/* プルダウンメニュー */
.has-dropdown .dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  list-style: none;
  padding: 15px;
  margin: 0;
  min-width: 400px; /* 横幅を広めに */
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* ★ 2列にする */
  gap: 10px 20px; /* 行・列の間隔 */
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* プルダウンメニュー項目 */
.dropdown li {
  padding: 0; /* グリッド用に調整 */
}

.dropdown li a {
	text-decoration: none;
	color: #666;
	display: block;
	font-size: 14px;
	padding: 18px 30px;
	border-radius: 4px;
	transition: background 0.3s ease, padding-left 0.3s ease;
}

.dropdown li a:hover {
  background: #f4f4f4;
  padding-left: 15px;
}

/* ホバー時にプルダウンを表示 */
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  z-index: 1;
}


/* ----------------------------------------------------
タブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
}

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media (max-width: 768px) {
  .nav {
      justify-content: space-between;
      padding: 10px 0;
  }

  .nav-list {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 50px;
      left: 0;
      width: 100%;
      background: rgba(255, 255, 255, 0.95);
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .nav-list.active {
      display: flex;
  }

  .nav-item {
      text-align: center;
  }

  .nav-item a {
      display: block;
      padding: 15px;
      width: 100%;
  }

  .has-dropdown .dropdown {
      position: static;
      box-shadow: none;
      background: none;
      display: none;
  }

  .has-dropdown:hover .dropdown {
      display: block;
  }

  .menu-toggle {
      display: block;
  }
}

/*------------------- ファーストビューブロック -------------------*/
.main-visual {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  padding: 3.2em 5.8em 0px;
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  z-index: 1;
  transition: opacity 2s ease-in-out;
}

.background-image.active {
  opacity: 1;
  z-index: 2;
}

.image1 {
  background-image: url('../images/main.png');
  background-position: center left 60%;
}

.image2 {
  background-image: url('../images/main2.png');
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #dddddd29;
  z-index: 3;
}

/* キャッチコピー */
.text-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* align-items: flex-start; */
  justify-content: center;
  text-align: center;
  overflow: hidden;
  z-index: 4;
  top: 33%;
}

.size3rem {
  font-size: 2.6rem;
  line-height: 1.5;
  margin-bottom: 25px;
}

.bgwrap {
  position: relative;
  display: inline-block;
  /* padding: 0.3em 0.8em; */
  /* background: linear-gradient(to right, rgb(255, 255, 255), rgb(250, 243, 220));
  box-shadow: 0 4px 20px rgba(255, 215, 115, 0.2);
  backdrop-filter: blur(4px); */
}

.size1-5rem {
  font-size: 1rem;
  color: #5c4a1f;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.bgwrap .catchhighlight {
  background: linear-gradient(90deg, #3a8dde, #a0c4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(58, 141, 222, 0.4); /* 青系に合わせて調整 */
  font-size: 3.5rem;
}


.white {
  color: white;
}
.tel {
  font-size: 30px;
  color: #363636;
}

.clinic-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
  flex-wrap: wrap;
  text-align: center;
}

.feature-block {
  width: 240px;
}

.circle-icon p{
  width: 180px;
  height: 180px;
  margin: 0 auto;
  background: #ffffffb3; 
  color: var(--base-blue);
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.4;
  padding: 1rem;
  word-break: break-word;
  box-shadow: 0 0 15px rgba(58, 141, 222, 0.2), 
              0 0 30px rgba(58, 141, 222, 0.15), 
              0 0 45px rgba(58, 141, 222, 0.1);

  border: 1px solid rgba(58, 141, 222, 0.2);
}

/*-------------------------------------- お知らせブロック --------------------------------------*/
.info-blocks {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin: 60px auto;
  max-width: 1200px;
  padding: 0 20px;
}
.center {
	text-align:center;
}
.info-block {
  flex: 1 1 48%;
	background: #f2f6fb;
	padding: 20px;
}

.info-title {
  text-align: center;
	font-size: 2rem;
  margin-bottom: 20px;
  position: relative;
  padding-top: 30px;
  font-weight: bold;
}

.sub-title {
  display: block;
  font-size: 16px;
  color: #8ebdeb;
  margin-top: 5px;
}

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

.info-list li {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 12px 0;
  border-top: 1px solid #eee;
}

.info-list li:first-child {
  border-top: none;
}

.date {
  min-width: 120px;
  color: #999;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.text {
  font-size: 15px;
  color: #333;
  line-height: 1.5;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .info-blocks {
    flex-direction: column;
  }
  .info-block {
    flex: 1 1 100%;
  }
}

/*-------------------------------------- バナーブロック --------------------------------------*/
.banner-section {
  padding: 40px 20px;
}

.banner-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0;
}

.banner-list li {
  flex: 1 1 calc(33.333% - 13.33px);
  box-sizing: border-box;
}

.banner-list img {
  width: 70%;
  margin: auto;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.banner-list a:hover img {
  transform: scale(1.03);
}

/* モバイル対応 */
@media (max-width: 768px) {
  .banner-list li {
    flex: 1 1 calc(50% - 10px);
  }
}

@media (max-width: 480px) {
  .banner-list li {
    flex: 1 1 100%;
  }
}
/*-------------------------------------- 選ばれる理由ブロック --------------------------------------*/

/* --------- タイトル部分 --------- */
.top50 {
  top: 50px;
}
.reasonttl {
line-height: 1.2;
color: #666;
}

.readonnumber {
  color: #6d92d0;
  text-shadow: 2px 4px 3px rgb(126 126 126 / 30%);
}
.txcenter {
  position: relative; 
}


.reason {
  position: relative;
  /* padding: max(6.571vw, 85px) 0 0; */
  background-image: url(../images/bg3.png);
  background-size: cover;
  background-position: center;
  box-sizing: border-box;
}

/* .reason::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(
      to bottom, 
      #DAE6F8 0%, 
      #E4ECFA 40%, 
      #EFF4FD 70%, 
      rgba(255, 255, 255, 1) 100%
  );
  pointer-events: none;
  z-index: -2;
} */


/* --------- コンテンツ部分 --------- */
.team-section {
  background: url(../images/setumei.png) no-repeat top right 4.571% / max(57.071vw, 741.927px);
  margin-bottom: max(7.143vw, 92.857px);
}

.team-title {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  row-gap: max(.786vw, 10.214px);
  margin-bottom: max(2.214vw, 28.786px);
margin-top:120px;
font-family:Noto Serif JP;
}
.team-title h2 {
  padding: 0 .5em;
}

.team-title h2 {
  font-size: max(3.276vw,42.584px);
  line-height: 1.1em;
  height: 1.35em;
  color: #fff;
  display: inline-flex;
  align-items: flex-end;
  background: url(../images/image_with_92B9AA_and_729889_stripes.png) repeat top left / max(.429vw, 5.571px);
  letter-spacing: .06em;
}
.team-title p {
  font-size: max(3.276vw,42.584px);
  line-height: 1.1em;
  height: 1.35em;
  color: #fff;
  display: inline-flex;
  align-items: flex-end;
  background: url(../images/image_with_92B9AA_and_729889_stripes.png) repeat top left / max(.429vw, 5.571px);
  letter-spacing: .06em;
}

.team-cont {
  /* background: linear-gradient(to top, #fff 15%, transparent 15%), url(../images/dot.png) repeat top left / max(.571vw, 7.429px);
  padding: max(2.143vw, 27.857px) 0 0; */
  margin-top: 90px;
}
.team-item-list {
  display: flex;
  justify-content: center;
  column-gap: max(3.714vw, 48.286px);
}
.team-item {
  width: max(25.000vw, 325.000px);
  aspect-ratio: 350 / 400;
  background: #fff;
  box-shadow: 0px 4px 7px 0px rgba(67, 67, 67, .16);
  position: relative;
  padding: max(1.714vw, 22.286px) max(3vw, 39.000px);
  box-sizing: border-box;
}
.team-num {
  display: block;
  width: max(3.929vw, 51.071px);
  position: absolute;
  top: -1.25%;
  left: 4.857%;
  mix-blend-mode: multiply;
}
.team-num img {
width: 110px;
}
.team-category {
  text-align: center;
line-height: 1.3em;
  font-size: max(1.786vw,23.224px);
  margin-bottom: .25em;
  letter-spacing: .08em;
}
.team-item figure {
  margin-bottom: max(1.214vw, 15.786px);
}
ol, ul { list-style: none; }
.team-item:after {
  content: \"\";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 18px 18px;
  border-color: transparent transparent #acacac;
  position: absolute;
  bottom: 7px;
  right: 7px;
}
.team-item01 h3 .team-en { color: #add9e2; }
.team-category .team-en {
  display: block;
  line-height: 1.17em;
  font-size: 62%; /* サイズはそのまま */
  text-align: center; /* 中央揃え */
  margin-top: 0.2em; /* 日本語との間隔を調整 */
  color: #add9e2; /* 色は既存のものを維持 */
}
.team-txt62 { font-size: 62%; }
.team-txt-list li {
font-size: 15px;
line-height: 2;
}

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */

.team-item01 li .team-underline,
.team-item02 li .team-underline,
.team-item03 li .team-underline{ border-bottom: 2px solid #add9e2; }
.team-item li .team-underline { text-decoration: none; }
@media (min-width: 768px) and (max-width: 1050px) {
.team-title h2,
.team-title p{
  font-size: 25px;
}
.team-num img {
  width: 60px;
}
}

@media screen and (max-width:768px) {
.team-num img {
  width: 60px;
}
.team-title h2,
.team-title p{
  font-size: 25px;
}
.team-desc {
  padding:15px 5px;
  margin:0;
  width:100%;
  font-size: 15px;
}
.team-title h2{
  padding: 0;
}
}
@media screen and (max-width:543px) {
.team-title h2,
.team-title p{
  font-size: 19px;
}
.team-item-list{
  flex-direction: column; 
      justify-content: center;
      align-items: center; 
      row-gap: max(3.714vw, 48.286px); 
      column-gap: 0; 
}
}

/*-------------------------------------- ピックアップブロック --------------------------------------*/

/* 見出し */
.picuph2 {
  font-size: 50px;
  font-weight: normal;
  text-align: center;
}

.colgr {
  color: #666;
}

.picuph2 .highlight {
  font-size: 27px;
  color: #b19768;
  text-shadow: 2px 4px 3px rgb(126 126 126 / 30%);
}

.underline {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.dots,
.dots1 {
  position: relative;
}
.dots1::before{
  content: "・・";
    position: absolute;
    top: -40px;
    left: 52%;
    transform: translateX(-50%);
    font-size: 50px;
    letter-spacing: 4px;
    color: #6d92d0;
}
.dots::before {
  content: "・・・・";
    position: absolute;
    top: -40px;
    left: 52%;
    transform: translateX(-50%);
    font-size: 50px;
    letter-spacing: 4px;
    color: #6d92d0;
}


.flex_box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
  background-color: #fff;
  position: relative;
  border-radius: 10px;
}
.flex_box2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
  background-color: #fff;
  position: relative;
  border-radius: 10px;
  gap: 20px;
}

.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: sideways;
  font-family: 'Noto Serif JP', serif;
  font-size: 25px;
  color: #3b9ad188;
  letter-spacing: 2px;
  font-weight: bold;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  border-left: 3px solid #3b89d1;
  /* padding-left: 5px; */
}
.vertical-text2 {
  writing-mode: vertical-rl;
  text-orientation: sideways;
  font-family: 'Noto Serif JP', serif;
  font-size: 25px;
  color: #3b9ad188;
  letter-spacing: 2px;
  font-weight: bold;
  position: absolute;
  right: 60%;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  border-left: 3px solid #3b89d1;
}
.vertical-text2-2 {
  writing-mode: vertical-rl;
  text-orientation: sideways;
  font-family: 'Noto Serif JP', serif;
  font-size: 25px;
  color: #b5a9c9;
  letter-spacing: 2px;
  font-weight: bold;
  position: absolute;
  right: 59%;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  border-left: 3px solid #6f45b4;
}
.pickupbox2 {
  width: 60%;
  padding-right: 20px;
  background-color: rgba(59, 137, 209, 0.05);
  border-radius: 5px;
  margin: 0 0 0 15px;
  padding: 15px 20px;
}

.pickupbox2 h3 {
  font-size: 24px;
  color: #3b89d1;
  border-bottom: 2px solid #3b89d1;
  padding-bottom: 5px;
  display: inline-block;
}

.pickupbox2-2 {
  width: 60%;
  padding-right: 20px;
  background-color: #b5a9c92e;
  border-radius: 5px;
  margin: 0 0 0 15px;
  padding: 15px 20px;
}
.pickupbox2-2 h3 {
  font-size: 24px;
  color: #9773d1;
  border-bottom: 2px solid #6f45b4;
  padding-bottom: 5px;
  display: inline-block;
}

.pickupbox1 {
  width: 40%;
  display: flex;
  justify-content: center;
  margin: 10px;
}

.pickup-image {
  width: 100%;
  max-width: 500px;
  height: auto;
}

/* リストのデザイン */
.picup-list {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.picup-list li,
.picup-list2 li{
  font-size: 16px;
  color: #666;
  padding-left: 25px;
  position: relative;
  margin-bottom: 8px;
}

.picup-list li::before {
  content: '✔'; /* チェックマーク */
  position: absolute;
  left: 0;
  color: #3b89d1;
  font-weight: bold;
}

.picup-list2 li::before {
  content: '✔'; /* チェックマーク */
  position: absolute;
  left: 0;
  color: #6f45b4;
  font-weight: bold;
}

/* 強調デザイン */
.pickupbox2 p span {
  font-size: 20px;
  color: #3b89d1;
  font-weight: bold;
  padding: 3px 6px;
  border-radius: 4px;
  display: inline-block;
  position: relative;
  z-index: 1;
}
.pickupbox2 p span::after {
  content: "";
  display: block;
  width: 100%;
  height: 8px;
  background-color: #3b89d15b;
  position: absolute;
  bottom: 5px;
  /* left: -5px; */
  z-index: 0;
  /* border-radius: 4px; */
}

.pickupbox2-2 p span {
  font-size: 20px;
  color: #a88fd1;
  font-weight: bold;
  padding: 3px 6px;
  border-radius: 4px;
  display: inline-block;
  position: relative;
  z-index: 1;
}
.pickupbox2-2 p span::after {
  content: "";
  display: block;
  width: 100%;
  height: 8px;
  background-color: #b5a9c93b;
  position: absolute;
  bottom: 5px;
  /* left: -5px; */
  z-index: 0;
  /* border-radius: 4px; */
}

/* buttonデザイン 青 */
.pickup-btn {
  display: inline-block;
  padding: 12px 24px;
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(135deg, #007bff, #00c6ff);
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.pickup-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 10%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease;
}

.pickup-btn:hover {
  background: linear-gradient(135deg, #00c6ff, #007bff);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 123, 255, 0.5);
}

.pickup-btn:active {
  transform: translateY(2px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.pickup-btn:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

/* buttonデザイン　紫 */
.pickup-btn-purple {
  display: inline-block;
  padding: 12px 24px;
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(135deg, #9A7BBF, #C8A2C8); /* 上品なくすみ紫 */
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(154, 123, 191, 0.4);
}

.pickup-btn-purple::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 10%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease;
}

.pickup-btn-purple:hover {
  background: linear-gradient(135deg, #C8A2C8, #9A7BBF);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(154, 123, 191, 0.5);
}

.pickup-btn-purple:active {
  transform: translateY(2px);
  box-shadow: 0 4px 8px rgba(154, 123, 191, 0.3);
}

.pickup-btn-purple:hover::before {
  transform: translate(-50%, -50%) scale(1);
}
/* ----------------------------------------------------
タブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .vertical-text2-2 {
    right: 57%;
  }
}

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */

@media (max-width: 768px) {

  .picuph2 {
    font-size: 24px;
  }
  .dots::before {
    content: none;
  }
  .dots1::before {
    content: none;
  }
  /* 1つ目 */
  .flex_box {
      flex-direction: column-reverse;
      align-items: stretch;
      padding: 15px;
  }
  /* 2つ目 */
  .flex_box2 {
    flex-direction: column;
    padding: 15px;
  }
  .pickupbox2-2 {
    width: 100%;
    margin: 0;
    padding: 10px;
  }
  .pickupbox2, .pickupbox1 {
      width: 100%;
      padding: 20px;
      margin: 0;
  }
  .pickupbox2 {
      padding: 10px;
      border-left: none;
  }
  .vertical-text {
      position: relative;
      left: auto;
      top: auto;
      transform: none;
      margin-bottom: 10px;
  }
}
/*---------------------------------------------------------------------

  診療案内
 
 ---------------------------------------------------------------------*/

.clinic-menu-waper {
  width: 1200px;
  aspect-ratio: 1260 / 690;
  margin: 0 auto;
  position: relative;
}
.clinic-menu-waper::before {
  content: '';
  position: absolute;
  width: 670px;
  height: 730px;
  top: 0;
  right: -38px;
  background-color: #eef4f8;
  mix-blend-mode: multiply;
  z-index: -1;
}

.clinic-menu-waper::after {
  content: '';
  position: absolute;
  width: 669px;
  height: 729px;
  top: -30px;
  bottom: 0;
  left: -38px;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url(../images/afterbg.png);
  z-index: -1;
}


.clinic-menu-inner {
  height: 100%;
  z-index: 5;
  padding: 0 0 0 550px;
  background-image: url(../images/medicalimg.png);
  background-size: auto 100%;
  background-position: -132px 0;
  background-repeat: no-repeat;
  background-color: #fff;
}

.clinic-menu__list {
 font-family: 'Noto Serif JP', serif；
  flex: 1 1 45%;
  min-width: 300px;
  height: 100%;
    background-color: rgba(255, 255, 255, .9);
    padding: 35px 36px 0 45px;
    align-content: center;
}


.clinic-menu__title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 30px;
  font-family: 'Georgia', serif;
}

.clinic-menu__list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 40px;
 font-family: 'Noto Serif JP', serif；
}

.clinic-menu__list li {
  border-bottom: 1px solid #ccc;
  margin-bottom: 12px;
  padding-bottom: 8px;
}

.clinic-menu__list a {
  text-decoration: none;
  color: #333;
  display: flex;
  justify-content: space-between;
  font-size: 16px;
}

.clinic-menu__list a::after {
  content: '»';
  color: #999;
  font-size: 14px;
}
/* ----------------------------------------------------
タブレット
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .clinic-menu-waper {
    width: 100%;
    padding: 40px 30px;
    box-sizing: border-box;
    position: relative;

    background-image:
      url(../images/afterbg.png),  /* チェック模様 */
      url(../images/medicalimg.png); /* 人物画像 */

    background-repeat: no-repeat, no-repeat;

    /* 背景の配置：チェックは下、人物は左上 */
    background-position:
      bottom center,
      top left;

    background-size:
      100% 50%,   /* チェック模様：横100%、縦50%くらい */
      auto 100%;  /* 人物画像：縦全体にフィット */
  }

  .clinic-menu-waper::before,
  .clinic-menu-waper::after {
    display: none;
  }

  .clinic-menu-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    padding: 0;
    background: transparent;
  }

  .clinic-menu__list {
    width: 60%;
    max-width: 600px;
    padding: 30px 30px 20px;
    background-color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    height: auto;
  }

  .clinic-menu__title {
    font-size: 26px;
    margin-bottom: 24px;
  }

  .clinic-menu__list ul {
    columns: 2;
    column-gap: 24px;
  }

  .clinic-menu__list li {
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ccc;
  }

  .clinic-menu__list a {
    font-size: 16px;
    padding-right: 10px;
    color: #333;
    display: flex;
    justify-content: space-between;
  }

  .clinic-menu__list a::after {
    font-size: 12px;
    color: #999;
  }
}

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 767px) {
  .clinic-menu-waper {
    width: 100%;
    aspect-ratio: auto;
    padding: 20px;
    box-sizing: border-box;
    position: relative;

    background-image:
      url(../images/afterbg.png),  /* チェック模様 */
      url(../images/medicalimg.png); /* 人物画像 */

    background-repeat: no-repeat, no-repeat;

    /* 人物画像は上部固定、チェック模様は中心から下に配置 */
    background-position:
      center 50%, /* チェック模様の開始位置（中央） */
      top center;

    /* チェック模様を縦に伸ばしつつ主張しすぎないサイズに */
    background-size:
      100% 60%,  /* チェック：横幅100%、縦は60% */
      contain;
  }

  .clinic-menu-waper::before,
  .clinic-menu-waper::after {
    display: none;
  }

  .clinic-menu-inner {
    padding: 0;
    background: transparent;
  }

  .clinic-menu__list {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
  }

  .clinic-menu__title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .clinic-menu__list ul {
    columns: 1;
  }

  .clinic-menu__list li {
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
  }

  .clinic-menu__list a {
    font-size: 16px;
    padding-right: 10px;
    color: #333;
    display: flex;
    justify-content: space-between;
  }

  .clinic-menu__list a::after {
    font-size: 12px;
    color: #999;
  }
}



/*------------------- 院長紹介 -------------------*/
/* === 全体のレイアウト === */
.intyou {
  background: linear-gradient(
    to bottom,
    rgba(235, 245, 255, 0.9) 0%,  /* 明るいブルー */
    rgba(220, 233, 246, 0.8) 40%, /* 中間色 */
    rgba(200, 220, 240, 0.9) 100% /* 濃いブルー */
  );   padding: 40px;
  backdrop-filter: blur(10px);
  position: relative;
}

.intyou::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#2f6b7c56 1px, transparent 1px);
  background-size: 6px 6px;
  opacity: 0.2; /* 控えめなテクスチャ */
  z-index: 0;
}
.profile-container {
  display: flex;
  max-width: 1300px;
  margin: 20px auto;
  align-items: center;
  gap: 40px;
  padding: 60px;
  background: #ffffff91;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}

/* === 左側の画像エリア === */
.profile-image {
  flex: 1;
  max-width: 450px;
  position: relative;
}

.profile-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
}

/* === 右側のテキストエリア === */
.profile-text {
  flex: 2;
  padding: 10px;
}

/* === 見出しデザイン === */
.highlight .clinic-name {
  font-size: 25px;
  font-weight: bold;
  color: #e5e2d0;
  line-height: 2.5;
}

.position {
  font-size: 18px;
  font-weight: normal;
  color: #777;
}

.doctor-name {
  font-size: 26px;
  font-weight: bold;
  margin-top: 10px;
  display: flex;
  align-items: center;
}

.jp-name {
  font-size: 32px;
  font-weight: bold;
  margin: 0 10px;
}

.en-name {
  font-size: 16px;
  font-weight: normal;
  color: #977c4c;
}

/* === 罫線デザイン === */
.profile-line {
  width: 100%;
  border: 1px solid #ddd;
  margin: 20px 0;
}
/* `.profile-details` を2カラムレイアウトにする */
.profile-details {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 20px; 
}
.profile-details li {
  font-size: 12px;
}

/* 各セクションのスタイル */
.profile-section {
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* 見出しデザイン */
.section-title {
  font-size: 20px;
  font-weight: bold;
  color: #977c4c;
  margin-bottom: 10px;
}

/* 略歴は1列全体を使う */
.profile-section.history {
  grid-column: span 2; /* 2カラムをまたぐ */
}


/* === 略歴・学会・講演情報のデザイン === */
.profile-section {
  margin-bottom: 20px;
}

.section-title {
  font-size: 20px;
  font-weight: bold;
  color: #977c4c;
  margin-bottom: 10px;
}

.profile-info {
  list-style: none;
  padding: 0;
  font-size: 16px;
  line-height: 1.8;
  color: #666;
}

.profile-info li {
  margin-bottom: 8px;
}

.year {
  font-weight: bold;
  color: #977c4c;
}

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media (max-width: 768px) {
  .intyou {
    padding: 15px;
  }

  .profile-details {
      grid-template-columns: 1fr; /* 1カラムに変更 */
  }

  .profile-section.history {
      grid-column: span 1; /* 1カラムで表示 */
  }

  .profile-container {
      flex-direction: column;
      text-align: center;
      padding: 0;
  }

  .profile-image {
      max-width: 80%;
  }

  .profile-text {
      padding: 15px;
      width: 90%;
  }
  .profile-section {
    padding: 10px;
  }

  .doctor-name {
      flex-direction: column;
      text-align: center;
  }

  .jp-name {
      font-size: 28px;
  }

  .en-name {
      font-size: 14px;
  }

  .section-title {
      font-size: 18px;
  }
}

/*------------------- 医院紹介 -------------------*/

/* -------------------フォトギャラリー------------------- */
/* ギャラリー全体 */
.gallery {
  text-align: center;
  padding: 50px;
}

.galleryttl {
  font-size: 50px;
  text-shadow: 2px 4px 3px rgba(0,0,0,0.3);
}

/* スライドショー＋サムネイルを横並びに */
.gallery-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  max-width: 1000px;
  margin: 50px auto;
}

/* 左側のスライドショー */
.gallery-slideshow {
  position: relative;
  width: 600px; /* 任意のサイズ */
  height: 400px; /* 任意のサイズ */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.gallery-slideshow::before {
  content: "";
    position: absolute;
    top: min(-1vw, -13px);
    left: max(1vw, 13px);
    width: 100%;
    height: 100%;
    border: 1px solid #938068;
    z-index: 2;
}

/* メインスライドの画像 */
.gallery-slideshow img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}
/* 最初の画像だけ表示 */
.gallery-slideshow img.active {
  opacity: 1;
}

/* 右側のサムネイル一覧 */
/* .gallery-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 15px;
} */
/* 右側のサムネイル一覧 */
.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 2列 */
  gap: 15px;
}


/* サムネイル画像 */
.gallery-thumbnails img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  cursor: pointer;
  border: 3px solid transparent;
  transition: transform 0.2s ease-in-out, border 0.3s ease-in-out;
  border-radius: 5px;
}

/* 選択されたサムネイルの強調 */
.gallery-thumbnails img.active {
  transform: scale(1.1);
}

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media (max-width: 768px) {
  .gallery-container {
      flex-direction: column;
      align-items: center;
  }

  .gallery-slideshow {
      width: 100%;
      height: auto;
  }

  .gallery-thumbnails {
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: center;
  }

  .gallery-thumbnails img {
      width: 100px;
      height: 80px;
  }
}

/* -------------------支払方法------------------- */
.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;
}

.payment-header {
  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;
}

.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: 24px;
  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: #888;
  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;
}


/* ----------------------------------------------------
タブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {

}
/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media (max-width: 768px) {

}


/* -------------------グラフブロック------------------- */
/* 全体 */
.clinicgraph {
  /* position: relative;
  background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(246, 240, 234, 0.9) 20%,  rgba(247, 243, 238, 0.89) 80%,  rgba(255, 255, 255, 1) 100%);
  z-index: 0;
  overflow: hidden; */
  /* margin: 0 0 9.4em; */
    /* padding: 11.6em 43em 0 3.8em; */
    aspect-ratio: 1400 / 933;
    background-repeat: no-repeat;
    background-position: 0 0;
    /* background-size: cover; */
    /* background-image: url(//orc-implant.jp/wp-content/themes/humanity/css/../images/top/num_bg.jpg); */
    background-image: url(../images/clinicgraphbg.png);
    color: #fff;
}
/* .clinicgraph::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
  z-index: 1;
}
.clinicgraph::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
  z-index: 1;
} */


/* フレックスボックス */
.graphflex {
  display: flex;
  padding: 0;
  margin: 10% auto;
  max-width: 1300px;
}

/* 見出し */
.graphttl {
  font-size: max(2.2vw, 20px);
  color: #69492a;
  line-height: 1.4;
  margin-bottom: 15px;
  text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.6);
  position: relative;
  margin: 30px 0;
  padding-left: 0.8em;
}

/* 実績ブロック */
.clinic-stats {
  padding: 40px 30px;
  font-family: 'Noto Serif JP', serif;
  color: #3a2e1e;
  /* max-width: 500px; */
  flex: 1 1 400px;
  border-radius: 12px;
  /* box-shadow: 0 4px 10px rgba(0,0,0,0.08); */
}

.stat-block {
  margin-bottom: 30px;
  text-align: center;
}

.stat-label {
  font-size: 1.2rem;
  font-weight: bold;
}

.stat-number {
  font-size: 1.5rem;
}

.stat-number strong {
  font-size: 2.3rem;
  color: #b58b2a;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 20px;
  margin: 0 auto;
  padding: 20px;
  font-family: sans-serif;
}

.stat-item {
  background: #fff;
  border: 1px solid #e0d2aa;
  padding: 20px 25px;
  text-align: center;
}

.stat-title {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: #7a6b4e;
}

.stat-value p {
  font-size: 2.2rem;
  font-weight: bold;
  color: #b58b2a;
}

.unit {
  font-size: 1.1rem;
  color: #7a6b4e;
  margin-left: 4px;
}

/* グラフブロック */
.graph-container {
  color: #fff;
  padding: 40px;
  position: relative;
  font-family: 'Noto Serif JP', serif;
  max-width: 600px;
  margin: auto;
}
.graph-info {
  position: absolute;
  top: 30px;
  left: 30px;
  font-size: 1.1rem;
  color: #fff;
}

.graph-info .years {
  font-size: 1.4rem;
  font-weight: bold;
}

.graph-info .highlight {
  color: #e6e15e;
  font-weight: bold;
  font-size: 1.8rem;
}

.graph-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 390px;
  margin-top: 120px;
  gap: 10px;
}

.bar {
    width: 81px;
    background: linear-gradient(to top, #ad916f, #e1bc97);
    text-align: center;
    color: #fff;
    font-size: 13px;
    height: 0;
    transition: height 1s ease;
    position: relative;
}

.speech-bubble {
  position: absolute;
  top: 0;
  right: -10px;
  background: white;
  font-weight: bold;
  padding: 18px;
  border-radius: 50%;
  text-align: center;
  width: 150px;
  height: 150px;
  font-size: 13px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.speech-bubble p {
  margin: auto;
}

.speech-bubble .number {
  font-size: 24px;
  color: #a77e29;
}
.yearflex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  /* margin-top: 120px; */
  gap: 10px;
}
.yearflex p {
  color: #938068;
    font-size: 20px;
    font-weight: bold;
}

.abs1 {
  position: absolute;
    z-index: 4;
    left: 0;
    top: 1%;
}
.arrowimg {
  position: absolute;
  z-index: 0;
  max-width: 380px;
  left: 0;
  top: 11%;
}
.abs2 {
  position: absolute;
  z-index: 6;
  width: 33%;
  max-width: 200px;
  right: 0;
  top: 94px;
  transform: translate(10%, -65%);
}
/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
}

/* -------------------グラフブロックここまで------------------- */
/* -------------------どんなことでお悩みですか？------------------- */

.problem-section {
  text-align: center;
  padding: 0;
  /* background-color: #f4f4f4; */
}

/* 見出し */
.problem-ttlbloc {
  background-color: #F0EBE7;
  position: relative;
  padding: 100px 0;

}

.problem-ttlbloc .underline {
  text-decoration: none;
  border-bottom: 2px solid  #bfa2509e;
}
.problem-ttlbloc::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to bottom, rgba(248, 241, 220, 1), rgba(248, 241, 220, 0.6)); /* 透明度を少し増してスムーズにぼかし */
  z-index: -1;
}

.problem-ttlbloc::after {
  content: "";
  position: absolute;
  bottom: -60px; /* 三角形を下に配置 */
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 70px solid transparent; /* 左側の透明部分を広く */
  border-right: 70px solid transparent; /* 右側の透明部分を広く */
  border-top: 60px solid #F0EBE7; /* 背景色と一致させる、矢印の縦幅を大きくする */
}

.problem-section h2 {
  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;
}

.problemspan {
  font-size: 50px;
  background: linear-gradient(135deg, #6a4e23, #a67c52, #8b5e3c); /* 明るめで強調された茶色のグラデーション */
  -webkit-background-clip: text; /* グラデーションを文字に適用 */
  -webkit-text-fill-color: transparent; /* 文字の色を透明にし、背景色で文字色を指定 */
}

.problem-container {
  display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    margin: 6rem auto;
    max-width: 1300px;
}

.problem-item {
  background-color: #fff;
  padding: 0 0 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.problem-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.problembox {
  width: 100%;
}
.problembox h3 {
  color: #997962;
  font-size: 25px;
  margin: 10px 0 20px;
  position: relative;
}
.problembox h3::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 5%; 
  width: 90%;
  border-bottom: 1px solid #bcbcbc; 
}
.problem-item img {
  width: 100%;
  object-fit: cover;
  margin-bottom: 15px;
}

.problem-item p {
  font-size: 16px;
  font-weight: 500;
  margin: 15px 0;
}

.view-more {
  display: inline-block;
  background-color: #938068;
  color: #fff;
  font-size: 16px;
  padding: 10px 24px;
  text-align: center;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  margin-top: 10px;
}

.view-more:hover {
  background-color: #a18f7a;
  transform: translateY(-5px);
  color: #fff;
}

.view-more:active {
  transform: translateY(2px);
}

/* スマホ用 */
@media (max-width: 768px) {
  .problem-container {
    grid-template-columns: 1fr;  /* スマホサイズで1列にする */
  }

  .problem-item {
    width: 100%;
    height: auto;  /* スマホでは高さを自動調整 */
  }
}
/* -------------------どんなことでお悩みですか？ここまで------------------- */

/* -------------------理想ブロック------------------- */

/* 見出し */
.dream-ttlbloc {
  margin: 30px auto;
}
.dreamttl {
  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;
}
.dreamttl .mini {
  font-size: 25px;
}
.dream-ttlbloc p {
  text-align: center;
}
.dream-ttlbloc p .underline {
  text-decoration: none;
  border-bottom: 2px solid #bfa2509e;
}

/* セクションの背景 */
.sedai {
  padding: 95px 0;
  position: relative;
  background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgb(246 242 234 / 90%) 20%, /* #eaf0f6（明るめ）*/ rgb(250 248 245 / 90%) 80%, /* #f5f7fa（ほぼ白）*/ rgba(255, 255, 255, 1) 100%);
  z-index: 0;
  overflow: hidden;
}

.sedai::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
  z-index: 1;
}

.sedai::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px; 
  background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
  z-index: 1;
}

.idx_inr {
  position: relative;
  display: block;
  margin: 0 auto;
}

.idx_box {
  display: block;
  position: relative
}

.idx_lst li {
  position: relative;
  display: block;
  padding-left: 1em;
  margin-bottom: .5em;
  background-repeat: no-repeat;
  background-position: 0 .4em;
  background-size: .8em auto
}

.sedai .idx_inr {
  max-width: 1400px;
  width: 100%;
  padding: 36px 0;
  margin-bottom: 30px;
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-color: #fff;
  background-position: 100% 0
}

.sedai .idx_inr:nth-of-type(2) {
  background-position: 0 0
}

.sedai .idx_box {
  color: #2e2e2e;
  background-color: #ffffff61;
  box-shadow: 3px 3px 5px rgba(162,162,162,.2);
  max-width: 858px;
  margin: 0 auto 0 0;
  padding: 30px 24px 24px 65px;
}

.sedai .idx_inr:nth-of-type(2) .idx_box {
  box-shadow: -3px 3px 5px rgba(162,162,162,.2);
  margin: 0 0 0 auto
}
.sedai .idx_inr:nth-of-type(4) .idx_box {
  box-shadow: -3px 3px 5px rgba(162,162,162,.2);
  margin: 0 0 0 auto
}

.sedai_ttl {
  position: relative;
  font-size: 26.87px;
  margin: 0 0 24px;
  border-bottom: 1px solid #977c4c;
}
.sedai_ttl span{
  font-size: 35px;
  color: #bfa250;
}
  

.sedai_ttl:before {
  content: "";
  display: block;
  position: absolute;
  width: 99px;
  aspect-ratio: 1/1;
  left: -45px;
  top: -24px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.sedaittl01:before{
  background-image: url(../images/top/h-img.png);
  background-repeat: no-repeat;
}
.sedaittl02:before{
  background-image: url(../images/top/h-img2.png);
  background-repeat: no-repeat;
}
.sedaittl03:before{
  background-image: url(../images/top/h-img3.png);
  background-repeat: no-repeat;
}

/* .sedai_ttl span{
  position: relative;
  z-index: 3;
  display: inline-block;
  mix-blend-mode: multiply;
} */
/* .sedaittl01 span {
  border-bottom: 1px solid #a460aa;
}
.sedaittl02 span {
  border-bottom: 1px solid #4b90cf;
}
.sedaittl03 span {
  border-bottom: 1px solid #977c4c;
} */

.sedai_lead {
  display: flex;
  align-items: center;
  padding: 0 0 16px;
  margin: 0 auto 15px 0;
  width: 60%;
}

.sedai_lead p {
  display: block;
  /* text-align: center */
}

.sedai_lead p i {
  display: block
}

.sedai_lead p .ja {
  font-size: 27.52px
}

.sedai_lead p .en {
  font-size: 39.63px;
  font-weight: 700
}

.sedai_lead figure {
  flex: 1
}

.sedai .idx_lst {
  font-size: 15px
}
.sedai .idx_lst li {
  line-height: 1.3;
  /* letter-spacing: -.06em */
}
.sedai .idx_lst li::before {
  content: "●"; /* ● を表示 */
  font-size: 20px; /* 文字のサイズ */
  color: #C88E48; /* 色を変更したい場合 */
  margin-right: 10px; /* アイコンとテキストの間隔 */
  position: relative;
  top: 3px; /* アイコンの位置調整 */
}
.sedai01 li {
    background-image: url(../images/top/check.png);
    background-repeat: no-repeat;
    line-height: 1.3;
    /* letter-spacing: -.06em; */
}
.sedai02 li {
  background-image: url(../images/top/check2.png);
  background-repeat: no-repeat;
  line-height: 1.3;
  /* letter-spacing: -.06em */
}
.sedai03 li {
  background-image: url(../images/top/check3.png);
  background-repeat: no-repeat;
  line-height: 1.3;
  /* letter-spacing: -.06em */
}

.sedai .idx_lst li span {
  display: block
}
.sedai .idx_lst li em {
    font-weight: 600;
    font-size: 19px;
}
.sedai01 li em{
  color: #C88E48;
}
.sedai02 li em{
    color: #C88E48;
}
.sedai03 li em{
    color: #C88E48;
}
.sedai04 li em{
  color: #C88E48;
}

.sedai_fig {
  position: absolute
}

.sedai .idx_gnr_btn {
  width: unset;
  left: unset;
  right: 36px;
  bottom: 20px
}

.idx_gnr_01 {
  background-image: url(../images/dream01.png);
  background-repeat: no-repeat;
}


.idx_gnr_01 .sedai_lead p {
  margin-right: 42px
}

.idx_gnr_01 .sedai_lead figure img {
  width: 109px;
  aspect-ratio: 109/149
}

.idx_gnr_01 .idx_lst li:nth-of-type(3) {
  /* padding-left: .8em */
}

.idx_gnr_01 .sedai_fig {
  width: 366px;
  bottom: 40px;
  right: 0px;
}

.idx_gnr_01 .sedai_fig img {
  aspect-ratio: 366/272;
  padding: 10px;
}

.idx_gnr_02 {
  background-image: url(../images/dream02.png);
  background-repeat: no-repeat;
}

.idx_gnr_02 .sedai_lead p {
  margin-right: 36px
}

.idx_gnr_02 .sedai_lead figure img {
  width: 103px;
  aspect-ratio: 103/138
}

.idx_gnr_02 .idx_lst li:nth-of-type(2) span:nth-of-type(2) {
  margin-left: -.4em
}

.idx_gnr_02 .sedai_fig {
  width: 378px;
  bottom: 40px;
  right: 42px
}

.idx_gnr_02 .sedai_fig img {
  aspect-ratio: 378/269
}

.idx_gnr_03 {
  background-image: url(../images/dream03.png);
  background-repeat: no-repeat;
}


.idx_gnr_03 .sedai_lead p {
  margin-right: 30px
}

.idx_gnr_03 .sedai_lead figure img {
  width: 117px;
  aspect-ratio: 117/144
}

.idx_gnr_03 .idx_lst li:nth-of-type(2),.idx_gnr_03 .idx_lst li:nth-of-type(3) {
  padding-left: 1em
}

.idx_gnr_03 .sedai_fig {
  width: 377px;
  bottom: 40px;
  right: 42px
}

.idx_gnr_03 .sedai_fig img {
  aspect-ratio: 377/269
}


.idx_gnr_04{
  background-image: url(../images/dream04.png);
  background-repeat: no-repeat;
}
.idx_gnr_04 .sedai_lead p {
  margin-right: 30px
}

.idx_gnr_04 .sedai_lead figure img {
  width: 117px;
  aspect-ratio: 117/144
}

.idx_gnr_04 .idx_lst li:nth-of-type(2),.idx_gnr_04 .idx_lst li:nth-of-type(3) {
  padding-left: 1em
}

.idx_gnr_04 .sedai_fig {
  width: 377px;
  bottom: 40px;
  right: 42px
}

.idx_gnr_04 .sedai_fig img {
  aspect-ratio: 377/269
}


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

.btn03 {
  position: relative;
}
.btn03 a {
  display: inline-block;
  position: relative;
  min-width: 250px;
  box-sizing: border-box;
  padding: 17px 38px 17px 25px;
  margin: 20px 0;
  line-height: 1;
  border-radius: 40px;
  text-align: left;
  font-weight: bold;
  text-decoration: none;
  font-size: 15px;
}
.btn03 a:hover::before {
  right: 20px;
}

.btn03 a:hover::before{
	right: 20px;
}

.btn03 a:hover::after{
	left:0;
	top:0;
}
.btn03 a i{
	margin-right: 7px;
	font-size: 12px;
}
/* 一つ目のボタン */
.sedaibtv01 a {
	border: 1px solid #977c4c;
	color: #977c4c;
	transition: background-color 1s ease, color 1s ease;
}
.sedaibtv01 a:hover {
	color: #fff;
	background:#977c4c;
}

/* 二つ目のボタン */
.sedaibtv02 a {
  border: 1px solid #977c4c;
  color: #977c4c;
	transition: background-color 1s ease, color 1s ease;
}
.sedaibtv02 a:hover {
	color:#fff;
	background:#977c4c;
}

/* 三つ目のボタン */
.sedaibtv03 a {
	border: 1px solid #977c4c;
	color: #977c4c;
	transition: background-color 1s ease, color 1s ease;
}

.sedaibtv03 a:hover{
	color:#fff;
	background-color:#977c4c;
}
.sedaibtv03 a:hover::before{
	border-color:#977c4c;
  color: #fff;
}

/* 四つ目のボタン */
.sedaibtv04 a {
	border: 1px solid #977c4c;
	color: #977c4c;
	transition: background-color 1s ease, color 1s ease;
}

.sedaibtv04 a:hover{
	color:#fff;
	background-color:#977c4c;
}
.sedaibtv04 a:hover::before{
	border-color:#977c4c;
  color: #fff;
}
/* ----------------------------------------------------
タブレット用（768px〜1024px）
---------------------------------------------------- */
/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media (max-width: 768px) {
}
/*-------------------------------------- 理想ブロック --------------------------------------*/

/*-------------------------------------- CV --------------------------------------*/
/* 見出し */
.dream-ttlbloc {
  margin: 30px auto;
}
.cvttl {
  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;
}
.cvttl .mini {
  font-size: 25px;
}

.cvttlspan {
  font-size: 45px;
  background: linear-gradient(135deg, #6a4e23, #a67c52, #8b5e3c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logobloc img {
  margin: 0 auto;
}

.cv-block {
  background: #fffdf6;
  padding: 60px 20px;
  font-family: 'Noto Serif JP', serif;
}

.cv-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto;
}

.cv-box {
  background: #fff;
  border: 1px solid #d8b36d;
  padding: 30px 20px;
  text-align: center;
  text-decoration: none;
  color: #5c4322;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(216, 179, 109, 0.2);
}

.cv-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(216, 179, 109, 0.4);
}

.cv-icon {
  font-size: 36px;
  margin-bottom: 15px;
  color: #b68b32;
}

.cv-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 8px;
  color: #7c5c2f;
}

.cv-desc {
  font-size: 0.95rem;
  margin-bottom: 15px;
  color: #6c5842;
}

.cv-contact {
  font-size: 1.4rem;
  font-weight: bold;
  color: #b68b32;
}

/* 個別カラー強調 */
.cv-box.web {
  background: linear-gradient(to bottom, #fdf5d7, #fffaf1);
}

.cv-box.line {
  background: #f9f3e5;
}

.cv-box.line .cv-icon {
  color: #00b900;
}

.cv-box.line .cv-contact {
  color: #00a000;
}

.banerbloc {
  max-width: 1300px;
  margin: 20px auto;
}
.banerbloc img {
  width: 75%;
  margin: auto;
}
/*-------------------------------------- CV --------------------------------------*/


/*-------------------------------------- 選ばれる理由ブロック --------------------------------------*/
/* 見出し */
.head_wrap {
  margin: 50px 0 100px;
}
.ttl {
  color: #644A2F;
  font-size: 2.5rem;
  text-align: center;
  line-height: 1.5;
  
}
.h2size1 {
  font-size: 3rem;
  font-weight: 500;
}
.featureline {
  background: linear-gradient(to top, #fff4d1 20%, transparent 24%);
}
@media screen and (max-width: 768px) {
.head_wrap {
  margin: 0 0 30px;
}
.ttl {
  color: #644A2F;
  font-size: 1rem;
  text-align: center;
  line-height: 1.5;
  
}
.h2size1 {
  font-size: 1.5rem;
  font-weight: 500;
}
.featureline {
  background: linear-gradient(to top, #fff4d1 20%, transparent 24%);
}
}
/* ここまで */



/* 丸部分 */
.reason_circle p {
  color: #fff;
	margin-bottom:0;
}

.reasonsec {
  margin: 0 0 max(3.214vw,41px);
  padding: 75px 0;
}
.reasonsec .top {
  background-image: url(../images/reasonhead.png);
  background-size: cover;
  height: auto;
  background-repeat: no-repeat;
  background-position: center;
  height: 76vh;
  background-size: contain;
}

.reasonsec .top .inr {
  width: max(49.786vw,647px);
  padding: max(47.143vw,612px) 0 0 max(4.643vw,60px);
}
.reasonsec .top h2 {
  font-size: max(2.357vw,30px);
  color: #333;
  line-height: 1.3;
  font-feature-settings: "palt";
  padding-left: max(2.857vw,37px);
}
.reasonsec .top h2 span {
  font-size: max(2.643vw,34px);
  color: #39beb5;
}
.reasonsec .top h2 i {
  font-size: max(2.929vw,38px);
}
.reasonsec .top h2 em {
  font-size: max(3.429vw,44px);
}
.reasonsec .top .bx {
  padding-left: max(2.857vw,37px);
  margin-top: max(0.714vw,9px);
  padding-top: max(1.571vw,20px);
  border-top: 1px solid #2e2e2e;
}
.reasonsec .top .bx p {
  position: relative;
  font-size: max(1.786vw,23px);
  color: #2e2e2e;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: max(0.857vw,11px);
}
.reasonsec .top .bx ul {
  margin-top: max(1.429vw,18px);
}
.reasonsec .top .bx ul li {
  font-size: max(1.929vw,25px);
  color: #2e2e2e;
  font-feature-settings: "palt";
  padding-left: max(2.5vw,32px);
  position: relative;
}
.reasonsec .top .bx ul li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: max(1.643vw,21px);
  height: max(1.643vw,21px);
  background-image: url(../images/top/satis_ico_01.png);
  background-size: cover;
}
.reasonsec .top .bx ul li span {
  font-size: max(2.357vw,30px);
}
.reasonsec .reason {
  position: relative;
}

.reasonsec .reason .block {
    position: relative;
    display: flex;
/*     flex-wrap: wrap; */
    justify-content: space-between;
    padding: max(3.214vw, 41px) max(3.571vw, 15px);
    background-image:
        repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.08) 0, rgba(0, 0, 0, 0.08) 1px, transparent 1px, transparent 10px),
        repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.08) 0, rgba(0, 0, 0, 0.08) 1px, transparent 1px, transparent 10px);
    background-color: #fff;
    background-size: 10px 10px;
	max-width: 1400px;
	margin: auto;
}


.reasonsec .reason .block + .block {
  margin-top: max(5.357vw,69px);
}
.reasonsec .reasonblock {
  position: relative;
  width: max(45.429vw,590px);
  padding: max(3vw,39px) max(2.857vw,15px) max(2.571vw,33px);
  background-color: #fff;
}
.reasonsec .reasonblock .num {
  position: absolute;
  top: min(-6.286vw,-82px);
  left: 50%;
  transform: translateX(-50%);
  mix-blend-mode: multiply;
  border-radius: 50%;
  background-color: #c88e48;
  width: max(7.571vw,98px);
  height: max(7.571vw,98px);
}
.reasonsec .reasonblock .num .bx {
  position: relative;
  width: max(7.571vw,98px);
  height: max(7.571vw,98px);
  border-radius: 50%;
}
.reasonsec .reasonblock .num .tx {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  color: #fff;
  padding-top: max(0.714vw,9px);
}
.txt span {
  color: #bfa250;
  font-weight: 700;
}
.reasonsec .reasonblock .num .tx p {
  font-size: 3.5rem;
  line-height: 1;
  text-align: center;
}
.reasonsec .reasonblock .num .tx p:first-child {
  font-size: max(1.143vw,10px);
}
.reasonsec .reasonblock h3 {
  margin-top: max(3.714vw,48px);
  width: 100%;
  padding: max(0.643vw,8px) max(2.429vw,31px);
  background-color: #c88e48;
  font-size: max(1.571vw,20px);
  color: #fff;
  line-height: 1;
}
.reasonsec .reasonblock .txt {
  margin-top: max(0.857vw,11px);
  padding: 0 max(2.429vw,5px);
  /* font-size: max(1.286vw,16px); */
  color: #4c4c4c;
  text-align: justify;
  min-height: max(5.286vw,68px);
}
.reasonsec .reasonblock .btn {
  width: max(7.857vw,102px);
  margin: max(2.714vw,35px) 0 0 auto;
}
.reason_img img {
  margin: auto;
}
.reasonsec .reasonblock .img {
  position: relative;
}
.reasonsec .reasonblock .img .sub {
  position: absolute;
}
.reasonsec .reasonblock02 .num,
.reasonsec .reasonblock03 .num {
  background-color: #4d9fc5;
}
.reasonsec .reasonblock02 h3,
.reasonsec .reasonblock03 h3 {
  background-color: #4d9fc5;
}
.reasonsec .reasonblock01 .img .sub {
  right: min(-1.429vw,-19px);
  bottom: min(-2.143vw,-28px);
  width: max(15.429vw,200px);
}
.reasonsec .reasonblock02 .img .sub {
  right: min(-1.429vw,-19px);
  bottom: min(-2.143vw,-28px);
  width: max(15.429vw,200px);
}
.reasonsec .reasonblock03 .img .sub {
  right: min(-1.143vw,-15px);
  bottom: min(-2.857vw,-38px);
  width: max(9vw,117px);
}
.reasonsec .reasonblock04 .img .sub {
  right: min(-0.357vw,-5px);
  bottom: min(-2.571vw,-34px);
  width: max(10.857vw,141px);
}

.secAfap {
  margin: 0 0 max(6.429vw,83px);
  padding: max(8.143vw,105px) 0 0;
  background-image: linear-gradient(to bottom, #fffcf1 0, #fffcf1 50%, transparent 50%, transparent 100%);
  /* ------------------------------------- afap_1 */
  /* ------------------------------------- afap_2 */
  /* ------------------------------------- afap_3 */
}
.secAfap h2 {
  width: max(16.429vw,213px);
  margin: 0 auto max(3.571vw,46px);
}
.secAfap .lead {
  text-align: center;
  margin: 0 auto max(1.857vw,24px);
  font-size: max(2.143vw,27px);
  letter-spacing: 0.05em;
  color: #4f4f4f;
}
.secAfap .lead span {
  display: inline-block;
  border-bottom: 1px solid #fc9221;
}
.secAfap .lead span::first-letter {
  font-size: max(3vw,39px);
}
.secAfap .lead .fz42 {
  font-size: max(3vw,39px);
}
.secAfap .inr {
  display: flex;
  align-items: flex-start;
}
.secAfap .box a {
  display: block;
  background-repeat: no-repeat;
  background-size: max(0.929vw,12px) auto;
  background-position: calc(100% - 0.857vw) calc(100% - 0.857vw);
}
.secAfap .box .ttl {
  font-size: max(1.571vw,20px);
  padding: max(0.429vw,5px) 0;
  margin: 0 max(1.571vw,20px) max(1.571vw,20px);
  text-align: center;
  border-bottom: 1px dotted #7d6451;
  color: #7a5d46;
  letter-spacing: 0.1em;
}
.secAfap .box .desc {
  font-size: max(1.143vw,14px);
  line-height: 1.5;
  margin: 0 max(2.286vw,29px);
  min-height: max(8vw,104px);
}
.secAfap .afap_1 {
  margin-top: max(2.357vw,30px);
}
.secAfap .afap_1 a {
  background-color: #ebd8ca;
  background-image: url("../images/top/afap_arrow_1.png");
}
.secAfap .afap_2 {
  border-left: 1px solid #e6dec2;
  border-right: 1px solid #e6dec2;
  padding-top: max(7vw,91px);
  background-repeat: no-repeat;
  background-size: max(4vw,52px) auto;
  background-position: center top 12px;
  background-image: url("../images/top/afap_logo.png");
}
.secAfap .afap_2 a {
  background-color: #ffecd8;
  background-image: url("../images/top/afap_arrow_2.png");
}
.secAfap .afap_2 a .ttl {
  color: #fc9221;
  border-color: #fc9221;
}
.secAfap .afap_3 {
  margin-top: max(2.357vw,30px);
}
.secAfap .afap_3 a {
  background-color: #ebd8ca;
  background-image: url("../images/top/afap_arrow_1.png");
}

.secMenu {
  margin: 0 auto max(5.357vw,69px);
}
.secMenu h2 {
  width: max(28.5vw,370px);
  margin: 0 auto max(3.571vw,46px);
}
.secMenu .inr {
  width: max(92.857vw,1207px);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: max(1.714vw,22px);
}
.secMenu .dmy {
  display: block;
  width: max(21.571vw,280px);
}
.secMenu a {
  display: block;
  width: max(21.571vw,280px);
  position: relative;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("../images/top/menu_bg.png");
}
.secMenu a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/top/menu_bg.png");
  background-size: cover;
  opacity: 0.8;
  transition: 0.3s;
}
.secMenu a:hover::before {
  opacity: 0.2;
}
.secMenu a span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  font-size: max(1.714vw,22px);
  color: #fff;
  line-height: 1.2;
  text-align: center;
  filter: drop-shadow(5px 0 8px rgba(60, 60, 60, 0.35));
}
.secMenu a span em {
  font-size: max(1.429vw,18px);
}

.secCase {
  margin: 0 auto max(5.357vw,69px);
  /* ------------------------------ twentytwenty */
}
.secCase .logo {
  width: max(5.143vw,66px);
  margin: 0 auto max(3.571vw,46px);
}
.secCase .bg {
  position: relative;
  padding: max(3.571vw,46px) 0 max(5.857vw,76px);
  background-image: url(../images/top/case_bg.jpg);
  background-position: center;
  background-size: cover;
}
.secCase .head {
  width: max(40vw,520px);
  margin: 0 0 0 max(18.214vw,236px);
}
.secCase .head h2 {
  font-size: max(3.571vw,46px);
  color: #fff;
  line-height: 1;
  letter-spacing: max(0.143vw,1px);
  margin-bottom: max(1.071vw,13px);
}
.secCase .head h2 em {
  font-size: max(4.286vw,55px);
}
.secCase .head .label {
  font-size: max(1.786vw,23px);
  color: #454545;
  text-align: center;
  letter-spacing: 1px;
  background-color: #fff;
}

/* --------------------------------------
  1200px以下（小さめPC・横幅縮小時）
-------------------------------------- */
@media screen and (max-width: 1200px) {
  .ttl {
    color: #644A2F;
    font-size: 2rem;
    text-align: center;
    line-height: 1.5;
}
  .h2size1 {
    font-size: 2.5rem;
    font-weight: 500;
}
  .reasonsec .top .inr {
    width: 80%;
    padding: 40% 0 0 5%;
  }
  .reasonsec .reason .block {
    padding: 40px 15px;
  }
  .reasonsec .reasonblock {
    width: 48%;
    margin-bottom: 40px;
  }
}

/* --------------------------------------
  1024px以下（タブレット横）
-------------------------------------- */
@media screen and (max-width: 1024px) {
  .reasonsec .top h2 {
    font-size: 2rem;
  }
  .reasonsec .reasonblock h3 {
    font-size: 1.2rem;
  }
  .secAfap .lead {
    font-size: 1.5rem;
  }
}

/* --------------------------------------
  768px以下（タブレット縦・スマホ大）
-------------------------------------- */
@media screen and (max-width: 768px) {
  .head_wrap {
    margin: 0 0 30px;
  }
  .ttl {
    font-size: 1rem;
  }
  .h2size1 {
    font-size: 1.5rem;
  }

  .reasonsec .reason .block {
    flex-direction: column;
    padding: 30px 15px;
  }
  .reasonsec .reasonblock {
    width: 100%;
    margin: 40px 0;
  }
  .reasonsec .reasonblock .num .tx {
    width: 60%;
    height: 60%;
  }
  .reasonsec .reasonblock .num .tx p {
    font-size: 2.5rem;
  }
}

/* --------------------------------------
  480px以下（スマホ）
-------------------------------------- */
@media screen and (max-width: 480px) {
  .ttl {
    font-size: 0.9rem;
  }
  .h2size1 {
    font-size: 1.2rem;
  }
  .reasonsec .top h2 {
    font-size: 1.5rem;
    padding-left: 15px;
  }
  .reasonsec .top .bx p {
    font-size: 1rem;
  }
  .secAfap .lead {
    font-size: 1.2rem;
  }
  .secAfap .lead .fz42 {
    font-size: 1.5rem;
  }
}


/*-------------------------------------- 感染症対策 --------------------------------------*/
.infection-measures {
  padding: 40px 20px;
  text-align: center;
  color: #333;
}

.infection-measures__title {
  font-size: 24px;
  margin-bottom: 40px;
  color: #2b4d6f;
}

.infection-measures__emphasis {
  border-bottom: 2px solid #2b8dbf;
  padding-bottom: 2px;
}

.infection-measures__cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: max(3.214vw, 41px) max(3.571vw, 46px);
	max-width: 1400px;
}

.infection-measures__card {
  background-color: #F9F6F3;
  flex: 1;
  min-width: 300px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 90, 160, 0.1);
  transition: transform 0.3s;
}

.infection-measures__card--highlighted {
  background-color: #F1EEEA;
}

.infection-measures__image {
  width: 100%;
  margin-bottom: 16px;
}

.infection-measures__heading {
  font-size: 1.5rem;
  color: #69492a;
  margin-bottom: 12px;
  font-weight: 600;
  border-bottom: solid 1px #69492a;
  padding-bottom: 15px;
}

.infection-measures__text {
  line-height: 1.6;
  text-align: left;
}

/* --------- 1200px以下 --------- */
@media (max-width: 1200px) {
  .infection-measures__cards {
    gap: 16px;
    padding: 30px 20px;
  }
  .infection-measures__heading {
    font-size: 1.4rem;
  }
}

/* --------- 992px以下（タブレット横） --------- */
@media (max-width: 992px) {
  .infection-measures__cards {
    gap: 14px;
    padding: 20px 15px;
  }
  .infection-measures__card {
    min-width: 45%;
    padding: 18px;
  }
  .infection-measures__heading {
    font-size: 1.3rem;
  }
}

/* --------- 768px以下（タブレット縦） --------- */
@media (max-width: 768px) {
  .infection-measures__cards {
    flex-direction: column;
    padding: 0 10px;
  }
  .infection-measures__card {
    min-width: 100%;
    padding: 18px;
  }
  .infection-measures__heading {
    font-size: 1.2rem;
  }
}

/* --------- 576px以下（スマホ） --------- */
@media (max-width: 576px) {
  .infection-measures {
    padding: 20px 10px;
  }
  .infection-measures__title {
    font-size: 20px;
    margin-bottom: 30px;
  }
  .infection-measures__card {
    padding: 15px;
  }
  .infection-measures__heading {
    font-size: 1.1rem;
    padding-bottom: 10px;
  }
  .infection-measures__text {
    font-size: 0.9rem;
  }
}

/* ----------------------------------------------------------------------------------------------
チーム医療ブロック
---------------------------------------------------------------------------------------------- */
/* ----------------------総勢ブロック---------------------- */
.medical-team {
	padding: 0 20px;
  background-image: url(../images/staffbg.png);
  background-repeat: no-repeat;
  background-position: center center;
     background-size: cover;
    aspect-ratio: 1400 / 1188;
}

.medical-team__container {
  margin: 0 auto;
  text-align: center;
}

 .fstblo {
	 width: max(49.786vw, 647px);
	 padding: max(42.143vw, 612px) 0 0 max(4.643vw, 60px);
	 margin: 0 0 0 42.643vw;
 }
 .staff_ttl .head_wrap {
  margin: 10px 0;
 }
  .staff_ttl .head_wrap .h2size1 {
    font-size: 2.5rem;
}

.medical-team__label {
  font-size: 1.5rem;
  color: #333;
  border-bottom: 3px solid #e0d763; /* マスタード */
  display: inline-block;
  margin-bottom: 10px;
}

.medical-team__title {
  font-size: 36px;
  font-weight: 400;
  color: #645c53; /* ダークグレー */
}

.medical-team__title strong {
  font-size: 5rem;
  color: #a38c6e;
  font-weight: bold;
  margin: 0 10px;
}

.medical-team__photos {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin: 40px 0;
}

.medical-team__photos img {
  width: 200px;
  height: 240px;
  object-fit: cover;
  clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
  transition: transform 0.3s ease;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.medical-team__photos img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.medical-team__message {
  text-align: center;
  margin: 0 auto 40px;
}

.medical-team__text {
  background-color: #6d99c1;
  padding: 8px 16px;
  font-size: 16px;
  color: #fff;
  margin-bottom: 8px;
  width: 100%;
  margin: 0 auto 10px;
  clip-path: polygon(0 0, 90% 0%, 100% 100%, 10% 100%);
}


.medical-team__catch {
  background-color: #645c53;
  color: #fff;
  padding: 12px 20px;
  font-size: 20px;
  font-weight: bold;
  width: 500px;
  margin: 0 auto 40px;
  clip-path: polygon(0 0, 90% 0%, 100% 100%, 10% 100%);
}

.medical-team__specialists {
  background-color: #64a9c5;
  padding: 30px;
  color: #fff;
      width: 60%;
    margin: auto;
}

.medical-team__specialists ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); */
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.medical-team__specialists li {
  display: flex;
  align-items: center;
  font-size: 16px;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s;
}

.medical-team__specialists li:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.medical-team__specialists img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}
.specialist-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  font-family: 'Noto Sans JP', sans-serif;
}

.specialist-list li {
  display: flex;
  align-items: center;
  font-size: 16px;
  background: #f0f7fa;
  padding: 14px 18px;
  /* border-radius: 12px; */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
}

.specialist-list li:hover {
  background: #e0f2f7;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.icon-circle {
  background: linear-gradient(135deg, #88a8c2, #5c789b);
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 14px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  transition: background 0.3s;
}

.icon-circle i {
  color: #fff;
  font-size: 22px;
}

@media screen and (max-width: 768px) {
  .medical-team__label {
    font-size: 1rem;
  }
  .medical-team__title {
    font-size: 25px;
  }
  .medical-team__title strong {
    font-size: 3rem;
  }
  .medical-team__text {
    width: 100%;
    font-size: 14px;
  }
  .medical-team__catch {
    width: 100%;
    font-size: 15px;
  }
}

/* ----------------------院長のみ---------------------- */
.director-profile {
  background-color: #f0f8fb;
  padding: 60px 20px;
  /* font-family: 'Hiragino Kaku Gothic ProN', sans-serif; */
  color: #2a3e52;
}

.director-profile__inner {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
	max-width: 1400px;
}

.director-profile__left {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.director-profile__image {
  width: 100%;
  object-fit: cover;
}

.director-profile__badge {
  position: relative;
  background-color: rgba(0, 47, 86, 0.85);
  color: #fff;
  padding: 20px;
  margin-top: -60px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

.director-profile__subtitle {
  font-size: 16px;
  margin-bottom: 10px;
  border-bottom: 1px solid #fff;
  padding-bottom: 5px;
}

.director-profile__list {
  font-size: 14px;
  line-height: 1.8;
  list-style: none;
  padding: 0;
  margin: 0;
  color: #fff;
  text-align: left;
}
.director-profile__list span {
  font-size: 0.9rem;
  margin-right: 12px;
}

.director-profile__right {
  flex: 2;
  min-width: 400px;
}

.director-profile__quote {
  margin-bottom: 40px;
  position: relative;
}

.director-profile__vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 16px;
  position: absolute;
  right: -40px;
  top: 0;
  color: #666;
}

.director-profile__message {
  font-size: 20px;
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 20px;
}

.director-profile__message span {
  border-bottom: 2px solid #4ca3c7;
}

.director-profile__question {
  /* font-size: 15px; */
  line-height: 1.8;
}

.director-profile__question .highlight {
  color: #3a93b8;
  font-weight: bold;
}

.director-profile__bio {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  background-color: #e5f2f8;
  padding: 30px;
  border-radius: 10px;
  align-items: center;
}

.director-profile__career {
  flex: 2;
}

.director-profile__career h4 {
  margin-bottom: 10px;
}

.director-profile__career ul {
    font-size: 14px;
    line-height: 1.8;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 20px;
    padding-left: 0;
    list-style: none;
}

.director-profile__certificate {
  flex: 1;
  text-align: center;
}

.director-profile__certificate img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ccc;
}


/* ----------------------専門ドクター---------------------- */
.team-section {
  padding: 60px 20px;
  background: #fff url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23e5e5e5'/%3E%3C/svg%3E") repeat;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title-ja {
	font-size: 2rem;
  color: #4e75a7;
  margin-bottom: 10px;
}

.section-title-en {
  font-size: 22px;
  letter-spacing: 1px;
  color: #c2beb8;
  font-weight: bold;
  margin: 0;
}

.doctor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin: 0 auto;
  padding: max(3.214vw, 41px) max(3.571vw, 0px);
	max-width: 1400px;
}

.doctor-card {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: transform 0.3s ease;
}
img.certificate-img {
    position: absolute;
    width: 86%;
    top: 66px;
    right: 180px;
}
/* 
.doctor-card:hover {
  transform: translateY(-4px);
} */

.doctor-info {
  flex: 3;
}

.doctor-role {
  font-size: 14px;
  color: #666;
  margin: 0 0 6px;
}

.doctor-name {
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 10px;
}

.doctor-name.teal {
  color: #4ea79c;
}

.doctor-name.orange {
  color: #ec7e2d;
  display: inline-block; 
  margin-right: 0.5em;
}
.doctor-photo {
  flex:2;
	position: relative;
}
.doctor-photo img {
  height: auto;
  object-fit: cover;
}

.doctor-info ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
  font-size: 14px;
}
@media screen and (max-width: 768px) {
  .director-profile__inner {
  display: block;
}
.director-profile__right {
  min-width: 100%;
}
.director-profile__bio {
  flex-direction: column;
}
  .section-title-ja {
  font-size: 1.5rem;
}
  .doctor-grid {
    grid-template-columns: 1fr;
  }

  .doctor-card {
    flex-direction: column;
    text-align: center;
  }

  .doctor-info {
    padding: 0;
  }

  .doctor-photo img {
    width: 100px;
    margin-top: 15px;
  }
  
}
/* ----------------------かきょうしん---------------------- */
.dental-home {
  background: #f9fcff;
  padding: 60px 20px;
  border-radius: 8px;
  /* margin-top: 60px; */
  text-align: center;
}
.dental-home strong {
  border-bottom: 1px solid #007bff;
}

.dental-home .lead {
  margin-bottom: 40px;
  line-height: 1.8;
  font-size: 15px;
}

.home-support {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.support-item {
  background: #fff;
  box-shadow: 0 4px 12px rgba(74,144,226,0.15);
  padding: 25px 20px;
  flex: 1 1 280px;
  max-width: 320px;
  text-align: center;
}

.support-item i {
  font-size: 42px;
  color: #4a90e2; /* 青系で統一 */
  margin-bottom: 15px;
}

.support-item h3 {
  font-size: 1.1rem;
  color: #2f5597;
  margin-bottom: 10px;
}

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

.dental-home .note {
  font-size: 12px;
  color: #666;
  margin-top: 30px;
}

/* ----------------------治療方針ブロック---------------------- */
.feature-section {
  padding: 60px 20px;
  font-family: 'Noto Serif JP', serif;
  background-color: #fff;
  background: url(../images/featurebg.png) no-repeat top center / 100%;
  padding-top: max(5.714vw, 74px);
  box-sizing: border-box;
  width: 100%;
   aspect-ratio: 1400 / 1927;
}

.feature-header {
  text-align: center;
  margin-bottom: 50px;
}

.head_wrap p.feature-label{
  font-size: 20px;
  letter-spacing: 1px;
  color: #2b8dbf;
  margin-bottom: 5px;
  text-align: center;
}


.feature-subtitle {
  font-size: 14px;
  color: #666;
  margin: 0 auto;
  max-width: 600px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 30px;
  margin: 0 auto;
  padding: max(3.214vw, 41px) max(3.571vw, 0px);
	max-width: 1400px;
}

.feature-item {
  position: relative;
  background: #fefefe;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 20px 30px;
}

.feature-img {
    width: 85%;
    height: auto;
    display: block;
    margin: auto;
}

.feature-text {
  padding: 20px;
  position: relative;
}

.feature-text h3 {
  font-size: 1.5rem;
  margin: 0 0 10px;
  color: #5b4633;
  position: relative;
  font-weight: 600;
  text-align: center;
  border-bottom: 1px solid #9dbbd7;
  padding-bottom: 15px;
}
.feature-text span {
  color: #3b89d1;
  font-size: 1.8rem
}

.feature-text p {
  /* font-size: 14px;
  color: #555; */
  line-height: 1.6;
}

/* 番号装飾：::beforeで表示 */
/* .feature-item::before {
  content: attr(data-number);
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 48px;
  font-weight: bold;
  color: rgba(78, 167, 156, 0.15);
  z-index: 2;
  pointer-events: none;
} */

/* モバイル対応 */
@media screen and (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
    padding: 0;
  }
  .feature-item {
    padding: 20px 0;
  }
  .feature-item::before {
    font-size: 36px;
    top: 10px;
    left: 10px;
  }

  .feature-text {
    padding: 15px;
  }
  .feature-text h3 {
    font-size: 1rem;
  }
  .feature-text span {
    font-size: 1.2rem;
  }
  
}
/*------------------- 診療案内 -------------------*/
.clinic-menu {
  text-align: center;
  position: relative;
}
.headmenu {
  position: absolute;
  top: -160px;
  width: 100%;
}
.menu-heading {
    font-size: 3rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.2em;
    border-bottom: 1px solid rgba(83, 102, 135, .95);
    width: 80%;
    margin: 20px auto;
}

.menu-subheading {
  font-size: 1.5rem;
  color: #555;
  margin-bottom: 3em;
}
.menuwrap {
display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: max(.714vw, 9px) max(2.143vw, 27px);
    position: relative;
    height: 47.143vw;
    padding: 10vw 3.571vw 5vw;
    background: url(../images/menubg.png) no-repeat left bottom;
    background-size: 100% auto;
}
.menu-section {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: max(45.357vw, 589px);
    text-align: center;
}

.topmenu-title {
display: flex;
    align-items: center;
    justify-content: center;
    width: max(12.857vw, 167px);
    height: max(5.714vw, 74px);
    padding-right: max(1.286vw, 16px);
    font-size: max(1.286vw, 16px);
    line-height: 1.3;
    color: #fff;
    background: url(../images/menulibg.png) no-repeat 0 0 / cover;}

.topmenu-title::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 3em 0 0 1.5
}
.menu-grid {
  width: max(31.429vw, 408px);
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: max(.714vw, 9px);
}
.menu-item {
    width: max(10vw, 130px);
    background-color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    font-size: max(1.286vw, 16px);
    height: max(5.714vw, 74px);
    line-height: 1.3;
    padding: 0;
    box-shadow: .1em .1em .3em rgba(0, 0, 0, .15);
    transition: all .3s;
}
.menu-item p {
}
/*------------------- 診療案内ここまで -------------------*/
/*-------------------------------------- ピックアップブロック --------------------------------------*/
.treatment-wrapper {
      max-width: 1400px;
      margin: 0 auto;
      background: #f3f9ff;
      padding: 60px 40px;
      position: relative;
    }
    .treatment-bg-label p{
      font-size: 64px;
      color: rgba(0,0,0,0.1);
      letter-spacing: 0.15em;
      position: absolute;
      top: 0;
      left: 40px;
      z-index: 2;
    }
    .treatment-layout {
      display: flex;
      flex-wrap: wrap;
      gap: 40px;
      position: relative;
      z-index: 1;
    }
    .treatment-left, .treatment-right {
      flex: 1 1 100%;
    }
      .treatment-left {
        flex: 2;
      }
      .treatment-right {
        flex: 3;
        position: relative;
      padding-right: 8%;
      }
    .treatment-left img {
      width: 100%;
    }
    /* ボタン */
    .viewmore {
      text-align: center;
    }
    .treatment-btn {
        display: inline-block;
        background: linear-gradient(135deg, #004e66 0%, #3ba6d1 50%, #b1e4f5 100%);
        color: white;
        text-align: center;
        padding: 12px 32px;
        font-style: italic;
        font-weight: bold;
        margin-top: 20px;
        text-decoration: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
    }

    .treatment-btn:hover {
        color: white;
        background: linear-gradient(135deg, #003849 0%, #2c9ec8 50%, #a8e0f0 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    }

    .treatment-ribbon {
    position: absolute;
    top: -40px;
		right: -15px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #004e66 0%, #3ba6d1 50%, #b1e4f5 100%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 1px;
    }
    .treatment-ribbon span {
      transform: rotate(-45deg);
      color: white;
      font-size: 16px;
      text-align: center;
      line-height: 1.6;
    }
    .treatment-vertical-label {
      position: absolute;
      top: 210px;
      right: 0;
      writing-mode: vertical-rl;
      font-size: 32px;
      color: #004e66;
      line-height: 1.4;
      font-weight: bold;
    }
    .treatment-vertical-label span {
		font-size: 30px;
    }
    .treatment-headline {
      font-size: 24px;
      line-height: 1.8;
      margin-top: 10%;
      margin-bottom: 40px;
    }
    .treatment-box {
      display: flex;
      align-items: flex-start;
      position: relative;
      background: #f7f7f7;
      padding: 20px;
      margin-bottom: 20px;
    }
    .treatment-box img {
      position: absolute;
      top: -10px;
      left: -15px;
		width: 210px;
      height: auto;
      margin-right: 20px;
    }
    .treatment-box strong {
      font-size: 1.2rem;
      display: block;
      margin-bottom: 8px;
    }
    .treatment-box p {
      margin: 0;
      line-height: 1.6;
    }
    .treatment-txt {
		padding: 0 0 0 35%;
    }
    em.under {
      background: linear-gradient(
    to bottom,
    transparent 0,
    transparent 70%,
    rgba(59, 166, 209, 0.3) 70%,
    rgba(59, 166, 209, 0.3) 100%
  );
    }
    /* 逆配置用 */
.treatment-layout.reverse {
  flex-direction: row-reverse;
}

/* ------------------2つ目（逆向き）だけ左側にする */
.treatment-layout.reverse .treatment-ribbon {
	left: -15px;
  right: auto;
}

.treatment-layout.reverse .treatment-vertical-label {
  left: 0;
  right: auto;
  text-align: left;
}
/* 2つ目（.dark）だけ色変える */
.treatment-wrapper.dark {
  background: #f1ede6;
}

.treatment-wrapper.dark .treatment-ribbon {
background: linear-gradient(135deg, #c4a77d 0%, #dec4a1 50%, #f5e8d0 100%);
box-shadow: 0 4px 10px rgba(180, 140, 100, 0.3);
}
.treatment-wrapper.dark .treatment-ribbon span {
      color: #69492a;
}

.treatment-wrapper.dark .treatment-btn {
  background: linear-gradient(135deg, #c4a77d 0%, #dec4a1 50%, #f5e8d0 100%);
  color: #69492a;
}

.treatment-wrapper.dark .treatment-btn:hover {
  background: linear-gradient(135deg, #c4a77d 0%, #dec4a1 50%, #f5e8d0 100%);
  color: #69492a;
}
.treatment-wrapper.dark .treatment-bg-label p{
  right: 0;
  left: auto;
}
.treatment-wrapper.dark .treatment-vertical-label {
  color: #2c3e50;
}
.treatment-wrapper.dark .treatment-headline {
  padding-left: 50px;
}
.treatment-wrapper.dark .reverse .treatment-right {
    padding-left: 10%;
    padding-right: 0;
}
.treatment-wrapper.dark .reverse .treatment-right .treatment-vertical-label {
    color: #977c4c;
}
.treatment-wrapper.dark .treatment-headline em.under {
      background: linear-gradient(
  to bottom,
  transparent 0,
  transparent 70%,
  rgba(196, 167, 125, 0.3) 70%,
  rgba(196, 167, 125, 0.3) 100%
);
    }

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media (max-width: 768px) {
  .treatment-wrapper {
   padding: 60px 15px; 
  }
  .treatment-layout {
  flex-direction: column;
  gap: 20px;
}
.treatment-left, .treatment-right {
  flex: 1 1 100%;
  padding-right: 0;
}
.treatment-headline {
  font-size: 20px;
  margin-bottom: 24px;
  line-height: 1.5;
  text-align: center;
}
.treatment-box {
  padding: 10px 5px;
}

.treatment-box img {
  position: relative;
  top: 0;
  left: 0;
  margin-right: 5px;
  flex:1;
}
.treatment-txt {
  padding: 0;
  flex: 3;
}
.treatment-bg-label p{
  font-size: 2rem;
  width: 100%;
  top:0;
  left: 6%;
}
.treatment-ribbon span {
  font-size: 0.9rem;
}
.treatment-vertical-label {
  position: static;
  writing-mode: initial;
  font-size: 1.5rem;
  font-weight: normal;
  text-align: center;
}
.treatment-vertical-label span {
    font-size: 1.7rem;
}
.viewmore {
  text-align: center;
}
.treatment-ribbon {
  width: 140px;
  height: 140px;
  top: -152px;
  right: 20px;
  font-size: 12px;
}
.treatment-btn {
  width: 100%;
  padding: 14px 0;
  font-size: 16px;
}
.treatment-box strong {
  font-size: 0.8rem;
}
.treatment-box p {
    font-size: 0.7rem;
}
.treatment-layout.reverse {
  flex-direction: column;
}

/* ------------------2つ目（逆向き）だけ左側にする */
.treatment-wrapper.dark .reverse .treatment-right {
  padding: 0;
}
.treatment-wrapper.dark .treatment-headline {
    padding-left: 0;
}
.treatment-wrapper.dark .treatment-ribbon {
    left: -5px;
    top: -180px;
}
}


/*------------------------------------- 無料相談 --------------------------------------*/
section.consultation {
  background: url(../images/consultation.png) no-repeat top center / 100%;
  width: 100%;
  aspect-ratio: 1400 / 762;
  padding: max(4.571vw, 59px) 0 max(1.429vw, 19px);
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  margin-top: max(7.143vw, 93px);
  margin-bottom: max(7.143vw, 93px);
}
.consult-block {
  width: 100%;
  padding: 0 3%;
  max-width: 1400px;
  margin: 0 auto;
}

h2.ja-title {
  line-height: 1.2em;
  font-size: max(2.976vw, 39px);
  display: flex;
  height: max(8.214vw, 107px);
  align-items: center;
  box-sizing: border-box;
  padding-top: .2em;
  letter-spacing: .14em;
  margin-bottom: max(2.5vw, 32px);
  color: #5b4633;
}
p.en-title {
  width: 50%;
  line-height: 1em;
  font-size: 2rem;
  letter-spacing: .08em;
  border-bottom: 1px solid;
  box-sizing: border-box;
  padding-bottom: max(1.143vw, 15px);
  margin-bottom: max(1.929vw, 25px);
}
.consult-copy p {
  line-height: 1.5;
  font-size: 1.2rem;
  letter-spacing: .14em;
  margin: 20px 0;
}

.cta-button {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(to right, #3b89d1, #b1cde7);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  text-align: center;
}

.cta-button:hover {
  color: #fff;
  background: linear-gradient(to right, #3b89d1, #b1cde7); /* 逆方向で光るように */
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}

/*------------------------------------- 無料相談ここまで --------------------------------------*/
/*------------------------------------- 症例ブロック --------------------------------------*/


.treatment-section {
  position: relative;
  padding: 60px 5% 80px;
  overflow: hidden;
}
.treatment-section .head_wrap {
  margin: 0;
}

.treatment-section .head_wrap .ttl{
  color: #fff;
}

.angle-bg {
  position: absolute;
  top: 0;
  left: -20%;
  width: 200%;
  height: 80%;
  background: #aec6dd;
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
  z-index: -1;
}
.angle-bg::after {
  content: "CASE LIST";
  position: absolute;
  top: 20%;
  left: 10%;
  font-size: 18rem;
  color: rgba(255, 255, 255, 0.1); /* 薄い白文字 */
  font-weight: bold;
  letter-spacing: 10px;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.treatment-section .content {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.right-content {
  color: white;
  max-width: 700px;
  text-align: center;
  margin: auto;
}

.ja-box {
  background: white;
  color: #977c4c;
  display: inline-block;
  padding: 6px 14px;
  font-size: 16px;
  margin: 10px 0;
  /* font-weight: bold; */
}

.right-content .desc {
  font-size: 15px;
  line-height: 1.8;
}

.note {
  font-size: 12px;
  margin-top: 10px;
}

.card-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.case-card {
  flex:1;
  background: white;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  padding: 25px 20px;
  /* max-width: 300px; */
  position: relative;
  text-align: center;
}

.label {
    position: absolute;
    top: -15px;
    left: 0;
    background: #e3d09b;
    padding: 15px 30px;
    font-weight: bold;
    border-radius: 4px 4px 0 0;
    color: #5b4633;
}

.case-card h3 {
  font-size: 18px;
  margin-top: 40px;
}

.image-box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0 15px;
  position: relative;
}

.image-box img {
  width: 90%;
}

.slider {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 4px 10px;
  border: 1px solid #ccc;
  border-radius: 50%;
  font-size: 14px;
}

.case-card .desc {
  font-size: 14px;
  line-height: 1.6;
}
.case-info {
    list-style: none;
    padding: 15px 20px;
    margin: 15px auto 8px;
    background: #f8f6f0;
    border: 1px solid #e3d09b;
    max-width: 320px;
    font-size: 15px;
    line-height: 1.6;
}
.case-info li span {
    font-weight: bold;
    color: #5d4c3b;
}
.case-note {
  font-size: 12px;
  color: #777;
  margin: 6px 0 12px;
}

.case-btn {
	display: inline-block;
	padding: 8px 20px;
	background: #b9a675;
	color: #fff;
	font-size: 14px;
	text-decoration: none;
	transition: 0.3s;
}

.case-btn:hover {
  background: #cdb77e;
}
/*------------------------------------- 症例ブロックここまで --------------------------------------*/
/*---------------------------------------------------------------------

  理想(症例ブロック)
 
 ---------------------------------------------------------------------*/

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

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

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


.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;
  }
}


/*------------------------------------- 初診の方へ --------------------------------------*/
/* -------------------流れ------------------- */
.implant-flow {
  background: #fff;
  padding: 60px 20px;
  margin: 0 auto;
  font-family: 'Noto Serif JP', serif;
}

.flowbloc {
  width: 94%;
  padding: 0 3%;
  max-width: 1200px;
  margin: 75px auto;
}

.flow-title {
  text-align: center;
  font-size: 2rem;
  color: #6c4f2e;
  margin-bottom: 40px;
  position: relative;
}

.flow-row {
  display: flex;
  align-items: stretch;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  position: relative;
}

.flow-label {
  align-self: stretch;
  width: 25%;
  text-align: center;
  background: #c3d9e9;
  padding: 30px;
  box-sizing: border-box;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #6c4f2e;
  position: relative;
}

.flow-label img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 10px;
}

.flow-label p {
  font-weight: bold;
  color: #6c4f2e;
  font-size: 1.1rem;
}

.flow-content {
  flex: 1;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.flow-text {
  flex: 1;
  font-size: 1rem;
  color: #444;
  line-height: 1.8;
}

.flow-image {
  flex-shrink: 0;
  width: 30%;
}

.flow-image img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
}

/* ラベルの中央から下に向かう線 */
.flow-row:not(:last-child) .flow-label::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 40px;
  background-color: #3b89d1;
  z-index: 1;
}

/* ラベルの上にも線（上のラベルとつながる） */
.flow-row:not(:first-child) .flow-label::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 20px;
  background-color: #3b89d1;
  z-index: 1;
}

/* -------------------流れ------------------- */

/*------------------------------------- 初診の方へここまで --------------------------------------*/
/*------------------------------------- コラム+カレンダー --------------------------------------*/

.info-sec {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 40px;
  border: 1px solid #ddd;
  max-width: 1400px;
  margin: auto;
  box-sizing: border-box;
}

.news-box,
.schedule-box {
  width: 50%;
}

.section-title {
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 0.1em;
  border-bottom: 2px solid #ccc;
  margin-bottom: 20px;
  position: relative;
}

.section-title span {
  font-size: 14px;
  font-weight: normal;
  position: absolute;
  right: 0;
  bottom: 5px;
  color: #555;
}

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

.news-list li {
  display: flex;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
  gap: 15px;
}

.news-list .thumb img {
  width: 100px;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

.news-content h3 {
  font-size: 16px;
  margin: 0 0 5px;
}

.news-content .date {
  font-size: 12px;
  color: #666;
  margin-bottom: 5px;
}

.news-content .excerpt {
  font-size: 14px;
  color: #333;
}

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

.more-btn {
  display: inline-block;
  padding: 8px 20px;
  font-size: 14px;
  color: #000;
  border: 1px solid #ccc;
  border-radius: 3px;
  text-decoration: none;
  transition: 0.3s;
}

.more-btn:hover {
  background-color: #f5f5f5;
}

.calendar img {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 6px;
}

/*------------------------------------- コラム+カレンダー --------------------------------------*/
