@charset "UTF-8";
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.displaynone {
  display: none !important;
}

@media (min-width: 500px) {
  .pc {
    display: block;
  }
}
@media (max-width: 500px) {
  .pc {
    display: none;
  }
}

@media (max-width: 500px) {
  .sp {
    display: block;
  }
}
@media (min-width: 500px) {
  .sp {
    display: none;
  }
}

main {
  padding-top: 150px;
}
@media (max-width: 500px) {
  main {
    padding-top: 65px;
  }
}
main .main-subtitle01 {
  color: rgb(0, 0, 0) !important;
  font-size: 25px;
  width: 1100px;
  margin: 10px auto 20px;
  line-height: 30px;
}
@media (max-width: 500px) {
  main .main-subtitle01 {
    width: 95%;
    font-size: 20px;
  }
}

.open {
  display: block;
}

.close {
  display: none;
}

header {
  background-color: rgb(255, 255, 255);
  color: white;
  text-align: left;
  position: fixed;
  width: 100%;
  z-index: 1000;
}
@media (max-width: 500px) {
  header {
    height: 70px;
    border-bottom: 2px solid #4E598C;
  }
}
header .header-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  height: 90px;
  justify-content: space-between;
}
@media (max-width: 500px) {
  header .header-content {
    height: 70px;
    position: relative;
  }
}
header .header-content .header-content-left {
  display: flex;
}
header .header-content .header-content-left .logo {
  height: 60px;
  width: auto;
}
@media (max-width: 500px) {
  header .header-content .header-content-left .logo {
    height: 50px;
    margin: 5px;
  }
}
header .header-content .header-content-left .logo img {
  height: 60px;
  width: auto;
  margin: 15px 0;
}
@media (min-width: 500px) {
  header .header-content .header-content-left .logo img:hover {
    opacity: 0.5;
  }
}
@media (max-width: 500px) {
  header .header-content .header-content-left .logo img {
    height: 40px;
    margin: 5px;
  }
}
header .header-content .header-content-left #search-keyword {
  display: flex;
  height: 50px;
  margin: 20px 0 20px 30px;
}
@media (max-width: 500px) {
  header .header-content .header-content-left #search-keyword {
    display: none;
  }
}
header .header-content .header-content-left #search-keyword input {
  border: 3px solid rgb(106, 144, 253);
  width: 300px;
}
header .header-content .header-content-left #search-keyword input::-moz-placeholder {
  color: rgb(170, 170, 170);
  padding-left: 10px;
}
header .header-content .header-content-left #search-keyword input::placeholder {
  color: rgb(170, 170, 170);
  padding-left: 10px;
}
header .header-content .header-content-left #search-keyword button {
  width: 70px;
  border: none;
  background: rgb(106, 144, 253);
  margin-left: 10px;
  color: rgb(255, 255, 255);
  font-size: 18px;
  font-weight: bold;
}
@media (min-width: 500px) {
  header .header-content .header-content-left #search-keyword button:hover {
    opacity: 0.5;
  }
}
header .header-content .header-content-left .contact {
  color: rgb(106, 144, 253);
  height: 20px;
  font-size: 18px;
  line-height: 20px;
  margin: 35px 0 35px 10px;
}
@media (min-width: 500px) {
  header .header-content .header-content-left .contact:hover {
    opacity: 0.5;
  }
}
@media (max-width: 500px) {
  header .header-content .header-content-left .contact {
    display: none;
  }
}
header .header-content .header-sns {
  display: flex;
}
header .header-content .header-sns a {
  display: block;
}
header .header-content .header-sns img {
  height: 35px;
  width: auto;
  margin: 25px 5px;
}
@media (min-width: 500px) {
  header .header-content .header-sns img:hover {
    opacity: 0.5;
  }
}
@media (max-width: 500px) {
  header .header-content .header-sns .sns_line,
  header .header-content .header-sns .sns_x,
  header .header-content .header-sns .ios,
  header .header-content .header-sns .sns_tiktok,
  header .header-content .header-sns .sns_instagram {
    display: none;
  }
  header .header-content .header-sns .sns_tiktok,
  header .header-content .header-sns .sns_instagram,
  header .header-content .header-sns .sns_x {
    margin: 20px 5px;
  }
  header .header-content .header-sns .sns_tiktok img,
  header .header-content .header-sns .sns_instagram img,
  header .header-content .header-sns .sns_x img {
    margin: 0;
    height: 30px;
  }
}
header nav {
  background-color: rgb(106, 144, 253);
  background: #4E598C;
  height: 48px;
}
@media (max-width: 500px) {
  header nav {
    height: auto;
  }
}
header nav ul {
  width: 100%;
  list-style-type: none;
  margin: 0 auto;
  padding: 5px 0;
  display: flex;
  justify-content: center;
}
header nav ul li {
  margin: 0;
  padding: 0px 15px;
}
header nav ul li a {
  color: white;
  font-size: 16px;
  width: auto;
  line-height: 19px;
  font-family: Futura, "Noto Sans JP Regular", Meiryo, sans-serif;
  letter-spacing: 1px;
  text-align: center;
}
@media (max-width: 500px) {
  header nav ul li a {
    color: black;
  }
}
@media (min-width: 500px) {
  header nav ul li a:hover {
    opacity: 0.5;
  }
}

