@charset "UTF-8";

/* 全体設定ここから======================================================== */

body {
  color: #3A2F28;
  font-family: "Noto Serif JP", serif;
  line-height: 1.5;
   letter-spacing: 0.01em;
  font-size: 16px;
  background-color: #F7F3EE;
}

/* 全体設定ここまで======================================================== */
.title_underline {
  display: inline-block;
  background-image: linear-gradient(90deg, #FFEEC8, #E5B972);
  background-repeat: no-repeat;
  background-size: 100% 0.2em;
  background-position: 0 100%;
  padding-bottom: 0.1em;
}

header {
  display: flex;
}

h1 {
  font-size: 16px;
}

h2 {
  font-size: 18px;
  text-align: center;
     letter-spacing: 0.07em;

}

.h2_big {
  font-size: 24px;
}

.title_center {
  text-align: center;
}

/* トップビュー設定 */
/* 基本（スマホ用） */
.fv {
  background-image: url("../images/makizume_topMobile.webp");
  background-position: center top; /* 上側に寄せるなど調整 */
  background-size: cover;
  background-repeat: no-repeat;
 width: 100%;
  height: 500px; /* 画面高さより少し短め */
  position: relative;
}

/* ヘッダー：ロゴ + 導入文 */
.fv-header {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}
.fv-inner{
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 5px;
}
.fv-inner p {
  display: flex;
  align-items: center;
  margin: 0;           /* ← 超重要 */
}
.fv-lead {
  display: flex;
  align-items: center;
  margin: 0 0 0 12px;  /* 左だけ余白 */
}
.fv-header .logo {
  height: 30px;
}
.logo {
  height: 30px;          /* 好きな高さに統一 */
  vertical-align: middle; /* 文字と縦中央揃え */
}

.clinic_name {
  font-size: 14px;       /* 文字サイズ調整 */
  vertical-align: middle;
  margin-left: 0px;     /* 画像と文字の間隔 */
}
.fv-lead {
  display: flex;             /* 横並び */
  align-items: center;       /* 縦中央揃え */
  font-size: 14px;
  color: #3A2F28;
  margin: 5px 0;
}

.fv-lead::before,
.fv-lead::after {
  content: "";
  display: inline-block;     /* block でもOK */
  width: 20px;               /* 線の長さを指定 */
  height: 0.5px;               /* 線の太さ */
  background-color: #3A2F28; /* 線の色 */
  margin: 0 12px;            /* 文字との間隔 */
}

/* FV本文 */
.fv__inner {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fv-text {
  text-align: center;
  background-color: rgba(255,255,255,0.7);
  padding: 20px;
  border-radius: 8px;
  max-width: 90%;
}

.fv-text h1 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 10px;
}

.fv-text p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 15px;
}

.fv-text .btn {
  display: inline-block;
  background-color: #b38347;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  transition: 0.3s;
}

.fv-text .btn:hover {
  background-color: #996633;
}

