/* ファーストビュー */
.first-view {
  width: 100%;
  aspect-ratio: 1920 / 700;
  /* 1920×700の比率を固定 */
  position: relative;
  overflow: hidden;
}

.first-view img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* フレーム内でカバー */
  object-position: center;
  /* 必要に応じて中心を調整 */
}

/* PC：横長ヒーローを固定比率で */
@media (min-width: 769px) {
  .first-view {
    aspect-ratio: 1920 / 700;
    position: relative;
    overflow: hidden;
  }

  .first-view img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* SP：比率固定を解除して、画像の自然比率に追従 */
@media (max-width: 768px) {
  .first-view {
    aspect-ratio: auto;
    /* または削除でもOK */
    height: auto;
    /* 念のため明示 */
  }

  .first-view img {
    width: 100%;
    height: auto;
    /* ここがポイント：縦を自動に */
    object-fit: contain;
    /* 収まり重視。coverにしたいならそのままでもOK */
  }

  .first-view .mobile-image {
    display: block
  }

  .first-view .desktop-image {
    display: none
  }
}



/* もし横スクロールが出る環境がある場合の最終ガード（必要時のみ） */
/* html, body { overflow-x: hidden; } */

.sp-hide {
  font-size: 14px; /* PC・タブレット時の文字サイズ */
}

@media (max-width: 768px) {
  .sp-hide {
    display: none !important; /* モバイルで非表示 */
  }
}



/*----------------------- ご予約について -----------------------*/
.notice-box {
  padding: 60px 20px;
  position: relative;
}

.notice-inner {
  background: #fff;
  border: 1px solid #40AB36;
  border-radius: 12px;
  padding: 40px 40px 40px 40px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  font-size: 16px;
  color: #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  /* 縦に並べる */
  align-items: center;
  /* 子要素を中央寄せ */
  justify-content: center;
  /* 縦方向でも中央寄せ */
  text-align: center;
  /* それ以外は中央寄せ */
}


.notice-title {
  font-size: 35px;
  color: #40AB36;
  /* 緑系で統一 */
  margin-bottom: 20px;
  text-align: center;
}

.tel-link {
  color: #f39c12;
  /* 強調カラーとして残す */
  font-weight: bold;
  text-decoration: none;
}

.tel-link:hover {
  text-decoration: underline;
}

.notice-box p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 10px;
}

@media screen and (max-width: 767px) {
  .notice-title {
    font-size: 20px;
  }

  .notice-inner {
    padding: 10px 20px 20px 20px;
    /* 上0 / 左右20 / 下20 */
  }
}