/* ======================================
   hamburger（見た目・アニメーション）
====================================== */
.hamburger {
  position: relative;
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  /* active → × */
}
.hamburger__bar, .hamburger__bar::before, .hamburger__bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #222;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger__bar {
  top: 50%;
  transform: translateY(-50%);
}
.hamburger__bar::before {
  top: -9px;
}
.hamburger__bar::after {
  bottom: -9px;
}
.hamburger.is-active .hamburger__bar {
  transform: rotate(45deg);
}
.hamburger.is-active .hamburger__bar::before {
  top: 0;
  transform: rotate(90deg);
}
.hamburger.is-active .hamburger__bar::after {
  bottom: 0;
  opacity: 0;
}

/* ======================================
   header（PC / SP 切り替え）
====================================== */
#header_01 {
  /* PC：hamburger非表示 */
}
#header_01 #hamburger {
  display: none;
}
#header_01 nav {
  display: block;
}

/* ======================================
   SP（500px以下）
====================================== */
@media (max-width: 500px) {
  #header_01 {
    /* header 内レイアウト */
    /* hamburger 表示・配置 */
    /* nav 初期状態（閉） */
    /* 開いた状態 */
  }
  #header_01 .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  #header_01 #hamburger {
    display: block;
    position: absolute;
    top: 20px;
    right: 15px;
    z-index: 1001;
  }
  #header_01 nav {
    position: absolute;
    top: 70px;
    height: 100vh;
    right: 0;
    width: 50%;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
  }
  #header_01 nav ul {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
  }
  #header_01 nav ul li {
    text-align: center;
    margin-bottom: 16px;
  }
  #header_01.is-open nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}
footer {
  background: #4E598C;
  width: 100%;
  margin-top: 50px;
}
footer .footer-content {
  width: 800px;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  padding: 50px 0;
}
@media (max-width: 500px) {
  footer .footer-content {
    width: 100%;
    display: block;
    margin: 0 auto;
    padding: 20px;
  }
}
footer .footer-content .footer-category {
  width: 300px;
  margin-left: 40px;
}
@media (max-width: 500px) {
  footer .footer-content .footer-category {
    width: 100%;
    margin: 30px 0 0;
  }
}
footer .footer-content .footer-category h2 {
  font-size: 20px;
  margin: 20px 0;
  color: rgb(255, 255, 255);
}
@media (max-width: 500px) {
  footer .footer-content .footer-category h2 {
    margin: 20px 0 10px;
  }
}
@media (max-width: 500px) {
  footer .footer-content .footer-category ul {
    width: 95%;
    margin: 0 auto;
  }
}
footer .footer-content .footer-category ul li {
  list-style: none;
}
@media (max-width: 500px) {
  footer .footer-content .footer-category ul li {
    width: 100%;
  }
}
footer .footer-content .footer-category ul li a {
  width: 100%;
  margin: 5px 3px;
  display: inline-block;
  line-height: 1.5;
  color: rgb(255, 255, 255);
}
@media (max-width: 500px) {
  footer .footer-content .footer-category ul li a {
    width: 100%;
  }
}
@media (min-width: 500px) {
  footer .footer-content .footer-category ul li a:hover {
    opacity: 0.5;
  }
}
footer .footer-content .footer-sns {
  width: 200px;
}
@media (max-width: 500px) {
  footer .footer-content .footer-sns {
    width: auto;
    margin: 30px 0 0;
  }
}
@media (min-width: 500px) {
  footer .footer-content .footer-sns a:hover {
    opacity: 0.5;
  }
}
footer .footer-content .footer-sns .ios {
  width: 150px;
}
footer .footer-content .footer-sns .ios img {
  width: 150px;
}
footer .footer-content .footer-sns .flex {
  display: flex;
  justify-content: start;
}
footer .footer-content .footer-sns .flex img {
  width: 40px;
  height: 40px;
  margin: 5px;
}
footer * {
  max-width: 100%;
}
footer .copy {
  width: 100%;
  color: white;
  text-align: center;
  padding: 10px;
  margin-top: 50px;
}