.fv_wrap {
  height: 70vh;
  overflow: hidden;
}
.fv_bottom{
  position: relative;
  top: 30px;
}
.fvbottom_wrap{
  contain: "";
  background-image: url(../images/toparrow.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  height: 150px;
}
.topMobile {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 各セクション矢印を文字の背景に モバイルでは画像を差し替える*/
.section_arrow {
  background: url("../images/sectionarrow.mobile.webp") center / contain no-repeat;
  height: 120px;
  width: 100%;
  /* 矢印画像の高さに合わせる */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CTA設定============================================================== */
.cta_section {
  font-weight: 500;
  display: block;
  /* background-color: rgba(248, 248, 248, 0.7); */
  text-align: center;
  padding: 20px;
  max-width: 380px;
  margin: 30px auto;
  /* box-shadow: 0 14px 36px rgba(179, 131, 71, 0.25); */
  margin-bottom: 50px;
}
.cta_big{
  font-size: 18px;
  font-weight: bold;
}
.cta_list {
  display: flex;
  font-size: 14px;
}

.cta_list {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.cta_item1 {
  position: relative;
  padding-left: 28px;
  list-style: none;
}

.cta_item1::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 22px;
  height: 22px;
  background: url("../images/mapIcon.png") center / contain no-repeat;
  align-items: center;
}

.cta_item2 {
  position: relative;
  padding-left: 28px;
  list-style: none;
}

.cta_item2::before {
  content: "";
  position: absolute;
  align-items: center;
  left: 0;
  top: 0.35em;
  width: 20px;
  height: 20px;
  background: url("../images/callendericon.png") center / contain no-repeat;
}

.cta_item3 {
  margin-bottom: 10px;
  position: relative;
  padding-left: 28px;
  list-style: none;
}
.cta_item3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 20px;
  height: 20px;
  background: url("../images/time_icon.webp") center / contain no-repeat;
  align-items: center;
}


.cta_button:hover {
  opacity: 0.7;

}
/* 下部固定CTA全体 */
.fixed-bottom-cta {
  position: fixed;  /* 画面に固定 */
  bottom: 0;        /* 下端にくっつける */
  left: 0;          /* 左端にくっつける */
  width: 100%;      /* 横幅いっぱい */
  z-index: 999;     /* 他の要素より手前に表示 */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background-color: #fff;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
  gap: 10px;
}


/* 電話ボタン */
.cta_button {
background: linear-gradient(45deg, #F1D89C, #C1995A, #A77B42);  color: #fff;
  border: none;
  border-radius: 6px;
  margin-top: 10px;
  padding: 10px 15px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  position: relative;   /* これ必須 */
  overflow: hidden;
    border: 2px solid #867664;
    position: relative;
  transition: all 0.3s ease;
}

.cta_button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}
/* WEB予約ボタン */
.web-btn {
  background-color: #fff;
  border: 2px solid #867664;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  display: inline-block;
  background-color: #1E3A5F;    /* メインカラー */
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  transition: 
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}
/* =========================
   下部固定CTA全体
========================= */
.fixed-bottom-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 10px;
  background-color: #fff;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}

/* =========================
   電話予約ボタン
========================= */
.cta-tel {
  background-color: #b38347;
  color: #fff;
  border: 2px solid #867664;
  border-radius: 6px;
  padding: 13.5px 18px;
  font-weight: bold;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* 電話アイコン */
.cta-tel::before {
  content: "";
    width: 20px;
    height: 20px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
  background-image: url("../images/tel.png");
}

/* ホバー：軽く振動 */
.cta-tel:hover {
  animation: ring 0.6s ease-in-out;
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

@keyframes ring {
  0% { transform: rotate(0); }
  25% { transform: rotate(2deg); }
  50% { transform: rotate(-2deg); }
  75% { transform: rotate(1deg); }
  100% { transform: rotate(0); }
}

/* 波紋エフェクト */
.cta-tel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.6);
  opacity: 0;
}

.cta-tel:hover::after {
  animation: ripple 0.6s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* =========================
   WEB予約ボタン
========================= */
.cta-web {
  background-color: #1E3A5F;
  color: #fff;
  border-radius: 6px;
  padding: 16px 32px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

/* 矢印 */
.cta-web span {
  display: inline-block;
  transition: transform 0.3s ease;
}

/* 光が流れる */
.cta-web::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.35),
    transparent
  );
}

.cta-web:hover::after {
  animation: shine 0.6s ease;
}

@keyframes shine {
  to {
    left: 120%;
  }
}

/* 矢印が前進 */
.cta-web:hover span {
  transform: translateX(6px);
}

.cta-web:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

/* optional: スマホタップ用（hoverが効かない端末向け） */
.cta_button:active {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
  filter: brightness(1.08);
  transition: none;
}
.web-btn::before {
  content: "";
    width: 20px;
    height: 20px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
  background-image: url("../images/callender.png");
}

/* 院選択メニュー（初期状態） */
.tel_menu {
  position: absolute;
  bottom: 50px; /* ボタンの下から */
  left: 0;
  width: 100%;
  background: #fff;
  border-top: 1px solid #ccc;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.1);

  transform: scaleY(0);       /* 高さ0から */
  transform-origin: bottom;    /* 下から上に伸びる */
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  z-index: 998;
  overflow: hidden;
}
.tel_menu.show {
  transform: scaleY(1);
  opacity: 1;
}

/* 開いた状態 */
.tel_menu.show {
  transform: scaleY(1); /* 高さ100%に伸ばす */
  opacity: 1;
}

.tel_menu a {
  display: block;
  padding: 15px;
  text-align: center;
  color: #867664;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 1px solid #eee;
}
.web-btn{
  padding: 5px 10px;
  text-align: center;
}
.fixed-bottom-cta{
  justify-content: center;
}
.cta_button a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
/* 矢印全体（白い丸） */
.arrow {
  width: 28px;
  height: 28px;
  background-color: #fff;          /* 白い丸背景 */
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s ease;
}

/* 矢印本体（ゴールド・水平） */
.arrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 3px solid #C9A24D;  /* ゴールド */
  border-bottom: 3px solid #C9A24D; /* ゴールド */
  transform: rotate(-45deg);        /* → 向き */
  display: block;
}

/* hover時：矢印だけ右にスライド */
.cta_button:hover .arrow {
  transform: translateX(6px);
}



/* こんなお悩みありませんか？================================================= */
.worry_section {
  margin-bottom: 50px;
}

.worry_title {
  margin-bottom: 20px;
}