/* 電話の問い合わせボタン */
.tel-button {
  display: inline-flex;
  align-items: center;
  /* アイコンとテキストを縦並びに */
  padding: 13px 30px;
  background-color: #40AB36;
  /* 緑色 */
  color: #fff;
  font-size: 18px;
  text-align: center;
  border-radius: 50px;
  text-decoration: none;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.tel-button i {
  margin-right: 10px;
  /* アイコンとテキストの間にスペース */
  font-size: 18px;
  /* アイコンのサイズ調整 */
}

.tel-button:hover {
  background-color: #3c9d30;
  /* ホバー時に少し暗く */
  color: #fff;
}

@media screen and (max-width: 767px) {
  .tel-button {
  font-size: 16px;
}
}



/* 診療時間表 */
.hours-box {
  margin-top: 0;
  /* 上のマージンを0に */
  margin-left: auto;
  /* 左右中央寄せ */
  margin-right: auto;
  /* 左右中央寄せ */
  max-width: 900px;
  /* 横幅の最大値 */
}


/* タイトル */
.info-title-wrap{
  display:flex;
  align-items: baseline;   /* ベースラインを揃える */
  gap:10px;                /* もとの margin-left:10px 相当 */
  margin-bottom:20px;      /* 全体の下余白 */
}
.info-title{
  font-size:40px;
  color:#666;
  margin:0;                /* 下余白はwrapに持たせる */
  line-height:1.2;
}
.info-title-wrap .en{
  font-size:20px;
  color:#78CD6B;
}


.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  text-align: center;
  table-layout: fixed;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* ヘッダー行背景：緑／文字：白 */
.hours-table thead tr {
  background-color: #3EB82C;
  color: #fff;
}

.hours-table thead th {
  color: #fff;
  font-weight: bold;
  padding: 12px;
}

/* 各セル共通 */
.hours-table th,
.hours-table td {
  border: 1px solid #3EB82C;
  padding: 10px;
  vertical-align: middle;
}

/* 左端の診療時間列 */
.hours-table th:first-child,
.hours-table td:first-child {
  width: 140px;
}

/* 行の高さを統一 */
.hours-table tr {
  height: 52px;
}

/* 長文折り返し（14:00 - 17:30対策） */
.hours-table td {
  word-break: break-word;
  white-space: normal;
}

/* 休診日（-）：薄グレー背景＋文字色 */
.hours-table td.closed {
  background-color: #ECF8EA;
  color: #999;
}

/* 診療可能マーク・文字色を緑に */
.hours-table td.available {
  color: #2B811F;
  font-weight: bold;
}

.hours-table td.time-label {
  color: #666666;
  font-weight: bold;
}


/* モバイル対応 */
@media screen and (max-width: 767px) {
  .info-title {
    font-size: 22px;
  }

  .info-title-wrap .en {
    font-size: 16px;
  }

  .hours-box {
    padding: 24px 12px;
    margin: 40px auto;
  }

  .hours-table {
    font-size: 12px;
    table-layout: auto;
    /* ← fixed ではなく auto に切替 */
  }

  .hours-table td {
    white-space: normal !important;
    /* ← nowrap防止 */
    word-break: keep-all;
    /* ← 日本語や数字を途中で切らない */
    overflow-wrap: break-word;
    vertical-align: middle;
  }

  .hours-table th,
  .hours-table td {
    padding: 6px;
  }

  .hours-table th:first-child,
  .hours-table td:first-child {
    width: 100px;
    text-align: center;
  }

  .hours-table tr {
    height: auto;
    min-height: 72px;
  }
}



/* このような症状はありませんか？ */
.trouble-section {
  background: linear-gradient(135deg, rgba(167, 217, 161, 0.3), rgba(114, 179, 94, 0.3));
  /* 薄い緑の透明グラデーション */
}

.trouble-wrapper {
  text-align: center;
  padding: 40px 10px;
  width: 1400px;
  /* 幅を1400pxに設定 */
  margin: 0 auto;
  /* 中央寄せ */
}

.trouble-title {
  font-size: 40px;
  color: #666;
  margin-bottom: 60px;
  letter-spacing: 0.05em;
  /* 文字間隔を0.1文字分広げる */
}

.title-part {
  font-size: 55px;
  background: linear-gradient(135deg, #3eb82c, #28a745);
  /* 緑色のグラデーション */
  -webkit-background-clip: text;
  /* テキストにグラデーションを適用 */
  color: transparent;
  /* グラデーション部分が見えるように透明に設定 */
}

.circle-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 20px;
  justify-items: center;
}

.circle-item {
  width: 200px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #3eb82c;
  /* 緑色のグラデーション */
  color: white;
  font-size: 22px;
  border-radius: 50%;
  text-align: center;
  padding: 10px;
}

.circle-item:hover {
  background: #28a745;
  /* グラデーションの反転（ホバー時） */
  cursor: pointer;
}

/* スマホ版のレスポンシブ対応（最大600px） */
@media (max-width: 600px) {
  .trouble-section {
    width: 100%;
    /* 幅を100%に設定 */
    max-width: 100%;
    /* 横スクロール防止 */
    box-sizing: border-box;
    /* パディングを含めて計算 */
  }

  .trouble-wrapper {
    padding: 20px 10px;
    width: 100%;
    max-width: 100%;
  }

  .circle-container {
    grid-template-columns: repeat(2, 1fr);
    /* アイコンを2列に変更 */
    grid-gap: 15px;
    /* アイコン間の間隔を少し狭く */
    width: 100%;
    /* 横スクロール防止 */
    max-width: 100%;
    /* コンテナの最大幅を100%に設定 */
  }

  .circle-item {
    width: 140px;
    /* アイコンのサイズを調整 */
    height: 140px;
    /* アイコンの高さを調整 */
    font-size: 16px;
    /* アイコンのフォントサイズ調整 */
  }

  .trouble-title {
    font-size: 20px;
    /* タイトルのフォントサイズ調整 */
    margin-bottom: 40px;
    /* 下の余白を調整 */
  }

  .title-part {
    font-size: 25px;
    /* 「症状」の部分のフォントサイズ調整 */
  }
}


/* 特徴 */

/* ---------title部分--------- */
.concept-title {
  /* display: flex; */
  justify-content: center;
  align-items: center;
  padding-bottom: 0;
}

.concept-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  font-size: 2rem;
}