.subtitle {
  width: 90%;
  margin: 50px auto 20px;
  color: #4E598C;
  font-family: Futura, "Noto Sans JP Regular", Meiryo, sans-serif;
  text-align: center;
}
.subtitle h2 {
  font-size: 48px;
  font-weight: 700;
  font-weight: normal;
  letter-spacing: 2px;
}
@media (max-width: 500px) {
  .subtitle h2 {
    font-size: 30px;
  }
}
.subtitle p {
  font-size: 20px;
  line-height: 1;
  font-weight: bold;
}
@media (max-width: 500px) {
  .subtitle p {
    font-size: 16px;
  }
}

#fv img {
  display: block;
  width: 720px;
  height: auto;
  margin: 100px auto 200px;
}
@media (max-width: 500px) {
  #fv img {
    width: 90%;
  }
}

#information {
  margin: 20px auto 50px;
  max-width: 1200px;
  width: 80%;
}
@media (max-width: 500px) {
  #information {
    width: 95%;
  }
}
#information .wrapper {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 500px) {
  #information .wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}
#information .wrapper:has(> a:nth-child(3):last-child) {
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
}
#information .wrapper:has(> a:nth-child(3):last-child) a {
  width: 80%;
  margin: 0 10%;
}
#information .wrapper a {
  width: 100%;
  height: auto;
  margin: 0;
  display: block;
}
@media (min-width: 500px) {
  #information .wrapper a:hover {
    opacity: 0.5;
  }
}
#information .wrapper a img {
  width: 100%;
  height: auto;
}

#notice {
  width: 800px;
  margin: 0 auto;
  color: #464646;
}
@media (max-width: 500px) {
  #notice {
    width: 95%;
  }
}
#notice h2 {
  font-size: 20px;
  margin: 30px 0 10px;
  display: inline-block;
  background: linear-gradient(transparent 50%, rgba(249, 87, 56, 0.5));
}
#notice p {
  font-size: 16px;
}
#notice a {
  color: rgba(13, 59, 102, 0.7);
  font-weight: bold;
}
@media (min-width: 500px) {
  #notice a:hover {
    opacity: 0.5;
  }
}

#information,
#column,
#onayami,
#clinic {
  scroll-margin-top: 250px;
}
@media (max-width: 500px) {
  #information,
  #column,
  #onayami,
  #clinic {
    scroll-margin-top: 160px;
  }
}

#column {
  max-width: 1200px;
  width: 80%;
  margin: 20px auto 50px;
  position: relative;
  overflow: visible;
}
@media (max-width: 500px) {
  #column {
    width: 95%;
  }
}
#column .wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 500px) {
  #column .wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 2%;
    width: 95%;
  }
}
#column .wrapper a,
#column .wrapper iframe {
  width: 95%;
  aspect-ratio: 5/3;
  margin: 0;
  display: block;
}
@media (min-width: 500px) {
  #column .wrapper a:hover,
  #column .wrapper iframe:hover {
    opacity: 0.5;
  }
}
#column .wrapper a img,
#column .wrapper iframe img {
  width: 100%;
  aspect-ratio: 5/3;
}