.worry_wrap {
  width: 100%;
  background-image: url(../images/worryback.webp);
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  display: block;
  min-height: 380px;
}

.line_both {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.line_both::before,
.line_both::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #3A2F28;
  max-width: 150px;
}

.worry_list {
  display: block;
  /* background-color: rgba(248, 248, 248, 0.7); */
  padding: 20px 15px;
  margin: 0 auto;
  /* min-height: 380px; */
}

.worry_itemWrap {
  max-width: 500px;
  margin-top: 30px;
  margin-left: auto;
  margin-right: 0;
}

.worry_item {
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 2px dotted #3A2F28;
  margin-top: 5px;
}

.worry_item::before {
  content: "";
  background-image: url(../images/check.png);
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  display: inline-block;
  background-size: contain;
  margin-right: 10px;
  vertical-align: bottom;
}

.worsening_item {
  text-align: center;
  display: inline-block;
  width: 100%;
  margin: 0 auto;
  background-color: #1E3A5F;
  color: #fff;
  padding: 15px 10px;
  border-radius: 50px;
}

.worsening_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.worry_section>p {
  text-align: right;
  margin: 10px 0 20px 0;
}
.section_arrowInner{
  margin-bottom: 20px;
}

/* 巻き爪の特徴・巻き爪陥入爪とは？ ここから====================================================================================== */