.concept-container::after {
  content: "Point";
  font-size: 10rem;
  color: rgba(64, 171, 54, 0.2);
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

@media screen and (max-width: 768px) {
  .concept-container {
    flex-direction: column;
    /* 縦並びに */
    font-size: 1.3rem;
    /* ベース文字小さめ */
    gap: 5px;
    text-align: center;
    /* 中央寄せ */
    z-index: 1;
  }

  .concept-container::after {
    font-size: 6rem;
    /* 背景Pointを小さく */
    top: -10px;
  }

  .concept-container .ttleleft {
    font-size: 1.2em;
    /* 左側の説明テキスト小さく */
    line-height: 1.4;
  }

  .concept-container .number-container .number {
    font-size: 3.5rem;
    /* 数字を強調 */
  }

  .concept-container .number-container .size35 {
    font-size: 1.6rem;
  }

  .concept-container .number-container .size50 {
    font-size: 2rem;
  }
}



/* 左側のテキスト */
.ttleleft {
  color: #666;
  line-height: 1.6;
}

/* 数字 */
.number {
  font-size: 10rem;
  color: #3eb82c;
  position: relative;
}


/* 背景の装飾テキスト */
.script-text {
  font-family: 'Great Vibes', cursive;
  font-size: 10rem;
  color: rgba(64, 171, 54, 0.2);
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

/* 数字と特徴のセット */
.number-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* 「つの特徴」部分 */
.horizontal,
.horizontal span{
  display: flex;
  align-items: center;
  gap: 5px;
  color: #666;
}


/* セクションの背景 */
.concept {
  padding: 50px 0;
  position: relative;
  background: #ECF8EA;
  z-index: 0;
  overflow: hidden;
}

.concept::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1;
}

.concept::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  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: 1.4em;
  margin-bottom: .5em;
  background-repeat: no-repeat;
  background-position: 0 .4em;
  background-size: .8em auto
}


.concept .idx_inr {
  max-width: 1360px;
  width: 100%;
  padding: 36px 0;
  margin-bottom: 30px;
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-color: #fff;
  border-radius: 10px;
  background-position: 100% 0
}


.concept .idx_box {
  color: #666666;
  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;
  border-radius: 10px;
}

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

.concept_ttl {
  position: relative;
  font-size: 26.87px;
  margin: 0 0 24px
}

.concept_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%
}


.concept_ttl span {
  position: relative;
  z-index: 3;
  display: inline-block;
  mix-blend-mode: multiply;
}

.conceptttl01 span {
  border-bottom: 1px solid #3eb82c;
}

.conceptttl02 span {
  border-bottom: 1px solid #2B811F;
}

.conceptttl03 span {
  border-bottom: 1px solid #78CD6B;
}


.concept_lead {
  display: flex;
  align-items: center;
  padding: 0 0 16px;
  margin: 0 auto 15px 0;
  border-bottom: 1px solid #2e2e2e
}

.concept_lead p {
  display: block;
  text-align: center
}

.concept_lead p i {
  display: block
}

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

.concept_lead p .en {
  font-size: 39.63px;
  font-weight: 700;
  color: rgba(169, 169, 169, 0.5);
  /* 薄いグレー（50%透明） */
}

.concept_lead figure {
  flex: 1
}

.concept .idx_lst {
  font-size: 15px;
  width: 47%;
}

.concept .idx_lst li {
  line-height: 1.3;
  letter-spacing: -.06em
}

.concept01 li {
  background-image: url(images/medical04/check01.png);
  background-repeat: no-repeat;
  line-height: 1.3;
  letter-spacing: -.06em;
}

.concept02 li {
  background-image: url(images/medical04/check02.png);
  background-repeat: no-repeat;
  line-height: 1.3;
  letter-spacing: -.06em
}

.concept03 li {
  background-image: url(images/medical04/check03.png);
  background-repeat: no-repeat;
  line-height: 1.3;
  letter-spacing: -.06em
}


.concept .idx_lst li span {
  display: block
}

.concept .idx_lst li em {
  font-weight: 600
}

.concept01 li em {
  color: #3eb82c;
}

.concept02 li em {
  color: #2B811F;
}

.concept03 li em {
  color: #78CD6B;
}


.concept_fig {
  position: absolute
}

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

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


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

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

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

.idx_gnr_01 .concept_fig img {
  aspect-ratio: 366/272
}

/* === 02だけ左上寄せに上書き（共通より強いセレクタ）=== */
.concept .idx_inr.idx_gnr_02 {
  background-image: url(/medical/images/medical04/Reason02.png);
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: left top;
  /* ←コレが効く */
}

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