#menu {
  max-width: 1200px;
  width: 80%;
  margin: 20px auto 50px;
  padding: 20px;
  background: rgb(240, 240, 240);
}
@media (max-width: 500px) {
  #menu {
    width: 95%;
  }
}
#menu ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  width: auto;
}
@media (max-width: 500px) {
  #menu ul {
    grid-template-columns: repeat(2, 1fr);
  }
}
#menu ul li {
  list-style: none;
  width: 100%;
}
@media (max-width: 500px) {
  #menu ul li {
    width: 100%;
  }
}
#menu ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  text-decoration: none;
  color: #333;
  border-bottom: 1px dotted rgb(150, 150, 150);
  width: 100%;
  padding: 5px 0;
  text-align: left;
}
#menu ul li a::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #4E598C;
  flex-shrink: 0;
}
#menu ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 18px;
  background-color: #fff;
  /* SVG矢印（白） */
  mask: url("data:image/svg+xml;utf8,              <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>              <path d='M8 5l8 7-8 7' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/>              </svg>") center/12px 12px no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,                <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>                <path d='M8 5l8 7-8 7' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/>                </svg>") center/12px 12px no-repeat;
}
#menu ul li a .category-name {
  line-height: 1;
  width: 200px;
  text-align: left;
  color: black;
  width: auto;
}
@media (max-width: 500px) {
  #menu ul li a .category-name {
    width: auto;
  }
}

#category_menu {
  padding-top: 200px;
  width: 800px;
  margin: 0 auto;
}
@media (max-width: 500px) {
  #category_menu {
    width: 95%;
    padding-top: 100px;
  }
}
#category_menu .category-main-title {
  margin: 40px 0 20px;
  font-size: 1.4rem;
  display: inline-block;
  background: linear-gradient(transparent 50%, rgba(249, 87, 56, 0.5));
}
#category_menu .category-title {
  font-size: 24px;
  margin-bottom: 24px;
}
#category_menu .menu-card {
  border: 1px solid #ddd;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  display: flex;
  margin: 10px 0;
}
@media (max-width: 500px) {
  #category_menu .menu-card {
    padding: 5px;
  }
}
#category_menu .menu-card .menu-name {
  width: 600px;
}
@media (max-width: 500px) {
  #category_menu .menu-card .menu-name {
    width: 100%;
  }
}
#category_menu .menu-sub {
  font-size: 16px;
  color: rgb(0, 0, 0);
}
@media (max-width: 500px) {
  #category_menu .menu-sub {
    margin: 5px;
  }
}
#category_menu .menu-title {
  font-size: 14px;
  color: #777;
  margin: 10px;
  line-height: 1.2;
}
#category_menu .note_01 {
  font-size: 14px;
  color: #777;
  margin: 10px;
  line-height: 1.2;
}
#category_menu .menu-price {
  width: 200px;
}
@media (max-width: 500px) {
  #category_menu .menu-price {
    width: 100px;
  }
}
#category_menu .menu-price .price {
  display: flex;
}
@media (max-width: 500px) {
  #category_menu .menu-price .price {
    display: block;
    width: 100px;
  }
}
#category_menu .menu-price .price p {
  margin: 4px 0;
  display: block;
  width: 80px;
}
@media (max-width: 500px) {
  #category_menu .menu-price .price p {
    font-size: 14px;
  }
}
@media (max-width: 500px) {
  #category_menu .menu-price .price p:nth-child(1) {
    width: 100px;
  }
}
#category_menu .menu-price .price p:nth-child(2) {
  text-align: right;
}
@media (max-width: 500px) {
  #category_menu .menu-price .price p:nth-child(2) {
    width: 100px;
    text-align: left;
    padding-left: 5px;
  }
}
#category_menu .menu-price .monitor {
  color: #c0392b;
  font-weight: bold;
}
#category_menu .menu-notes {
  margin-top: 10px;
  padding-left: 16px;
  font-size: 13px;
}

.back-link {
  width: 200px;
  display: block;
  margin: 40px auto;
}
.back-link a {
  width: auto;
  display: block;
  padding: 10px 10px;
  border-radius: 40px;
  width: 200px;
  text-align: center;
  color: white;
  background: #4E598C;
}
@media (min-width: 500px) {
  .back-link a:hover {
    opacity: 0.5;
  }
}