.makizume_section {
  background: linear-gradient(to bottom, #F0E7DC 0%, #F7F3EE 100%);
}

.makizume_wrap {
  display: block;
  background-color: rgba(248, 248, 248, 0.6);
  padding: 20px;
  margin: 20px;
  box-shadow: 0 14px 36px rgba(179, 131, 71, 0.25);
  border-radius: 5px;
}

.kannyuso_wrap {
  display: block;
  background-color: rgba(248, 248, 248, 0.6);
  padding: 20px;
  margin: 20px;
  box-shadow: 0 14px 36px rgba(179, 131, 71, 0.25);
    border-radius: 5px;

}

.makizumetitle {
  padding-top: 50px;
  padding-bottom: 10px;
}

.makizume_subtitle {
  font-size: 20px;
}

/* 原因 */
.cause_list {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  padding: 20px;
}

.cause_item {
  display: inline-block;
  background-color: rgba(248, 248, 248, 0.7);
  padding: 10px 20px;
  margin: 5px;
  border-radius: 50px;
  box-shadow: 0 14px 36px rgba(179, 131, 71, 0.25);

}

.feature_text {
  display: block;
  background-color: rgba(248, 248, 248, 0.7);
  padding: 20px;
  margin: 10px auto;
  max-width: 1000px;
  text-align: center;
  box-shadow: 0 14px 36px rgba(179, 131, 71, 0.25);
  margin-bottom: 60px;
  box-sizing: border-box;
  width: calc(100% - 20px);
  margin-top: 20px;
}
.corner-box {
  position: relative;
  padding: 24px;
  text-align: center;
    text-shadow: 0 14px 36px rgba(179, 131, 71, 0.25);

}

/* 左上・右下 */
.corner-box::before,
.corner-box::after {
  content: "";
  position: absolute;
  width: 50px;   /* 角の長さ */
  height: 40px;
  border: 2px solid #B38347;
}

/* 左上 */
.corner-box::before {
  top: 30px;
  left: 20px;
  border-right: none;
  border-bottom: none;
}

/* 右下 */
.corner-box::after {
  bottom: 70px;
  right: 20px;
  border-left: none;
  border-top: none;
}

.makizume_section::after {
  content: "";
  display: block;
  width: 120px;
  height: 50px;
  margin: 0 auto;
  background-image: url(../images/doublearrow.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.makizume_img {
  display: block;
  margin: 10px auto;
}

/* 手術方法======================================================= */

.ope_top {
  background-image: url(../images/opeback.webp);
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  min-height: 250px;
  margin-bottom: 30px;
}

.ope_topInner {
  max-width: 500px;
  margin: 0 auto;
}

.opetitle_wrap {
  text-align: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.about_title {
  padding-top: 30px;
}

.font_bold {
  font-weight: bold;
  margin: 15px 0 5px 0;
}

.about_titleWrap {
  display: block;
  margin: 20px;
  padding: 10px 14px;
  border: 2px solid;
  background-color: rgba(255, 255, 255, 0.4);
  border-image: linear-gradient(90deg, #E5B972, #B38347) 1;
  backdrop-filter: blur(2px);
  margin-top:30px;
}

.about_titleWrap>p {
  font-weight: 600;
}

.ope_flex {
  margin: 0 10px;
}

.ope_wrap {
  display: block;
  background-color: #f8f8f8;
  padding: 20px;
  margin: 20px auto;
  max-width: 500px;
  box-shadow: 0 14px 36px rgba(179, 131, 71, 0.25);
    border-radius: 5px;

}
.ope_name{
  margin: 10px auto;
}
.wire_text {
  margin: 10px auto;
}

/* 画像大きさ設定 */
.ope_img {
  width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.opetitle_wrap h3.ope_subtitle {
  font-size: 20px !important;
}
.wire_img {
  width: 200px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* 理事長の言葉============================================================================= */
.rizichou_section {
  padding: 60px 20px;
  /* 余白はお好みで */
}
.rizichou_wrap {
  max-width: 500px;
  margin: 0 auto;
}
.rizichou_boice {
  position: relative;
  display: inline-block;
  /* padding を使う場合は文字と画像の間隔を確保 */
  padding-bottom: 40px; /* 画像高さ分 */
  text-align: center;
}

.rizichou_boice::before {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;           /* 親の下端に配置 */
  left: 50%;
  transform: translateX(-50%);
  width: 350px;        /* 画像幅 */
  height: 40px;        /* 画像高さ */
  background: url(../images/rizichou_boice.png) no-repeat center / contain;
  z-index: -1;         /* 文字の下に表示 */
}
/* 当院の特徴================================================================================ */
.reason_top {
  margin-bottom: 50px;
}
.reason_section {
    background: linear-gradient(to bottom, #F0E7DC 0%, #F7F3EE 100%);
    padding-top: 50px;

  position: relative;
  display: block;
}
.reason_inner {
  max-width: 900px;
  /* 好きな幅 */
  margin: 0 auto;
  /* 全体を中央寄せ */
  position: relative;
  /* point の absolute 基準 */
  padding: 0 30px;
}
.reason_subtitle {
  font-size: 20px;
  margin-bottom: 10px;
}
.number_title {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  align-items: baseline;
  gap: 12px;
}
.num {
  display: inline-block;
  flex-shrink: 0;
  font-style: normal;
  font-weight: 500;
  font-size: 50px;
  line-height: 48px;
  /* ボックスの高さと同一 */
  color: #927D70;
  margin-right: 10px;
}

/* point装飾 */
.point_label {
  position: absolute;
  top: -50px;
  /* h2の下あたり */
  left: 0px;
  font-size: 72px;
  color: rgba(255, 255, 255, 0.6);
  /* 白 60% */
  letter-spacing: 0.1em;
  line-height: 1;
  z-index: 1;
  /* 背面 */
  pointer-events: none;
}

.reason_img {
  display: block;
  margin: 0 auto;
  margin-bottom: 70px;
  margin-top: 10px;
}
.reason_top::before{
  content: "";
  display: inline-block;
  width: 50px;
  height: 50px;
  background-image: url(../images/logo.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 0px;
  vertical-align: middle;
}
/* 治療費について============================================================================= */
.price_wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 10px;
  margin-bottom: 70px;
  margin-top: 50px;
}
.price_title {
  display: flex;
  align-items: center;
  margin: 14px 0 8px;
  font-size: 18px;
  color: #3A2F28;
  position: relative;
  align-items: center;

}

/* 左の縦線 */
.price_title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1em;
  background-color: #BFAB94;
  margin-right: 8px;
}

.price_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.price_table th,
.price_table td {
  border: 1px solid #B8B0A8;
  padding: 12px;
  font-size: 16px;
}

.price_table th {
  width: 60%;
  background-color: #8C7A6A;
  color: #fff;
  font-weight: normal;
  text-align: left;
}

.price_table td {
  width: 40%;
  background-color: #fff;
  text-align: center;
}

/* 施術の流れについて========================================================================== */
.flow_section {
  padding: 0 10px;
}

.flow_wrap {
  background-color: #f8f8f8;
  padding: 20px;
  margin: 20px auto;
  max-width: 500px;
}

.flow_img {
  display: block;
  margin: 0 auto;
  margin-bottom: 20px;
  margin-top: 10px;
  width: 300px;
  height: 200px;
    border-radius: 5px;

}

.flow_subtitle {
  margin-left: 20px;
  margin-bottom: 10px;
}

.flowSwiper {
  padding: 20px 10px 40px;
}

.swiper-slide {
  height: auto;
}

.flow_wrap {
  height: 100%;
  background-color: #f8f8f8;
  padding: 20px;
  border-radius: 16px;
}

.flowSwiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #D6C7B8;
}

.flowSwiper .swiper-pagination-bullet-active {
  width: 12px;
  height: 12px;
  background-color: #B38347;
}

.flowSwiper .flow_wrap {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform: scale(0.92);
  opacity: 0.85;
}

/* 中央スライド */
.flowSwiper .swiper-slide-active .flow_wrap {
  transform: scale(1);
  opacity: 1;
  box-shadow: 0 14px 36px rgba(179, 131, 71, 0.25);
}

.flowSwiper .swiper-slide-prev .flow_wrap,
.flowSwiper .swiper-slide-next .flow_wrap {
  filter: grayscale(10%);
}

/* よくある質問ここから =========================================================================*/
.qfa_section{
    background: linear-gradient(to bottom, #F0E7DC 0%, #F7F3EE 100%);
    padding-top: 50px;
    margin-top: 20px;
}
.qfa_title {
  margin-top: 50px;
  margin-bottom: 20px;
}

.faq_box {
  max-width: 700px;
  margin: 0 auto;
  padding: 10px;
  margin-bottom: 50px;
}

.faq_item {
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 16px;
  overflow: hidden;
  background-color: #f8f8f8;
}

/* 質問 */
.faq_question {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq_question .qa {
  font-weight: bold;
  color: #b99b7d;
  margin-right: 10px;
}

.faq_question .text {
  flex: 1;
  font-size: 16px;
}

.faq_question .icon {
  width: 14px;
  height: 14px;
  position: relative;
}

.faq_question .icon::before,
.faq_question .icon::after {
  content: "";
  position: absolute;
  background: #b99b7d;
}

.faq_question .icon::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.faq_question .icon::after {
  width: 2px;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* 回答 */
.faq_answer {
  display: none;
  padding: 10px 20px 20px;
  border-top: 2px solid #eee;
}

.faq_answer .qa {
  font-weight: bold;
  color: #b99b7d;
  margin-right: 8px;
}

.faq_answer p {
  display: inline;
  font-size: 15px;
  line-height: 1.6;
}

.faq_answer {
  display: none;
}

.faq_item.active .faq_answer {
  display: block;
}

.faq_item.active .icon::after {
  display: none;
}

/* 開いたとき */
.faq_item.active .faq_answer {
  display: block;
}

.faq_item.active .icon::after {
  display: none;
}

/* 医師の紹介ここから===================================================================================== */
.doctor_wrap {
  display: block;
  margin: 0 auto;
  max-width: 700px;
  display: block;
  padding: 30px;
  backdrop-filter: blur(2px);
}
hr {
  border: none;           /* デフォルトの枠線を消す */
  border-top: 2px solid #ccc; /* 線の太さと色を指定 */
  border-image: linear-gradient(90deg, rgba(229, 185, 114,0.7), rgba(179, 131, 71,0.7)) 1;
  margin: 0 auto;
  text-align: center;
  margin: 50px 0;
}
.doctor_top{
margin-bottom: 20px;
}
.rizichouimg {
  display: block;
  margin: 0 auto;
  padding: 20px 0;
}

.doctor_inner {
  max-width: 700px;
  margin: 0 auto;
}

.doctor_inner>p {
  padding: 5px 0 10px 0;
}

.career {
  margin-bottom: 10px;
}

.career_list {
  margin-bottom: 10px;
}

.doctor_title {
  font-family: sans-serif;
  color: #3A2F28;
}

/* アクセス================================================================================================== */
.accessWrap {
  font-weight: 500;
  width: 100%;
  display: inline-block;
  margin: 20px auto;
  text-align: center;
}

.addressInner {
  max-width: 500px;
  margin: 0 auto;
}

.addressName {
  font-size: 18px;
  text-align: left;
  margin-left: 2rem;
}

address {
  font-size: 14px;
  text-align: left;
  margin-left: 2rem;
}

.accessButton {
  display: inline-block;
  background-color: #867664;
  padding: 7px 30px;
  margin: 20px;
    border-radius: 5px;

}

.accessButton:hover {
  opacity: 0.7;
}

.accessText {
  margin-top: 10px;
  margin-bottom: 5px;
}

/* footer全体設定ここから================================================================================================= */
.footer-section {
    background-color: #f4f0e9;
    padding: 30px 0;
}

/* .footer-titleWrap{
    padding: 10px 10px 20px 10px;
    margin: 20px 10px !important;
    border: 5px solid #D6C7B8;
    background-color: #fafafa;
    border-radius: 10px;
} */
.footer-article {
    align-items: center;
    background: #fff;
    border-radius: 10px 10px 10px 10px;
    max-width: 400px;
    margin: 20px auto;
    overflow: hidden;
}

.footer-title {
    background-color: #867664;
    color: #fff;
    padding: 12px 16px;
  border-radius: 10px 10px 0 0;
  font-weight: 600;
  text-align: center;
}

.footer-subtitle {
    text-align: center;
    font-size: 20px;
    color: #1E2D3D;
    border-radius: 20px 20px 0 0;
}
/* 診療時間表================================================================================================ */
table {
  font-size: 13px;
  text-align: center;
  color: #323232;
  margin: 0 auto;
}

.timetableInner {
  max-width: 500px;
  margin: 0 auto;
}

.timetableWrap {
  margin: 30px auto;
  padding: 10px 0 20px 0;
  margin-bottom: 20px;
}

.tableLeft {
  background-color: #baaea0;
  padding: 10px;
  text-align: center;
}

.tableTop {
  background-color: #dcd2c7;
  padding: 10px;
}

td {
  padding: 10px;
  border: solid 1px #b4a593;
}

.schedule_table th,
.schedule_table td {
  border: 1px solid #B8B0A8;
}

.timetableWrap>p {
  text-align: center;
}

.timetableText {
  margin-left: 10px;
  font-size: 14px;
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: center;
}
.timetableInner{
  padding: 0 10px;
}
.timetableInner table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  background-color: #fff;
}

.timetableInner th,
.timetableInner td {
  border: 1px solid #B8B0A8;
  padding: 10px 8px;
  font-size: 14px;
}

/* 曜日（上段） */
.timetableInner .tableTop {
  background-color: #E8DED2;
  font-weight: 600;
text-align: center;}

/* 診療時間（左列） */
.timetableInner .tableLeft {
  background-color: #D6CABB;
  font-weight: 600;
  white-space: nowrap;
}

/* snsアイコン設定====================================================================================== */
.snsIcon {
  text-align: center;
  background-color: #f4f0e9;
}

.sns {
  transition: filter 0.3s ease, transform 0.3s ease;
  margin-bottom: 100px;
}

.sns:hover {
  opacity: 0.7;
  color: #867664;
}


/* モバイル用: 横幅狭いときもボタンが並ぶ */
@media (max-width: 480px) {
  .fixed-bottom-cta {
    flex-direction: row;
    gap: 5px;
  }
  .cta_button,
  .web-btn {
    width: 100%;
    justify-content: center;
  }
}
/* モバイル対応: 横幅狭いときは縦並びに */
@media (max-width: 480px) {
  .fixed-bottom-cta {
    flex-direction: row;
    gap: 5px;
  }

  .phone-buttons {
    width: 100%;
    justify-content: space-around;
  }

  .web-btn {
    width: 100%;
    justify-content: center;
  }
  
}


/* タブレット */
@media (min-width: 768px) {
  .fv {
    height: 400px; /* 少し縦長に調整 */
    background: url("../images/makizume_topTab.webp") center/cover no-repeat; /* タブレット用画像 */
    background-position: top center; 
  }

  .fv-logo {
    max-width: 180px;
  }
.fv_bottom{
  font-size: 18px;
  top: 20px;
}
  h2{
    font-size: 24px;
  }
  .h2_big{
    font-size: 32px;
  }

.fv-header .logo {
  height: 30px;
}
.logo {
  margin-left: 20px;
  height: 40px;          /* 好きな高さに統一 */
  vertical-align: middle; /* 文字と縦中央揃え */
}

.clinic_name {
  font-size: 20px;       /* 文字サイズ調整 */
  vertical-align: middle;
  margin-left: 5px;     /* 画像と文字の間隔 */
}
.fv-lead {
  font-size: 20px;
  margin-left: 100px;
}
.cta_item1{
  padding-left: 40px;
}
.cta_item2{
  padding-left: 40px;
}
.cta_item1::before{
  width: 32px;
  height: 32px;
}
.cta_item2::before{
  width: 28px;
  height: 28px;
}
.cta_item3{
  padding-left: 30px;
}
.cta_item3::before{
  width: 28px;
  height: 28px;
}
  .cta_section {
    font-size: 24px;
  font-weight: 500;
  padding: 50px 0;
  max-width: 500px;
  margin: 30px auto;
  /* box-shadow: 0 14px 36px rgba(179, 131, 71, 0.25); */
  margin-bottom: 50px;
}
.cta_big{
  font-size: 24px;
  font-weight: bold;
}
.cta_list{
  font-size: 20px;
  font-weight: 700;
  gap: 35px;
}
.cta_text{
  padding: 10px 0;
}
.cta_button{
  padding: 20px 30px;
  font-size: 20px;
}

.fixed-bottom-cta{
  justify-content: center;
}
.web-btn{
  padding: 10px 40px;
  font-size: 18px;
}
.web-btn:hover{
  filter: brightness(1.1);
}
.cta-tel{
  font-size: 18px;
    padding: 23px 40px;

}
  .worry_itemWrap {
    max-width: 1000px;
    padding-left: 300px;
  }

  .worsening_list {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0 10px;
  }

  .worsening_item {
    margin: 0;
    margin-top: 30px;
    margin-bottom: 20px;
  }
  .worry_bottom{
    font-size: 20px;
  }
.section_arrowInner{
  font-size: 24px;
  margin-bottom: 30px;
}
  .makizume_flex {
    display: flex;
    padding: 0 10px;
    margin: 20px auto;
    gap: 10px;
    max-width: 900px;
    /* ← 横幅を決める */
  }
.ope_top {
  background-image: url(../images/opeback_tab.webp);
  min-height: 300px;
}
  .ope_flex {
    display: flex;
    justify-content: center;
    padding: 0 10px;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
  }

  .worry_item {
    font-size: 18px;
  }
.worry_itemWrap{
  margin-top: 50px;
}
  .worry_wrap {
    background-size: cover;
    background-position: bottom;
    min-height: 400px;
  }

  .worry_list {
    min-height: 400px;
  }
  .worry_big{
    font-size: 28px;
  }
.worry_wrap {
  width: 100%;
  background-image: url(../images/worryback_tab.webp);
  min-height: 500px;
}
.feature_text{
  margin-bottom: 150px;
  max-width: 500px;
}
.makizume_section{
  padding-top: 50px;
  margin-top: 100px;
}
.makizume_section::after{
  position: relative;
  bottom: 50px;
}
.reason_top::before{
  width: 70px;
  height: 70px;
  margin-right: 10px;
}
.ope_flex{
  margin-top: 50px;
}
.ope_wrap{
  padding: 40px;
}
.rizichou_wrap{
  max-width: 700px;
  text-align: center;
}
.rizichou_wrap > p{
  font-size: 20px;
  line-height: 1.7;
}
  .reason_list {
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
  }
  .corner-box::before {
  top: 30px;
  left: 130px;
  border-right: none;
  border-bottom: none;
}

/* 右下 */
.corner-box::after {
  bottom: 160px;
  right: 130px;
  border-left: none;
  border-top: none;
}
.rizichou_wrap{
  padding: 100px 0;
}
  .reason_inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* ← 常に横並び */
    gap: 10px;
    align-items: start;
    margin-bottom: 60px;
  }
.reason_section{
  padding-top: 100px;
  margin-top: 50px;
}
.num{
  font-size: 30px;
}
  .reason_inner:nth-child(even) {
    grid-template-columns: 1fr 1fr;
  }

  .reason_inner:nth-child(even)>*:not(.reason_img) {
    grid-column: 2;
  }

  .reason_inner:nth-child(even) .reason_img {
    grid-column: 1;
  }

  .reason_inner>*:not(.reason_img) {
    grid-column: 1;
  }

  .reason_img {
    grid-column: 2;
    align-self: center;

  }

  .reason_text {
    position: relative;
  }

  .reason_inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
    /* ← これがちゃんと効く */
  }

  .reason_text {
    order: 1;
  }

  .reason_img {
    order: 2;
  }

  /* 偶数行だけ左右入れ替え */
  .reason_inner:nth-child(even) .reason_text {
    order: 2;
  }

  .reason_inner:nth-child(even) .reason_img {
    order: 1;
  }
  .price_wrap{
    padding: 0 30px 100px 30px;
  }
.price_title {
font-size: 24px;
padding-top: 20px;
}
.price_table th,
.price_table td {
  font-size: 20px;
}
.rizichou_flex{
  display: flex;
}
.rizichou_flex > p {
  position: relative;
  top: 30px;
  margin-left: 20px;
}
.qfa_section{
  padding-top: 10px;
  margin-top: 50px;
}
.doctor_wrap{
  padding: 20px 30px;
}
.doctor_top{
margin-bottom: 30px;
}
.career_wrap{
  max-width: 700px;
  margin: 0 auto;
  padding-top: 20px;
}
.career{
  max-width: 700px;
  margin: 0 auto;
  padding-top: 20px;
}
.career_list{
  max-width: 700px;
  margin: 0 auto;
  padding-top: 14px;
}
.career{
  font-size: 24px;
}
.snsIcon{
  margin-bottom: 70px;
}

    .footer-section{
        padding: 80px 0;
    }
    .footer-article {
    border-radius: 10px 10px 10px 10px;
    max-width: 700px;
    margin: 50px auto;
    }
    .footer-title{
        font-size: 24px;
    }
}

/* PC */
@media (min-width: 1000px) {
 h2{
  font-size: 28px;
 }
 .h2_big{
  font-size: 38px;
 }
  .fv {
    background: url("../images/makizume_topPC.webp") center/cover no-repeat;
        height: 50vw; /* 少し縦長に調整 */
  }
  .fv-header {
    flex-direction: row;
    align-items: center;
    padding: 10px 40px;
  }

  .fv-header .logo {
    height: 40px;
    margin-bottom: 0;
    margin-right: 20px;
  }
  
.logo {
  margin-left: 20px;
  height: 40px;          /* 好きな高さに統一 */
  vertical-align: middle; /* 文字と縦中央揃え */
}

.clinic_name {
  font-size: 30px;       /* 文字サイズ調整 */
  vertical-align: middle;
  margin-left: 5px;     /* 画像と文字の間隔 */
}
.fv-lead {
  font-size: 28px;
  margin-left: 120px;
}
.fv-lead::before{
  width: 100px;
}
.fv-lead::after{
  width: 100px;
}
.fvbottom_wrap{
  height: 15vw;
}
.fv_bottom{
  top: 3.5vw;
  font-size: 32px;
}

  .fv-text {
    padding: 30px 40px;
    max-width: 600px;
  }

  .fv-text h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
  }

  .fv-text p {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
.cta_section {
  margin-bottom: 100px;
}
.worry_item::before{
  width: 30px;
  height: 30px;
}
  .worry_itemWrap {
    max-width: 1200px;
    padding-left: 400px;
    margin-top: 50px;
    font-size: 28px;
  }
.worry_wrap {
  width: 100%;
  background-image: url(../images/worryback_pc.webp);
  min-height: 35vw;
}

  .worsening_item {
    margin-top: 30px;
  }
  .cause_list{
    padding: 70px 0;
  }
  .cause_item{
    font-size: 20px;
  }
  .section_arrow {
    font-size: 20px;
    margin-left: 40px;
  }
  .feature_text{
    font-size: 18px;
  }
  .worry_bottom {
    text-align: center;
    position: relative;
    left: -200px;
    /* 微調整 */
    top: 20px;
  }
  .worsening_list{
    max-width: 1000px;
    margin: 0 auto;
  }
  .worsening_item{
    font-size: 20px;
  }
  .cause_top{
    font-size: 30px;
  }
  .ope_top {
  background-image: url(../images/opeback_pc.webp);
  min-height: 400px;
}
.ope_name{
  margin: 30px 0 20px 0;
}
.ope_topInner{
  max-width: 600px;
  margin-top: 20px;
}
.about_titleWrap{
  padding: 30px;
}
.about_titleWrap > p{
  font-size: 20px;
}
.about_title{
  margin-bottom: 50px;
}
  .feature_text{
    margin-bottom: 200px;
  }

  .corner-box::before {
  top: 20px;
  left: 25%;
  border-right: none;
  border-bottom: none;
}

/* 右下 */
.corner-box::after {
  bottom: 200px;
  right: 25%;
  border-left: none;
  border-top: none;
}
  .rizichou_wrap {
  padding: 100px 0;
  }
  .reason_subtitle{
    font-size: 24px;
  }
  .reason_img{
    width: 350px;
    height: 280px;
  }
  .reason_inner{
    gap: 50px;
  }
  .num{
    font-size: 50px;
    font-weight: 500;
  }
  .price_top{
    margin-top: 100px;
  }
  .price_wrap{
    margin-bottom: 200px;
  }.flow_title{
    margin-bottom: 30px;
  }
  hr {
  width: 180%;
  margin: 50px -20vw;
  }
  .qfa_title{
    margin-top: 150px;
  }
  .footerWrap{
    display: flex;
    width: 1200px;
  }
  .accessWrap{
    max-width: 600px;
  }
  .accessButton{
    font-size: 20px;
    padding: 10px 20px;
  }
  .timetableInner{
    max-width: 600px !important;
    width: 100%;
  }
 .footerWrap {
        display: flex;
        align-items: center;
        max-width: 1200px;
        /* 固定幅 */
        margin: 0 auto;
    }
 .footer-article {
    border-radius: 10px 10px 10px 10px;
    max-width: 1200px;
 }
    .timetableWrap,
    .accessWrap {
        flex: 1;
        min-width: 0;
        /* 地図側が暴れる時の保険 */
    }
.footer-section{
        padding: 100px 0;
    }
    .footerWrap {
        margin: 20px auto !important;
    }

    .fixed-cta {
        width: 40%;
        left: auto;
        right: 5%;
    }
}
@media (min-width: 1200px) {
   .corner-box::before {
  top: 20px;
  left: 30%;
  border-right: none;
  border-bottom: none;
}

/* 右下 */
.corner-box::after {
  bottom: 200px;
  right: 30%;
  border-left: none;
  border-top: none;
}
}

/* 本文アニメーション */
/* スクロール用アニメーション（元の速さ） */
.animation {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease;
}

.animation.show {
    opacity: 1;
    transform: translateY(0);
}

/* トップビュー用・ページロード時のふわっと */
.fade-up {
    opacity: 0;
    transform: translateY(80px); /* 下から出てくる感じ */
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 2.5s ease, transform 2.5s ease; /* ゆっくり */
}


.timing02 {
    transition-delay: .2s;
}

.timing03 {
    transition-delay: .4s;
}

.timing04 {
    transition-delay: .6s;
}

.timing05 {
    transition-delay: .8s;
}