.idx_gnr_02 .concept_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 .concept_fig {
  width: 378px;
  bottom: 40px;
  right: 42px
}

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

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


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

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

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

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

/* 01ボタン */
.conceptbtv01 a {
  border: 1px solid #3eb82c;
  color: #3eb82c;
  transition: background-color 1s ease, color 1s ease;
}

.conceptbtv01 a:hover {
  color: #fff;
  background: #3eb82c;
}

/* 02ボタン */
.conceptbtv02 a {
  border: 1px solid #2B811F;
  color: #2B811F;
  transition: background-color 1s ease, color 1s ease;
}

.conceptbtv02 a:hover {
  color: #fff;
  background: #2B811F;
}

/* 03ボタン */
.conceptbtv03 a {
  border: 1px solid #78CD6B;
  color: #78CD6B;
  transition: background-color 1s ease, color 1s ease;
}

.conceptbtv03 a:hover {
  color: #fff;
  background-color: #78CD6B;
}

.conceptbtv03 a:hover::before {
  border-color: #78CD6B;
  color: #fff;
}


/* ----------------------------------------------------
タブレット用（768px〜1024px）
---------------------------------------------------- */
/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media (max-width: 768px) {}

@media (max-width: 767px) {
  .concept {
    padding: 30px 15px;
  }

  .concept .idx_inr {
    display: block;
    padding: 24px 0;
    margin-bottom: 30px;
    background-position: center top;
    background-size: cover;
  }

  .concept .idx_box {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
  }

  .concept_ttl {
    font-size: 22px;
    text-align: center;
  }

  .concept_ttl:before {
    display: none;
  }

  .concept_lead {
    flex-direction: column;
    align-items: flex-start;
    border-bottom: none;
    margin-bottom: 20px;
  }

  .concept_lead p {
    text-align: left;
  }

  .concept_lead .ja {
    font-size: 20px;
  }

  .concept_lead .en {
    font-size: 28px;
  }

  .concept .idx_lst {
    width: 100%;
    font-size: 14px;
    margin-bottom: 20px;
  }

  .concept .idx_lst li {
    padding-left: 1.2em;
    margin-bottom: 0.8em;
  }

  .btn03 a {
    width: 100%;
    font-size: 14px;
    padding: 14px 24px;
    text-align: center;
  }

  .concept_fig {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 20px auto 0 auto;
    /* 左右中央 */
    text-align: center;
    /* 親要素の中央揃え */
  }

  .concept_fig img {
    display: inline-block;
    width: 100%;
    height: auto !important;
    max-width: 100%;
    aspect-ratio: auto !important;
    object-fit: contain;
  }

  .idx_gnr_01 .concept_fig,
  .idx_gnr_02 .concept_fig,
  .idx_gnr_03 .concept_fig {
    position: relative !important;
    width: 100% !important;
    max-width: 100%;
    right: auto !important;
    bottom: auto !important;
    margin: 20px auto 0 auto;
    /* 中央揃え */
    text-align: center;
  }

  .idx_gnr_01 .concept_fig img,
  .idx_gnr_02 .concept_fig img,
  .idx_gnr_03 .concept_fig img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain;
    display: inline-block;
  }

  .concept .idx_inr.idx_gnr_02 {
    background-image: none;
  }

  .idx_gnr_03 {
    background-image: none;
  }

}



/*-------------------------------------- 選ばれる理由ブロック --------------------------------------*/

/* --------- タイトル部分 --------- */
.top50 {
  top: 50px;
}

.reasonttl,
.reasonttl span{
  line-height: 1.2;
  color: #666;
  /* 基本の文字色 */
}


/* 数字だけ緑色に */
.reasonttl .readonnumber {
  color: #3eb82c !important;
  /* 緑色を優先適用 */
  text-shadow: 2px 4px 3px rgba(126, 126, 126, 0.3);
}

.txcenter {
  position: relative;
}

/* .reasonttl::after {
  content: "Reason"; 
  font-family: 'Great Vibes', cursive;
  font-size: 10rem; 
  color: rgba(70, 130, 180, 0.2);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  white-space: nowrap;
} */