#clinic {
  width: 900px;
  margin: 30px auto 100px;
  padding: 50px 30px;
  background-color: rgb(249, 249, 249);
}
@media (max-width: 500px) {
  #clinic {
    width: 95%;
  }
}
#clinic .inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
@media (max-width: 500px) {
  #clinic .inner {
    display: block;
  }
}
#clinic .inner .group {
  width: 450px;
}
@media (max-width: 500px) {
  #clinic .inner .group {
    width: 100%;
    margin: 0 auto;
  }
}
#clinic .inner .group .flex {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: 15px;
}
#clinic .inner .group .flex p {
  line-height: 1.3;
}
#clinic .inner .group .flex p a {
  color: rgb(55, 87, 193);
  text-decoration: underline;
}
@media (max-width: 500px) {
  #clinic .inner .group .flex p {
    font-size: 12px;
  }
}
#clinic .inner .group .flex p:nth-child(1) {
  width: 80px;
}
#clinic .inner .group .flex p:nth-child(2) {
  width: 330px;
}
@media (max-width: 500px) {
  #clinic .inner .group .flex p:nth-child(2) {
    width: 70%;
    margin: 0;
    padding: 0;
  }
}
#clinic .inner .group .flex .item {
  width: 150px;
  padding: 0px 10px;
}
@media (max-width: 500px) {
  #clinic .inner .group .flex .item {
    width: 25%;
    padding: 0;
    margin: 0;
  }
}
#clinic iframe {
  width: 400px;
  display: block;
  margin: 0px auto 0;
  height: 200px;
}
@media (max-width: 500px) {
  #clinic iframe {
    width: 100%;
  }
}

#case {
  width: 100%;
  background: rgba(106, 144, 253, 0.1);
  padding: 10px 0;
}
#case .inner {
  max-width: 1200px;
  width: 80%;
  margin: 20px auto 50px;
}
@media (max-width: 500px) {
  #case .inner {
    width: 95%;
  }
}
#case .inner .subtitle {
  margin-top: 0;
}
#case .inner ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
@media (max-width: 500px) {
  #case .inner ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
#case .inner ul li {
  list-style: none;
  margin: 0;
}
#case .inner ul li a {
  display: block;
}
#case .inner ul li a * {
  color: rgb(0, 0, 0);
}
#case .inner ul li a .case-title {
  display: inline-block;
  background: linear-gradient(transparent 50%, rgba(249, 87, 56, 0.5));
  width: 100%;
  text-align: center;
}
#case .inner ul li a img {
  width: 100%;
}
#case .inner ul li a .case-title {
  font-size: 20px;
  text-align: center;
  margin-bottom: 5px;
  margin-top: 15px;
}
#case .inner ul li a img {
  height: auto;
}
#case .inner ul li a .case-generation,
#case .inner ul li a .case-treatment {
  font-size: 14px;
}

.viewmore {
  width: 300px;
  text-align: center;
  display: block;
  margin: 30px auto;
  background: rgb(78, 89, 140);
  color: white;
  border-radius: 50px;
  padding: 10px 0;
}

#case-list-page img {
  max-width: 200px;
}