.reason {
  position: relative;
  padding: max(1.5vw, 15px) 0 max(4.286vw, 55px);
  /* 上をかなり狭く、下は現状維持 */
  background-image:
    radial-gradient(#c8e6c9 6%, transparent 7%),
    radial-gradient(#c8e6c9 6%, transparent 7%);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  background-color: #dff8d5;
  box-sizing: border-box;
}

.reason::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 120px;
  /* さらに短く */
  pointer-events: none;
  z-index: -2;
}


/* --------- コンテンツ部分 --------- */
.team-section {
  background: url(images/medical04/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: 23px;
  margin-bottom: .25em;
  letter-spacing: .08em;
  color: #666666;
}

.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: #dff8d5;
}

.team-category .team-en {
  display: block;
  line-height: 1.17em;
  font-size: 62%;
  /* サイズはそのまま */
  text-align: center;
  /* 中央揃え */
  margin-top: 0.2em;
  /* 日本語との間隔を調整 */
  color: #dff8d5;
  /* 色は既存のものを維持 */
}

.team-txt62 {
  font-size: 62%;
}

.team-txt-list li {
  font-size: 15px;
  line-height: 2;
  color: #666666;
}



.team-item01 li .team-underline,
.team-item02 li .team-underline,
.team-item03 li .team-underline {
  border-bottom: 2px solid #B2E3AB;
}

.team-item li .team-underline {
  text-decoration: none;
}

@media (min-width: 768px) and (max-width: 1050px) {}

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

  .team-title h2,
  .team-title p {
    font-size: 25px;
  }

  .team-num img {
    width: 60px;
  }

}

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

  .team-category {
  font-size: 20px;
}

  .reasonttl {
  font-size: 16px;
}

  .mfs27 {
    font-size: 26px;
  }

  .size80{
    font-size: 40px;
  }

  .mfs30 {
    font-size: 22px;
  }

  .size50 {
    font-size: 26px;
  }

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

/*------------------- 院長紹介 -------------------*/

/* デフォルトのスタイル（デスクトップ用） */
.intyou-title h2 {
  font-size: 50px;
  text-align: center;
  /* 中央揃え */
  margin: 0;
  color: #666;
}

/* モバイル用のスタイル */
@media (max-width: 768px) {
  .intyou-title h2 {
    font-size: 28px;
    margin-bottom: 1em;
    /* 必要に応じて数値は調整してください */
  }
}


/* === 全体のレイアウト === */
.intyou {
  background: #F9F9F9;
  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(#ECF7EB 10%, transparent 6%);
  background-size: 20px 20px;
  opacity: 0.2;
  /* 控えめなテクスチャ */
  z-index: 0;
}

.profile-container {
  display: flex;
  max-width: 1200px;
  margin: 20px auto;
  align-items: center;
  gap: 40px;
  padding: 60px;
  background: #ECF8EA;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  border-radius: 10px;
}

/* === 左側の画像エリア === */
.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;
}

/* === 見出しデザイン === */
.clinic-name {
  font-size: 20px;
  font-weight: bold;
  color: #555;
}

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

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

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

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

/* === 罫線デザイン === */
.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;
  margin-top: 20px;
}

.profile-details li {
  font-size: 12px;
  color: #666666;
}

/* 各セクションのスタイル */
.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: #3eb82c;
  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: #3eb82c;
  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: #3eb82c;
}

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

  /* === 見出しデザイン === */
.clinic-name {
  font-size: 18px;
text-align: center;
}

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

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

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


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

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


/* 診療案内 */
.clinic-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* 4カラムに変更 */
  gap: 20px;
  justify-content: center;
  max-width: 1400px;
  /* 横幅を1400pxに制限 */
  margin: 0 auto;
  /* 中央揃え */
  padding: 50px 20px;
  color: #3EB82C;
}

.point {
  position: relative;
  background: #ECF8EA;
  padding: 20px;
  border: 1px solid #78CD6B;
  box-shadow: 0 4px 10px rgba(234, 179, 200, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.point:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(234, 179, 200, 0.3);
}

.point img {
  max-width: 100%;
  margin: 0 auto;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid #78CD6B;
}

.point h3 {
  position: absolute;
  top: 150px;
  right: -2px;
  font-size: 18px;
  box-shadow: 4px 4px 4px rgba(229, 186, 203, .25);
  padding: 0.3em 3em 0.3em 0.8em;
  background-color: #B2E3AB;
  color: #666;
}

.point h3::after {
  content: "＞";
  position: absolute;
  right: 0.8em;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #3EB82C;
  /* アクセントカラー */
  font-weight: bold;
}

.point .gold {
  color: #3EB82C;
  font-size: 23px;
  margin: 0 5px;
}

.point p {
  font-size: 1.6rem;
  line-height: 1.7;
  color: #666;
}

@media (max-width: 767px) {
  .clinic-points {
    grid-template-columns: 1fr;
    padding: 30px 15px;
    gap: 20px;
  }

  .point {
    margin: 0 20px;
    /* ← 横にマージン追加（カードの幅を少し縮める） */
    padding: 20px 15px;
    /* ← 内側の余白も微調整 */
  }

  .point h3 {
    margin: 25px 0 10px;
    /* ← 上に30pxの余白でしっかり下がります */
  }
}


@media (max-width: 768px) {
  .hero-text {
    flex-direction: column;
  }

  .clinic-points {
    flex-direction: column;
    padding: 0;
  }

  .hero-overlay {
    flex-direction: column;
    align-items: flex-start;
  }

  .nomalvertical-text {
    writing-mode: horizontal-tb;
    text-align: left;
  }
}

/* タブレット用（768px〜1024px） */
@media (max-width: 1024px) {
  .leading-clinic {
    background-position: center top;
    background-size: cover;
  }
}

/* スマホ用（〜767px） */
@media (max-width: 767px) {
  .leading-clinic {
    background-image: url(../images/equipmentbg_sp.png);
    background-size: cover;
    background-position: center top;
    min-height: auto;
  }
}

/* ===========================================
* .tabmenu
=========================================== */
.tabmenu-wrapper {
  position: relative;
  padding: 50px 0;
  background: url(images/medical04/5\ \(1\).jpg) center/cover no-repeat;
}

.tabmenu-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  /* 上下左右ぜんぶ覆う */
  background: rgba(255, 255, 255, 0.65);
  /* ←透過度調整（数値を上げるほど濃い） */
  z-index: 1;
}

.tabmenu-wrapper>* {
  position: relative;
  z-index: 2;
  /* 中身は前面に表示 */
}


.tabmenu {
  background: #d4d4d4;
  padding: 30px 0;
}

.tabmenu .tab {
  overflow: hidden;
  padding-top: 10px;
}

.tabmenu .tab .swicher {
  float: left;
  background: #3EB82C;
  color: #fff;
  text-align: center;
  display: block;
  width: 50%;
  font-size: 30px;
  font-weight: bold;
  padding: 20px 0 15px;
  border-radius: 5px 5px 0 0;
}

.tabmenu .tab .swicher span {
  display: inline-block;
}

.tabmenu .tab .swicher:not(.is-active) {
  cursor: pointer;
}

.tabmenu .tab .swicher:not(.is-active):hover {
  opacity: .8;
}

.tabmenu .tab .swicher.is-active {
  background: #fff;
  color: #666;
  padding-top: 30px;
  margin-top: -10px;
  border-radius: 5px 5px 0 0;
}

.tabmenu .tit {
  background: #3EB82C;
  color: #fff;
  text-align: center;
  border-radius: 7px;
  font-size: 22px;
  padding: 10px 0;
  margin: 0 15px 20px;
}

.tabmenu .menu {
  padding-right: 17px;
  margin-left: 17px;
}

.tabmenu .menu+.tit {
  margin-top: 20px;
}

.tabmenu .menu li a {
  box-sizing: border-box;
  font-size: 17px;
  display: block;
  padding: 15px 0 15px 10px;
  border-bottom: 1px dotted #E5DCD4;
  color: #666;
  text-decoration: none;
}

.tabmenu .menu li a .new {
  font-size: 18px;
  border: 1px solid #A37C52;
  color: #A37C52;
  padding: 1px 3px 0;
  margin-left: 10px;
  position: relative;
  top: -2px;
}

.tabmenu .menu li:first-of-type a {
  padding-top: 5px;
}

.tabmenu .tab-content-box {
  pointer-events: none;
  /* クリックを無効化 */
  background: #fff;
  padding: 30px 0;
  display: none;
}

.tabmenu .tab-content-box.is-active {
  display: block;
}

.tabmenu .tab-content-box .in {
  overflow: hidden;
}

.tabmenu .tab-content-box .box {
  float: left;
  width: 50%;
}

.tabmenu .tab-content-box .btn {
  text-align: center;
  margin-top: 30px;
}

.tabmenu .tab-content-box .btn a {
  display: inline-block;
  border: 1px solid #131313;
  font-size: 22px;
  text-decoration: none;
  border-radius: 5px;
  padding: 15px 30px 10px 55px;
  color: #131313;
  font-weight: bold;
  text-align: center;
  background: url(/images/top/ico_list_btn01.png) no-repeat 11px center;
}

.tabmenu .tab-content-box .btn a:hover {
  opacity: .7;
}

.tabmenu .face .menu {
  float: left;
  width: 45%;
}

.tabmenu .treat {}

.tabmenu .treat .box:first-of-type .menu {
  position: relative;
}