#case-detail {
  padding-top: 170px;
  width: 800px;
  margin: 0px auto 30px;
  display: block;
}
@media (max-width: 500px) {
  #case-detail {
    width: 95%;
    padding-top: 100px;
  }
}
@media (max-width: 500px) {
  #case-detail .case-title {
    font-size: 26px;
    text-align: center;
  }
}
#case-detail .flex {
  display: flex;
  width: 800px;
  margin-top: 10px;
}
@media (max-width: 500px) {
  #case-detail .flex {
    width: 100%;
    display: block;
  }
}
#case-detail .flex img {
  width: 200px;
  height: auto;
}
@media (max-width: 500px) {
  #case-detail .flex img {
    width: 90%;
    display: block;
    margin: 0 auto;
  }
}
#case-detail .flex .case-info {
  width: 600px;
  padding: 0 20px;
}
@media (max-width: 500px) {
  #case-detail .flex .case-info {
    width: 100%;
  }
}
#case-detail .flex .case-info .case-generation,
#case-detail .flex .case-info .case-treatment,
#case-detail .flex .case-info .case-doctor,
#case-detail .flex .case-info .case-details {
  display: flex;
  width: 600px;
  border-bottom: 1px dotted rgb(200, 200, 200);
}
@media (max-width: 500px) {
  #case-detail .flex .case-info .case-generation,
  #case-detail .flex .case-info .case-treatment,
  #case-detail .flex .case-info .case-doctor,
  #case-detail .flex .case-info .case-details {
    width: 100%;
  }
}
#case-detail .flex .case-info .case-generation p,
#case-detail .flex .case-info .case-treatment p,
#case-detail .flex .case-info .case-doctor p,
#case-detail .flex .case-info .case-details p {
  line-height: 1.1;
  font-size: 14px;
  margin: 10px 0;
}
#case-detail .flex .case-info .case-generation p:nth-child(1),
#case-detail .flex .case-info .case-treatment p:nth-child(1),
#case-detail .flex .case-info .case-doctor p:nth-child(1),
#case-detail .flex .case-info .case-details p:nth-child(1) {
  width: 100px;
}
#case-detail .flex .case-info .case-generation p:nth-child(2),
#case-detail .flex .case-info .case-treatment p:nth-child(2),
#case-detail .flex .case-info .case-doctor p:nth-child(2),
#case-detail .flex .case-info .case-details p:nth-child(2) {
  width: 560px;
}
@media (max-width: 500px) {
  #case-detail .flex .case-info .case-generation p:nth-child(2),
  #case-detail .flex .case-info .case-treatment p:nth-child(2),
  #case-detail .flex .case-info .case-doctor p:nth-child(2),
  #case-detail .flex .case-info .case-details p:nth-child(2) {
    width: calc(100% - 110px);
  }
}
#case-detail .flex .case-info .case-generation {
  border-top: 1px dotted rgb(200, 200, 200);
  margin-top: 0;
}
#related-cases {
  width: 900px;
  margin: 80px auto;
}
@media (max-width: 500px) {
  #related-cases {
    width: 95%;
  }
}
#related-cases * {
  color: black;
}
#related-cases .subtitle {
  margin-bottom: 30px;
}
#related-cases .subtitle p {
  font-size: 28px;
}
@media (max-width: 500px) {
  #related-cases .subtitle p {
    font-size: 20px;
  }
}
#related-cases .case-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: auto;
}
@media (max-width: 500px) {
  #related-cases .case-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
#related-cases .case-list li {
  list-style: none;
}
#related-cases img {
  width: 100%;
  height: auto;
}

#onayami {
  width: 100%;
  background: rgba(106, 144, 253, 0.1);
  padding: 10px 0;
}
#onayami .inner {
  max-width: 1200px;
  width: 80%;
  margin: 20px auto 50px;
}
@media (max-width: 500px) {
  #onayami .inner {
    width: 95%;
  }
}
#onayami .inner .subtitle {
  margin-top: 0;
}
#onayami .inner ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  width: auto;
}
@media (max-width: 500px) {
  #onayami .inner ul {
    grid-template-columns: repeat(3, 1fr);
  }
}
#onayami .inner ul li {
  list-style: none;
  width: 100%;
  margin: 10px 0;
}
@media (max-width: 500px) {
  #onayami .inner ul li {
    width: 100%;
  }
}
#onayami .inner ul li a .category-img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1/1;
}
@media (max-width: 500px) {
  #onayami .inner ul li a .category-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
  }
}
@media (min-width: 500px) {
  #onayami .inner ul li a .category-img:hover {
    opacity: 0.5;
  }
}
#onayami .inner ul li a .category-name {
  line-height: 1;
  margin-top: 10px;
  width: 200px;
  text-align: center;
  color: black;
  margin-top: 10px;
  width: auto;
}
@media (max-width: 500px) {
  #onayami .inner ul li a .category-name {
    width: 100%;
  }
}