.tabmenu .treat li a {}

.tabmenu .treat li a .min {
  font-size: 14px;
}

.tabmenu .bnrList {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 30px 30px 0;
}

.tabmenu .bnrList a {
  box-sizing: border-box;
  border: 5px solid #fff;
  box-shadow: 0 0 0 1px #e4e3e2 inset;
  display: block;
  background-color: #fff;
  background-position: center 16px;
  background-repeat: no-repeat;
  text-align: center;
  padding: 55px 0 15px;
  font-size: 17px;
  color: #333;
  text-decoration: none;
}

.tabmenu .bnrList li:nth-of-type(1) a {
  background-image: url(/images/top/ico_list_bnr01.png);
}

.tabmenu .bnrList li:nth-of-type(2) a {
  background-image: url(/images/top/ico_list_bnr02.png);
}

.tabmenu .bnrList li:nth-of-type(3) a {
  background-image: url(/images/top/ico_list_bnr03.png);
}

.tabmenu .bnrList li:nth-of-type(4) a {
  background-image: url(/images/top/ico_list_bnr05.png);
}

.tab-content {
  margin: 0 auto;
}

section.tabmenu {
  max-width: 1200px;
  padding: 5px 5px;
  margin: 0 auto;
}

.mobile-br {
  display: none;
}

.backwall {
  background-color: #E5DCD4;
}



/* モバイルデバイス（幅が868px以下の場合）でのみbrタグを表示 */
@media screen and (max-width: 868px) {
  .mobile-br {
    display: block;
  }

  .tabmenu .face .menu {
    width: 90%;
  }

  .tabmenu .menu {
    margin: 0 25px;
  }

  .tabmenu .tab .swicher {
    font-size: 20px;
  }

  .tabmenu .tit {
    font-size: 25px;
  }

  section.tabmenu {
    padding: 0px 0px;
  }

  .tabmenu .tab-content-box .box {
    width: 100%;
  }

  .tabmenu .tit {
    font-size: 20px;
  }

  .tabmenu .menu li a {
    padding: 10px 0 10px 10px;
  }
}


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

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

/* 見出し */
.picuph2 {
  font-size: 50px;
  font-weight: normal;
  text-align: center;
  line-height: 1.5;
  /* 行の高さを少し広くして読みやすく */
}

.colgr {
  color: #666;
}

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

@media (max-width: 767px) {
  .highlight {
    font-size: 28px;
  }
}


.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: #3eb82c;
}

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


.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-size: 25px;
  color: #3eb82c;
  letter-spacing: 2px;
  font-weight: bold;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  border-left: 3px solid #3eb82c;
  /* padding-left: 5px; */
}

.vertical-text2 {
  writing-mode: vertical-rl;
  text-orientation: sideways;
  font-size: 25px;
  color: #3eb82c;
  letter-spacing: 2px;
  font-weight: bold;
  position: absolute;
  right: 60%;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  border-left: 3px solid #3eb82c;
}

.vertical-text2-2 {
  writing-mode: vertical-rl;
  text-orientation: sideways;
  font-size: 25px;
  color: #2B811F;
  letter-spacing: 2px;
  font-weight: bold;
  position: absolute;
  right: 59%;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  border-left: 3px solid #2B811F;
}

.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: sideways;
  font-size: 25px;
  color: #3eb82c;
  letter-spacing: 2px;
  font-weight: bold;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  border-left: 3px solid #3eb82c;
  /* padding-left: 5px; */
}

.vertical-text2 {
  writing-mode: vertical-rl;
  text-orientation: sideways;
  font-size: 25px;
  color: #3eb82c;
  letter-spacing: 2px;
  font-weight: bold;
  position: absolute;
  right: 60%;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  border-left: 3px solid #00a65f;
}

.vertical-text3 {
  writing-mode: vertical-rl;
  text-orientation: sideways;
  font-size: 25px;
  color: #5EBE8D;
  letter-spacing: 2px;
  font-weight: bold;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  border-left: 3px solid #428563;
  /* padding-left: 5px; */
}

.pickupbox2 {
  width: 60%;
  padding-right: 20px;
  background-color: rgba(33, 200, 120, 0.05);
  /* 薄い緑系 */
  border-radius: 5px;
  margin: 0 0 0 15px;
  padding: 15px 20px;
}

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

.pickupbox2-2 {
  width: 60%;
  padding-right: 20px;
  background-color: rgba(0, 144, 123, 0.1);
  /* #FAAF18ベース */
  border-radius: 5px;
  margin: 0 0 0 15px;
  padding: 15px 20px;
}

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