#onayami_menu {
  padding-top: 200px;
  width: 800px;
  margin: 0 auto;
}
@media (max-width: 500px) {
  #onayami_menu {
    width: 95%;
    padding-top: 100px;
  }
}
#onayami_menu .category-main-title {
  margin: 40px 0 20px;
  font-size: 1.4rem;
  display: inline-block;
  background: linear-gradient(transparent 50%, rgba(249, 87, 56, 0.5));
}
#onayami_menu .category-title {
  font-size: 24px;
  margin-bottom: 24px;
}
#onayami_menu .category-title span {
  font-size: 16px;
  font-weight: normal;
}
#onayami_menu .menu-card {
  border: 1px solid #ddd;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  display: flex;
  margin: 10px 0;
}
@media (max-width: 500px) {
  #onayami_menu .menu-card {
    padding: 5px;
  }
}
#onayami_menu .menu-card .menu-name {
  width: 600px;
}
@media (max-width: 500px) {
  #onayami_menu .menu-card .menu-name {
    width: 100%;
  }
}
#onayami_menu .menu-sub {
  font-size: 16px;
  color: rgb(0, 0, 0);
}
@media (max-width: 500px) {
  #onayami_menu .menu-sub {
    margin: 5px;
  }
}
#onayami_menu .menu-title {
  font-size: 14px;
  color: #777;
  margin: 10px;
  line-height: 1.2;
}
#onayami_menu .note_01 {
  font-size: 14px;
  color: #777;
  margin: 10px;
  line-height: 1.2;
}
#onayami_menu .menu-price {
  width: 200px;
}
@media (max-width: 500px) {
  #onayami_menu .menu-price {
    width: 100px;
  }
}
#onayami_menu .menu-price .price {
  display: flex;
}
@media (max-width: 500px) {
  #onayami_menu .menu-price .price {
    display: block;
    width: 100px;
  }
}
#onayami_menu .menu-price .price p {
  margin: 4px 0;
  display: block;
  width: 80px;
}
@media (max-width: 500px) {
  #onayami_menu .menu-price .price p {
    font-size: 14px;
  }
}
@media (max-width: 500px) {
  #onayami_menu .menu-price .price p:nth-child(1) {
    width: 100px;
  }
}
#onayami_menu .menu-price .price p:nth-child(2) {
  text-align: right;
}
@media (max-width: 500px) {
  #onayami_menu .menu-price .price p:nth-child(2) {
    width: 100px;
    text-align: left;
    padding-left: 5px;
  }
}
#onayami_menu .menu-price .monitor {
  color: #c0392b;
  font-weight: bold;
}
#onayami_menu .menu-notes {
  margin-top: 10px;
  padding-left: 16px;
  font-size: 13px;
}

.onayami-toc,
.case-toc {
  width: 100%;
  margin: 0 auto;
}
.onayami-toc .toc-title,
.case-toc .toc-title {
  font-weight: bold;
  font-size: 20px;
  margin: 40px 0 10px;
  text-decoration: underline;
}
.onayami-toc .toc-list,
.case-toc .toc-list {
  list-style: none;
  width: 750px;
  margin: 0 auto;
  background: rgb(240, 240, 240);
  padding: 20px;
}
@media (max-width: 500px) {
  .onayami-toc .toc-list,
  .case-toc .toc-list {
    width: 95%;
  }
}
.onayami-toc .toc-list li,
.case-toc .toc-list li {
  line-height: 1.5;
}
.onayami-toc .toc-list a,
.case-toc .toc-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  text-decoration: none;
  color: #333;
  border-bottom: 1px dotted rgb(150, 150, 150);
  width: 100%;
  padding: 5px 0;
}
.onayami-toc .toc-list a::before,
.case-toc .toc-list a::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #4E598C;
  flex-shrink: 0;
}
.onayami-toc .toc-list a::after,
.case-toc .toc-list a::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 18px;
  background-color: #fff;
  /* SVG矢印（白） */
  mask: url("data:image/svg+xml;utf8,              <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>              <path d='M8 5l8 7-8 7' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/>              </svg>") center/12px 12px no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,                <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>                <path d='M8 5l8 7-8 7' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/>                </svg>") center/12px 12px no-repeat;
  pointer-events: none;
}
.onayami-toc .toc-list a:hover,
.case-toc .toc-list a:hover {
  text-decoration: underline;
}