.pickupbox3 {
  width: 60%;
  padding-right: 20px;
  background-color: rgba(163, 217, 177, 0.1);
  border-radius: 5px;
  margin: 0 0 0 15px;
  padding: 15px 20px;
}

.pickupbox3 h3 {
  font-size: 24px;
  color: #5EBE8D;
  border-bottom: 2px solid #8ED2AF;
  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,
.picup-list3 li {
  font-size: 16px;
  color: #666;
  padding-left: 25px;
  position: relative;
  margin-bottom: 8px;
}

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

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

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

/* 強調デザイン */
.pickupbox2 p span {
  font-size: 20px;
  color: #3eb82c;
  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: rgba(33, 189, 100, 0.15);
  /* 緑寄り */
  position: absolute;
  bottom: 5px;
  /* left: -5px; */
  z-index: 0;
  /* border-radius: 4px; */
}

.pickupbox2-2 p span {
  font-size: 20px;
  color: #2B811F;
  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: rgba(0, 144, 123, 0.15);
  /* ← #FAAF18を元に透過 */
  position: absolute;
  bottom: 5px;
  /* left: -5px; */
  z-index: 0;
  /* border-radius: 4px; */
}

.pickupbox3 p span {
  font-size: 20px;
  color: #5EBE8D;
  font-weight: bold;
  padding: 3px 6px;
  border-radius: 4px;
  display: inline-block;
  position: relative;
  z-index: 1;
}

.pickupbox3 p span::after {
  content: "";
  display: block;
  width: 100%;
  height: 8px;
  background-color: rgba(163, 217, 177, 0.15);
  /* #A3D9B1をベースに */
  position: absolute;
  bottom: 5px;
  /* left: -5px; */
  z-index: 0;
  /* border-radius: 4px; */
}

/* buttonデザイン 青 */
.pickup-btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 15px;
  color: #fff;
  background: #3eb82c;
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.pickup-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
}

.pickup-btn:hover {
  background: #00a65f;
  color: #fff;
}

.pickup-btn:active {
  transform: translateY(2px);
  box-shadow: 0 6px 12px rgba(0, 180, 0, 0.3);
  /* 緑寄り */
}

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

/* buttonデザイン　紫 */
.pickup-btn-purple {
  display: inline-block;
  padding: 12px 24px;
  font-size: 15px;
  color: #fff;
  background: #2B811F;
  /* 上品なくすみ紫 */
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.pickup-btn-purple::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
}

.pickup-btn-purple:hover {
  background: #007982;
  color: #fff;
}


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

.pickup-btn-green::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-green:hover {
  background: linear-gradient(135deg, #BFE5D1, #5EBE8D);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(163, 217, 177, 0.5);
}

.pickup-btn-green:active {
  transform: translateY(2px);
  box-shadow: 0 6px 12px rgba(163, 217, 177, 0.3);
}

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

@media (max-width: 768px) {

  /* 見出し */
  .picuph2 {
    font-size: 22px;
    line-height: 1.4;
  }

  /* 縦装飾の文字はモバイルでは上に横表示 */
  .vertical-text,
  .vertical-text2,
  .vertical-text2-2,
  .vertical-text3 {
    display: none;
  }

  .flex_box {
    flex-direction: column-reverse;
    /* ← これで子要素の順序を逆に */
    align-items: center;
    padding: 15px;
    gap: 15px;
  }

  /* flexボックスを縦積みに */
  .flex_box2 {
    flex-direction: column;
    align-items: center;
    padding: 15px;
    gap: 15px;
  }

  /* テキストボックスは幅いっぱいに */
  .pickupbox2,
  .pickupbox2-2,
  .pickupbox3 {
    width: 100%;
    margin: 0;
    padding: 15px;
  }

  /* 画像ボックスも幅100%に */
  .pickupbox1 {
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
  }

  .pickup-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
  }

  /* リスト文字を少し大きく */
  .picup-list li,
  .picup-list2 li,
  .picup-list3 li {
    font-size: 14px;
    margin-bottom: 6px;
  }

  /* ボタンも中央寄せ */
  .pickup-btn,
  .pickup-btn-purple,
  .pickup-btn-green {
    display: block;
    text-align: center;
    width: 100%;
    max-width: 280px;
    margin: 15px auto 0;
  }

  .dots1::before {
    font-size: 20px;
    top: -15px;
    left: 55%;
  }

  .dots::before {
    font-size: 20px;
    top: -15px;
    left: 55%;
  }
}