.category-main-title,
.case-category-title {
  scroll-margin-top: 150px;
}

#case-list-page {
  padding-top: 200px;
  width: 800px;
  margin: 0 auto;
}
@media (max-width: 500px) {
  #case-list-page {
    width: 95%;
    padding-top: 100px;
  }
}
#case-list-page .case-category-title {
  font-size: 28px;
  margin: 100px 0 20px;
  display: block;
  background: linear-gradient(transparent 50%, rgba(249, 87, 56, 0.5));
}
#case-list-page .case-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: auto;
}
@media (max-width: 500px) {
  #case-list-page .case-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
#case-list-page .case-list li {
  list-style: none;
  width: 100%;
}
@media (max-width: 500px) {
  #case-list-page .case-list li {
    width: 100%;
  }
}
#case-list-page .case-list li a {
  align-items: center;
  text-decoration: none;
  color: #333;
  width: 100%;
  padding: 5px 0;
  text-align: left;
}
#case-list-page .case-list li a .category-name {
  line-height: 1;
  width: 100%;
  text-align: left;
  color: black;
  width: auto;
}
@media (max-width: 500px) {
  #case-list-page .case-list li a .category-name {
    width: auto;
  }
}
#case-list-page .case-list li a img {
  width: 100%;
  height: auto;
}

.category-lead {
  margin-bottom: 30px;
}
.category-lead * {
  font-size: 18px;
}
.category-lead .category-lead-top {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}
.category-lead .category-lead-subtitle {
  font-size: 18px;
  display: inline-block;
  background: linear-gradient(transparent 50%, rgba(249, 87, 56, 0.5));
  margin-bottom: 10px;
}
.category-lead .category-lead-detail {
  font-size: 16px;
  line-height: 1.2;
}

#doctor {
  width: 1000px;
  margin: 50px auto;
}
@media (max-width: 500px) {
  #doctor {
    width: 95%;
    margin: 0 auto;
  }
}
#doctor h1 {
  margin: 20px 0;
}
@media (max-width: 500px) {
  #doctor h1 {
    font-size: 22px;
  }
}
#doctor .greeting {
  line-height: 1.5;
}
#doctor .doctor-detail {
  display: flex;
  width: 550px;
  margin: 40px auto;
}
@media (max-width: 500px) {
  #doctor .doctor-detail {
    display: block;
    width: 100%;
  }
}
#doctor .doctor-detail .left {
  width: 250px;
}
@media (max-width: 500px) {
  #doctor .doctor-detail .left {
    width: 100%;
  }
}
#doctor .doctor-detail .left img {
  width: 200px;
  height: auto;
  display: block;
  margin: 0 50px 0 0;
}
@media (max-width: 500px) {
  #doctor .doctor-detail .left img {
    width: 100%;
  }
}
#doctor .doctor-detail .right {
  width: 300px;
}
@media (max-width: 500px) {
  #doctor .doctor-detail .right {
    width: 90%;
    margin: 20px auto;
  }
}
#doctor .doctor-detail .right p:nth-child(1) {
  font-size: 20px;
  margin-bottom: 5px;
}
#doctor .doctor-detail .right p:nth-child(2) {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  /* ←これが肝 */
  height: 30px;
}
@media (max-width: 500px) {
  #doctor .doctor-detail .right p:nth-child(2) {
    width: 100%;
  }
}
#doctor .doctor-detail .right p:nth-child(2) .sns {
  display: inline-flex;
  /* img を中央に */
  align-items: center;
  height: 30px;
  margin-left: 5px;
}
#doctor .doctor-detail .right p:nth-child(2) .sns img {
  height: 30px;
  /* 任意 */
  width: auto;
  display: block;
  /* baseline 排除 */
}
#doctor .doctor-detail .right p:nth-child(3) {
  font-size: 16px;
  display: inline-block;
  background: linear-gradient(transparent 50%, rgba(249, 87, 56, 0.5));
}
#doctor .doctor-detail .right p:nth-child(4) {
  font-size: 16px;
  line-height: 1.5;
}/*# sourceMappingURL=style.css.map */