@charset "UTF-8";

/* アニメーションを止めている人へのアクセシビリティ対応 */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

:root {
  /* 色管理用の変数 */
  --white-color:#FBF7EC;
  --black-color:#232829;
  --gray-color01: #DADADA;
  --gray-color02: #909090;
  --gray-color03: #606060;
  --light-color: #f8f2e2;
  --main-color:#E7D6B8;
  --dark-color:#AA917D;
  --accent-color:#DBB8A0;
  --light-yellow: #FCF9F5;
  --red-color:#ED5454;
  --lp-gold-gradient: linear-gradient(90deg, var(--accent-color), #C9BFB0);
  /* 施術グループの写真枠の既定背景（縦長写真は描画時に写真の背景色で上書きする） */
  --photo-bg-color: #fff;

  
  /* コンテンツ幅管理用の変数 */
  --content-width-sm: 800px;
  --content-width: 960px;
  --content-width-lg: 1216px;
  --horizontal-padding: 16px;

  /* z-index管理*/
  --z-index-back: -1;
  --z-index-default: 1;
  --z-index-header: 100;
  --z-index-menu: 150;
  --z-index-modal: 200;

  --ja-font:"Noto Sans JP", sans-serif;
  --en-font: "Jost", sans-serif;

  --box-shadow: 4px 2px 8px color-mix(in srgb, var(--black-color), transparent 80%);
  --box-shadow: 2px 2px 4px color-mix(in srgb, var(--black-color), transparent 80%);
}

@media screen and (min-width: 1900px) {
  :root {
    --content-width-lg: 1400px;
  }
}

body {
  font-family: var(--ja-font);
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: var(--black-color);
  background-color: var(--main-color);
  /* overflow-x: hidden; */
}

*:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* ---------- layout ---------- */
.l_contents {
  padding: 64px 0;
  position: relative;
}

@media screen and (min-width: 1080px) {
  .l_contents {
    padding: 80px 0;
  }
}

.l_contents__ptpb40 {
  padding: 40px 0;
}

.l_contents__ptpb60 {
  padding: 60px 0;
}

.l_contents__pt200pb40 {
  padding: 200px 0 40px;
}


.l_contents__bg-h600::before {
  height: 600px;
}

.l_container-sm,
.l_container,
.l_container-lg {
  width: 100%;
  padding: 0 var(--horizontal-padding);
  margin-inline: auto;
}

.l_container-sm {
  max-width: calc(var(--content-width-sm) + var(--horizontal-padding) * 2);
}

.l_container {
  max-width: calc(var(--content-width) + var(--horizontal-padding) * 2);
}

.l_container-lg {
  max-width: calc(var(--content-width-lg) + var(--horizontal-padding) * 2);
}

@media screen and (min-width: 768px) {
  .l_container-sm,
  .l_container,
  .l_container-lg {
    padding: 0 calc(var(--horizontal-padding) * 2);
  }
}

.l_container-sm {
  max-width: calc(var(--content-width-sm) + var(--horizontal-padding) * 4);
}

.l_container {
  max-width: calc(var(--content-width) + var(--horizontal-padding) * 4);
}

.l_container-lg {
  max-width: calc(var(--content-width-lg) + var(--horizontal-padding) * 4);
}


/* ----- header ----- */
.l_header {
  width: 100%;
  padding: 0 16px;
  background-color: var(--accent-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  z-index: var(--z-index-header);
  transition: opacity 0.7s ease-in;
  opacity: 1;
  box-shadow: 0 2px 2px color-mix(in srgb, var(--black-color) 10%, transparent);
}

@media screen and (min-width: 1080px) {
  .l_header{
    padding: 0 32px;
    min-height: 88px;

  }
}

@media screen and (min-width: 1600px) {
  .l_header {
    padding-left: 80px;
  }
}

.l_header_left {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

@media screen and (min-width: 1080px) {
  .l_header_left {
    flex-direction: column;
    align-items: flex-start;
    width: auto;
  }

  /* small header */
  .l_header_left.is-sm {
    flex-direction: row;
    align-items: center;
    gap: 40px;
    width: auto;
  }
}

.l_header-logo {
  width: 144px;
  padding: 22px 0 16px;
  position: relative;
}

@media screen and (min-width: 1080px) {
  .l_header-logo {
    width: 280px;
    padding: 34px 0 12px;
  }

  .l_header-logo.is-sm {
    width: 216px;
    padding: 12px 0;
  }
}

.l_header_medica-subject {
  position: absolute;
  top: 10px;
  left: 0;
  font-size: 8px;
}

@media screen and (min-width: 1080px) {
  .l_header_medica-subject {
    top: 10px;
    right: 0;
    font-size: 10px;
  }
}

.l_header-logo.is-sm .l_header_medica-subject {
  top: 0px;
  font-size: 8px;
}

.l_header-logo_link {
  display: flex;
  justify-content: center;
  align-items: center;
}

.l_header-nav {
  position: fixed;
  inset: 0;
  background: var(--main-color);
  z-index: var(--z-index-header);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

@media screen and (min-width: 1080px) {
  .l_header-nav {
    position: static;
    background: transparent;
    width: auto;
    min-height: 0;
    padding: 4px 0 16px;
    opacity: 1;
    pointer-events: inherit;
    justify-content: space-between;
    border-top: 1px solid var(--black-color);
  }
  .l_header-nav.is-sm {
    border-top: none;
  }
}

.l_header-nav_list {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 10px;
}

@media screen and (min-aspect-ratio: 3/2) and (max-width: 1080px) {
  .l_header-nav_list {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    gap: 22px;
  }
}

@media screen and (min-width: 1080px) {
  .l_header-nav_list {
    flex-direction: row;
    gap: 32px;
    height: 100%;
  } 
  .l_header-nav_list.is-sm {
    flex-wrap: wrap;
    width: 440px;
    -moz-column-gap: 32px;
         column-gap: 32px;
    row-gap: 0px;
  }
}

@media screen and (min-width: 1400px) {
  .l_header-nav_list.is-sm {
    width: auto;
    flex-wrap: nowrap;
  }
}

.l_header-nav_item {
  height: 100%;
  font-family: var(--en-font);
  color: var(--black-color);
}

@media screen and (min-width: 1080px) {
  .l_header-nav_item {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--black-color);
  }
}

.l_header-nav_link {
  transition: color 0.3s ease-in;
}

.l_header-nav_link:focus-visible {
  color: var(--black-color);
}

@media (any-hover: hover) {
  .l_header-nav_link:hover {
    color: var(--black-color);
  }
}

/* ルビを上に表示 */
.l_header-nav_ruby {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.l_header-nav_ruby-text {
  font-size: 0.6em;
  margin-bottom: 0.2em;
  line-height: 1;
}

.l_header-nav_ruby-base {
  font-size: 1em;
}

.l_header_right {
  position: absolute;
}

@media screen and (min-width: 1080px) {
  .l_header_right {
    display: flex;
    flex-direction: row;
    gap: 40px;
    position: absolute;
    top: 18px;
    right: 24px;
  }
  .l_header_right.is-sm {
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 24px;
    top: 10px;
  }
}

@media screen and (min-width: 1600px) {
  .l_header_right {
    right: 80px;
  }
}

.l_header-icon-list {
  position: fixed;
  bottom: 5%;
  left: 50%;
  translate: -50% 0;
  z-index: var(--z-index-header);
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

@media screen and (min-width: 1080px) {
  .l_header-icon-list {
    position: static;
    margin-top: 14px;
    align-items: flex-start;
    translate: 0;
  }
  .l_header-icon-list.is-sm {
    margin-top: 0;
  }
}

.l_header-icon {
  width: 39px;
  height: 39px;
  transition: scale 0.1s ease-in;
  position: relative;
}

@media (any-hover: hover) {
  .l_header-icon:hover {
    scale : 105%;
  }
}

@media screen and (min-width: 768px) {
  .l_header-icon.is-sm {
    width: 32px;
    height: 32px;
  }
}

.l_header-icon_img {
  width: 100%;
  height: 100%;
  position: relative;
}

@media (any-hover: hover) {
  .l_header-icon__tel::after {
    content:"TEL:06-6684-8676";
    position: absolute;
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    padding: 16px 16px 8px;
    color: var(--black-color);
    background-color: var(--main-color);
    -webkit-clip-path: polygon(0 8px, calc(60% - 8px) 8px, 60% 0,calc(60% + 8px) 8px,100% 8px,100% 100%,0 100% );
            clip-path: polygon(0 8px, calc(60% - 8px) 8px, 60% 0,calc(60% + 8px) 8px,100% 8px,100% 100%,0 100% );
    top: calc(100% + 8px);
    white-space: nowrap;
    left: 60%;
    translate: -60% 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in;
    border-radius: 4px;
  }

  .l_header-icon__tel:hover.l_header-icon__tel::after {
    opacity: 1;
    pointer-events: visible;
  }
}

.l_header_buttons {
  display: none;
}


@media screen and (min-width: 1080px) {
  .l_header_buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
}

.l_header_place {
  display: block;
  font-family: var(--en-font);
  text-transform: uppercase;
  text-align: right;
}

.l_header_place.is-sm {
  display: none;
}

.l_header_place::before {
  content: ">>";
}

/* ----- footer ----- */
.l_footer {
  color: var(--main-color);
  background-color: var(--black-color);
  font-size: 14px;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .l_footer {
    text-align: left;
  }
}

.l_footer-inner {
  padding: 40px 16px;
  max-width: calc(960px + var(--horizontal-padding) * 2);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media screen and (min-width: 1080px) {
  .l_footer-inner {
    flex-direction: row;
  }
}

.l_footer_logo-wrapper {
  max-width: 240px;
  margin-inline: auto;
}

.l_footer_list {
  margin-inline: auto;
  color: var(--white-color);
}

.l_footer_item:not(:first-child) {
  margin-top: 28px;
}

.l_footer_biyouhifuka-group .l_footer_sublist {
  margin-top: 16px;
}

@media screen and (min-width: 768px) {
  .l_footer_sublist {
    display: flex;
    gap: 16px;
  }
  .l_footer_sublist__biyouhifuka {
    margin-left: 24px;
  }
}


.l_footer_subitem:not(:first-child) {
  margin-top: 8px;
}

@media screen and (min-width: 768px) {
  .l_footer_subitem:not(:first-child) {
    margin-top: 0;
  }  
}

.l_footer-copyright {
  height: 40px;
  text-align: center;
  background-color: var(--dark-color);
  color: var(--black-color);
  padding-bottom: 72px;
}

@media screen and (min-width: 768px) {
  .l_footer-copyright {
    padding-bottom: 80px;
  }
}

.l_footer-copyright_txt {
  font-size: 12px;
  line-height: 40px;
}

/* ---------- module ---------- */
.m_button-wrapper {
  width: 208px;
  transition: tranlate 0.1s ease-in;
  position: relative;
}
@media (any-hover: hover) {
  .m_button-wrapper__tel::after {
    content:"TEL:06-6684-8676";
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    padding: 16px 16px 8px;
    color: var(--black-color);
    background-color: var(--main-color);
    -webkit-clip-path: polygon(0 8px, calc(50% - 8px) 8px, 50% 0,calc(50% + 8px) 8px,100% 8px,100% 100%,0 100% );
            clip-path: polygon(0 8px, calc(50% - 8px) 8px, 50% 0,calc(50% + 8px) 8px,100% 8px,100% 100%,0 100% );
    position: absolute;
    top: calc(100% + 8px);
    white-space: nowrap;
    left: 50%;
    translate: -50% 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in;
  }

  .m_button-wrapper:hover.m_button-wrapper__tel::after {
    opacity: 1;
    pointer-events: visible;
  }
}

@media (any-hover: hover) {
  .m_button:hover {
    translate: 1px 1px;
  }
}

.m_button-wrapper__culumn {
  margin-top: 80px;
  margin-inline: auto;
}

@media screen and (min-width: 768px) {
  .m_button-wrapper__culumn {
    margin-top: 0;
    position: absolute;
    top: 8px;
    right: 16px;
  }
}

.m_button-wrapper__clinic {
  width: 208px;
  margin-inline: auto;
  margin-top: 24px;
}

.m_button-wrapper__webreserve {
  width: min(100%,432px);
  height: auto;
}

.m_button-wrapper__line, .m_button-wrapper__tel {
  width: min(100%,432px);
}

@media screen and (min-width: 576px) {
  .m_button-wrapper__line, .m_button-wrapper__tel {
    width: 208px;
  }
}

.m_button-wrapper__case {
  margin-top: 40px;
  margin-inline: auto;
}

.m_button {
  padding: 8px 16px;  
  background-color: var(--black-color);
  color: var(--white-color);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border-radius: 8px;
  transition: translate 0.1s ease-in;
}

@media screen and (min-width: 768px) {
  .m_button {
    padding: 10px 0;  
  }
}

@media (any-hover: hover) {
  .m_button:active{
    translate: 2px 2px;
  }
}


.m_button__webreserve, .m_button__line, .m_button__tel {
  background-color: var(--main-color);
}

.m_button::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  right: -2px;
  bottom: -2px;
  border-right: 1px solid var(--black-color);
  border-bottom: 1px solid var(--black-color);
  border-radius: 8px;
}

.m_reserve_button-wrapper .m_button::before {
  border-right: 1px solid var(--main-color);
  border-bottom: 1px solid var(--main-color);
}


.m_button:active.m_button::before {
  translate: -2px -2px;
}

.m_button_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.m_button_text {
  font-size: 14px;
  text-align: center;
  color: var(--white-color);
}

.m_reserve_button-wrapper .m_button_text {
  color: var(--black-color);
  line-height: 1.3;
  font-weight: 500;
}

@media screen and (min-width: 768px) {
  .m_button_text {
    font-size: 16px;
  }
}

.m_button_text_sm {
  font-size: 10px;
}

@media screen and (min-width: 768px) {
  .m_button_text_sm {
    font-size: 12px;
  }
}

.m__button_en {
  font-size: 14px;
  font-family: var(--en-font);
  display: block;
  margin-top: -2px;
}

.m_button_icon-wrapper {
  width: 32px;
  height: 32px;
  margin-left: 8px;
}

@media screen and (min-width: 768px) {
  .m_button_icon-wrapper {
    width: 48px;
    height: 48px;
  }
}

.m_button_icon-img {
  width: 100%;
  height: 100%;
}



/* ---------- hamburger ---------- */
.m_hamburger {
  width: 24px;
  height: 22px;
  position: relative;
  z-index: var(--z-index-menu);
}
@media screen and (min-width: 1080px) {
  .m_hamburger {
    display: none;
  }
}

.m_hamburger-bar {
  width: 100%;
  height: 2px;
  position: absolute;
  background: var(--black-color);
  left: 50%;
  transition: 0.3s;
  border-radius: 100vmax;
}

.m_hamburger-bar:first-child {
  top: 5px;
  transform: translate(-50%, 0);
}

.m_hamburger-bar:nth-child(2) {
  top: 50%;
  transform: translate(-50%, 0);
}

.m_hamburger-bar:last-child {
  top: calc(100% - 5px);
  transform: translate(-50%, 0);
}

/* ----- CTAボタン ----- */
.m_cta-button {
  position: fixed;
  z-index: calc(var(--z-index-header) - 1);
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  width: auto;
}

@media screen and (min-width: 768px) {
  .m_cta-button {
    max-width: 720px;
    bottom: 8px;
    right: 8px;
    left: unset;
    gap: 8px;
  }
}

/* Procedure Page Navigation */
.procedure_nav {
  background-color: transparent;
}

.procedure_nav_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.procedure_nav_item {
  width: 100%;
  max-width: 250px;
}

@media screen and (min-width: 768px) {
  .procedure_nav_item {
    width: calc(50% - 8px); 
  }
}

.procedure_nav_link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 12px 24px;
  background-color: var(--black-color);
  color: var(--white-color);
  font-size: 14px;
  border-radius: 100vmax;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease-in, background-color 0.3s ease-in;
  text-align: center;
}

@media screen and (min-width: 768px) {
    .procedure_nav_link {
        font-size: 15px;
        min-width: 250px;
    }
}

.procedure_nav_link::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 6px;
  background-color: var(--white-color);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  margin-left: 10px;
  transform: translateY(1px);
}

@media (any-hover: hover) {
  .procedure_nav_link:hover {
    opacity: 0.8;
    background-color: var(--accent-color);
    color: var(--black-color);
  }
}

/* Back to Contents Button */
.procedure_back-to-nav-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 32px;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
}

.procedure_back-to-nav-link {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 24px;
  background-color: var(--black-color);
  color: var(--white-color);
  font-size: 14px;
  border-radius: 100vmax;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.3s ease-in, background-color 0.3s ease-in;
}

@media (any-hover: hover) {
  .procedure_back-to-nav-link:hover {
    opacity: 0.8;
  }
}

.procedure_back-to-nav-link::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 6px;
  background-color: var(--white-color);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  margin-left: 10px;
  transform: rotate(180deg) translateY(1px);
}



.m_cta-button-link {
  width: 33.333%;
  padding: 8px 10px;
  color: var(--white-color);
  background-color: var(--black-color);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 500;
  transition: background-color 0.2s ease-in;
  border-right: 1px solid rgba(255, 255, 255, 0.7);
}

.m_cta-button-link:last-child {
  border-right: none;
}

@media screen and (min-width: 768px) {
  .m_cta-button-link {
    padding: 8px 16px 10px;
    border-radius: 8px;
    border-right: none;
  }
}

@media (any-hover: hover) {
  .m_cta-button-link:hover {
    background-color: var(--dark-color);
  }
}

.m_cta-button-link_sm {
  font-size: 12px;
  color: var(--white-color);
  margin-bottom: 2px;
}

@media screen and (min-width: 768px) {
  .m_cta-button-link_sm {
    font-size: 14px;
  }
}

@media screen and (min-width: 360px) {
  .m_cta-button-link_br {
    display: none;
  }
}

.m_cta-button-link_bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.m_cta-button-link_main {
  font-size: 14px;
  font-weight: 700;
}

@media screen and (min-width: 768px) {
  .m_cta-button-link_main {
    font-size: 18px;
    white-space: nowrap;
  }
}

.m_cta-button_icon-wrapper {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (min-width: 768px) {
  .m_cta-button_icon-wrapper {
    width: 26px;
    height: 26px;
  }
}

.m_cta-button_icon-wrapper img,
.m_cta-button_icon-wrapper svg {
  max-width: 100%;
  max-height: 100%;
}


/* ----- パンクズ ----- */
.m_breadcrumb {
  font-size: 12px;
  padding: 8px 16px;
  z-index: var(--z-index-default);
}

.m_breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

.m_breadcrumb-item {
  display: flex;
  gap: 8px;
}

.m_breadcrumb-item:not(:first-child) {
  margin-left: 8px;
}

.m_breadcrumb-item:not(:first-child)::before {
  content: ">";
  display: inline-block;
  color: var(--black-color);
}

.m_breadcrumb-item a {
  text-decoration: none;
  color: var(--black-color);
}

/* ----- section-ttl ----- */

.m_section-ttl {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  color: var(--black-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media screen and (min-width: 768px) {
  .m_section-ttl__column {
    margin-right: auto;
    margin-left: 0;
  }
}

.m_section-ttl__black {
  color: var(--black-color);
}

.m_section-ttl_en {
  display: inline-block;
  font-family: var(--en-font);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
  line-height: 1;
  border-bottom: 1px solid currentColor;
}

.m_section-ttl_en__withoutja {
  border-bottom: none;
}

@media screen and (min-width: 768px) {
  .m_section-ttl_en {
    font-size: 40px;
  }
}

@media screen and (min-width: 1080px) {
  .m_section-ttl__recommend {
    color: var(--black-color);
  }
}

.m_section-ttl_ja {
  margin-top: 4px;
  text-align: center;
}

.m_section-ttl_ja-single {
  text-align: center;
  color: var(--black-color);
  font-size: 30px;
  font-weight: 500;
}

@media screen and (min-width: 768px) {
  .m_section-ttl_ja-single {
    font-size: 40px;
  }
}

.m_section-ttl_ja-single__column {
  position: relative;
  z-index: var(--z-index-default);
}

.m_section-ttl_biyou-menu {
  font-size: 30px;
  text-align: center;
  font-weight: 500;
  color: var(--black-color);
}

@media screen and (min-width: 768px) {
  .m_section-ttl_biyou-menu {
    margin-top: 64px;
    font-size: 40px;
  }
}

.m_section-ttl-sub {
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  margin-top: 24px;
  color: var(--black-color);
  position: relative;
  z-index: var(--z-index-default);
}

.m_section-desc {
  margin-top: 64px;
}

.m_section-desc_sub {
  margin-top: 16px;
  font-size: 14px;
}

.m_menu_list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 16px;
  -moz-column-gap: 8px;
       column-gap: 8px;
  margin-top: 40px;
}

@media screen and (min-width: 768px) {
  .m_menu_list {
    gap: 16px;
  }
}

.m_menu_item {
  width: 112px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: translate 0.1s ease-in;
}

@media (any-hover: hover) {
  .m_menu_item:hover {
    translate: 0 -2px;
  }
}

@media screen and (min-width: 768px) {
  .m_menu_item {
    width: 120px;
  }
}

.m_menu_link {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.m_menu_icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 100vmax;
  border: 3px solid var(--dark-color);
  box-shadow: var(--box-shadow);
  transition: transform 0.2s ease;
}

@media screen and (min-width: 768px) {
  .m_menu_icon-wrapper {
    width: 88px;
    height: 88px;
  }
}

.m_menu_icon {
  width: 100%;
  height: 100%;
  border-radius: 100vmax;
  -o-object-fit: cover;
     object-fit: cover;
  margin-inline: auto;
  display: grid;

}

.m_menu_icon__lemella{
  -o-object-position: 50% 55%;
     object-position: 50% 55%;
}

.m_menu_name {
  height: 48px;
  margin-top: 6px;
  letter-spacing: 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  font-size: 14px;
  transition: color 0.1s ease-in;
}

@media (any-hover: hover) {
  .m_menu_item:hover {
    filter: brightness(1.05);
  }
}

@media screen and (min-width: 768px) {
  .m_menu_name {
    align-items: center;
  }
}

/* ----- reserve ----- */
.m_reserve {
  background-color: var(--accent-color);
  position: relative;
  z-index: var(--z-index-default);
  border-top-left-radius: 5vw;
  border-top-right-radius: 5vw;
  scroll-margin-top: 80px; /* #reserve へジャンプした際に固定ヘッダーで見出しが隠れないように */
}

/* 本文用 予約CTAボタン（ショートコード [reserve_button]） */
.m_reserve-cta {
  display: block;
  margin-top: 32px;
  margin-bottom: 32px;
  text-align: center;
}

.m_reserve-cta_link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 14px 48px;
  background-color: var(--black-color);
  border-radius: 8px;
  text-decoration: none;
}

.m_reserve-cta_link::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  right: -2px;
  bottom: -2px;
  border-right: 1px solid var(--black-color);
  border-bottom: 1px solid var(--black-color);
  border-radius: 8px;
}

.m_reserve-cta_text {
  color: var(--white-color);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

@media (any-hover: hover) {
  .m_reserve-cta_link:hover,
  .m_reserve-cta_link:focus-visible {
    translate: 2px 2px;
  }

  .m_reserve-cta_link:hover::before,
  .m_reserve-cta_link:focus-visible::before {
    translate: -2px -2px;
  }
}

@media screen and (min-width: 768px) {
  .m_reserve::before, .m_reserve::after {
    width: 400px;
  }
}

@media screen and (min-width: 1080px) {
  .m_reserve::before, .m_reserve::after {
    width: 467px;
  }
}

.m_reserve-text {
  margin-top: 40px;
  text-align: center;
}

/* .m_reserve_web-button-head {
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  color: var(--white-color);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.m_reserve_web-button-head::after {
  content:"";
  display: inline-block;
  width: 48px;
  height: 48px;
  background-image: url(../img/icon_callender.svg);
} */

.m_reserve_button-wrapper {
  background-color: var(--dark-color);
  padding: 32px 16px;
  margin-top: 32px;
  border-radius: 16px;
}

.m_reserve_web-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

@media screen and (min-width: 768px) {
  .m_reserve_web-wrapper {
    flex-direction: row;
  }
}

.m_reserve_tel-mail-wrapper {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

@media screen and (min-width: 576px) {
  .m_reserve_tel-mail-wrapper {
    flex-direction: row;
  }
}

.m_other-menu {
  padding: 48px 0;
  max-width: 640px;
  margin-inline: auto;
}

.m_other-menu_text {
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: var(--black-color);
}

@media screen and (min-width: 768px) {
  .m_other-menu_text {
    font-size: 22px;
  }
}
/* ----- biyouhifuka_menu ----- */

.m_biyouhifuka_menu-list {
  padding: 64px 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.m_biyouhifuka_menu-ttl {
  font-size: 20px;
  font-weight: 500;
  color: var(--black-color);
  border-bottom: 2px solid var(--dark-color);
  padding: 0 8px;
}

@media screen and (min-width: 768px) {
  .m_biyouhifuka_menu-ttl {
    font-size: 24px;
  }
}

.m_biyouhifuka_menu-box {
  padding-top: 24px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
}

/* Doctor Section */

.procedure_doctor_content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.procedure_doctor_image_wrapper {
  width: 100%;
  max-width: 300px;
  flex-shrink: 0;
}

.procedure_doctor_image {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.procedure_doctor_text_wrapper {
  flex: 1;
}

.procedure_doctor_head {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.4;
}

.procedure_doctor_text {
  line-height: 1.8;
}

/* Responsive Adjustments for Refactored Styles */
@media screen and (max-width: 767px) {
  .procedure_about_image_wrapper {
    flex-direction: column;
  }
  .procedure_about_image {
    width: 100%;
  }
}

/* Desktop / Tablet Overrides (min-width: 768px) */
@media screen and (min-width: 768px) {
  /* Doctor Section */
  .procedure_doctor_content {
    flex-direction: row;
    align-items: center;
    gap: 50px;
  }
  .procedure_doctor_image_wrapper {
    width: 30%;
  }
  .procedure_doctor_head {
    font-size: 1.6em;
  }

  /* Comparison Table */
  .m_biyouhifuka_menu-box {
    flex-direction: row;
    gap: 32px;
  }
}

.m_biyouhifukamenu_img-btn {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .m_biyouhifukamenu_img-btn {
    max-width: 368px;
  }  
}

.m_biyouhifukamenu_img-wrapper {
  max-width: 368px;
  margin-inline: auto;

}

.m_biyouhifuka_img {
  width: 100%;
  max-height: 400px;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 8px;
  overflow: hidden;
}

.m_biyouhifukamenu_btn-wrapper {
  margin-top: 16px;
  width: 100%;
  max-width: 368px;
  margin-inline: auto;
  color: var(--white-color);
  background-color: var(--black-color);
  position: relative;
  border-radius: 100vmax;
  overflow: hidden;
}

.m_biyouhifukamenu_btn-wrapper:active {
  translate: 2px 2px;
}

.m_biyouhifukamenu_btn-wrapper::after {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 2px;
  left: 2px;
  background-color: transparent;
  border-right: 1px solid var(--black-color);
  border-bottom: 1px solid var(--black-color);
  z-index: var(--z-index-back);
}

.m_biyouhifukamenu_btn-wrapper:active.m_biyouhifukamenu_btn-wrapper::after {
  translate: -2px -2px;
}

.m_biyouhifukamenu_btn {
  width: 100%;
  padding: 12px;
}

.m_biyouhifukamenu_names {
  width: 100%;
  max-width: 368px;
}

@media screen and (min-width: 768px) {
  .m_biyouhifukamenu_names {
    max-width: none;
  }
}

.m_biyouhifukamenu_name {
  margin-top: 8px;
  width: 100%;
  text-align: left;
  font-size: 14px;
}

@media screen and (min-width: 768px) {
  .m_biyouhifukamenu_name {
    font-size: 16px;
  }
}

/* モーダルスタイル */
.m_modal {
  display: none; /* 初期状態は非表示 */
  position: fixed;
  z-index: var(--z-index-modal);
  left: 0;
  top: 0;
  padding: 40px 16px;
  width: 100%;
  height: 100%;
  overflow: auto; /* モーダル全体がスクロール可能になる */
  background-color: rgba(0, 0, 0, 0.4); /* 背景を半透明にする */
}

.m_modal_content {
  background-color: rgba(0, 0, 0, 0.6);
  margin-inline: auto;
  width: 100%;
  padding: 24px 16px;
  max-width: 1200px;
  min-height: 90vh;
  max-height: 90vh; /* モーダルの高さを制限 */
  overflow-y: auto; /* コンテンツエリアをスクロール可能にする */
  position: relative;
}

.m_modal_header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* 閉じるボタンのスタイル */
.m_modal_close {
  color: var(--white-color);
  font-size: 28px;
  font-weight: 500;
}

.m_modal_close:hover,
.m_modal_close:focus {
  color: var(--gray-color01);
  text-decoration: none;
  cursor: pointer;
}

.m_modal_head {
  color: var(--white-color);
  font-size: 28px;
  font-weight: 500;
  text-align: center;
  margin-top: 16px;
}

.m_modal_desc {
  color: var(--white-color);
  font-size: 14px;
  margin-top: 24px;
  max-width: 600px;
  margin-inline: auto;
}

.m_modal_desc__mb24 {
  margin-bottom: 24px;
}

.m_modal_risc {
  font-size: 12px;
  max-width: 600px;
  margin-inline: auto;
  margin-top: 8px;
  color: var(--white-color);
}

.m_modal_table-wrapper {
  margin-top: 40px;
  margin-inline: auto;
  text-align: left;
  max-width: 600px;
}

.m_modal_table-ttl {
  color: var(--white-color);
  font-size: 18px;
  font-weight: 500;
  border-bottom: 1px solid var(--white-color);
}

.m_modal_table-ttl_sm {
  font-size: 14px;
  width: fit-content;
}

.m_modal_table-ttl-xsm {
  display: block;
  font-size: 14px;
  margin-top: 8px;
}

@media screen and (min-width: 768px) {
  .m_modal_table-ttl-xsm {
    display: inline;
  }
}

.m_modal_table-ttl_sub {
  font-size: 16px;
  color: var(--white-color);
  font-weight: 500;
  margin-top: 20px;
  margin-bottom: -12px;
}

.m_modal_table-ttl_sub__with-bar:before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 1px;
  background-color: var(--white-color);
  vertical-align: middle;
  margin-right: 4px;

}

.m_modal_table-desc {
  color: var(--white-color);
  font-size: 14px;
  margin-top: 16px;
}

.m_modal_table-desc__bold {
  display: block;
  font-weight: 500;
}

.m_modal_table-desc__mb8 {
  margin-bottom: 8px;
}

.m_modal_table-desc__sm {
  margin-top: 8px;
  font-size: 12px;
}

.m_modal_banner-link {
  display: block;
  margin-inline: auto;
  margin-top: 16px;
  width: min(100%,400px);
}

.m_modal_banner-link__mb16 {
  margin-bottom: 16px;
}

.m_modal_table {
  width: 100%;
  margin-top: 20px;
  font-size: 14px;
}

@media screen and (min-width: 768px) {
  .m_modal_table {
    width: 100%;
    margin-top: 20px;
    font-size: 16px;
  }
}

.m_modal_table-head, .m_modal_table-data{
  padding: 4px 16px;
  text-align: center;
}

.m_modal_table-head {
  font-weight: 500;
  background-color: var(--main-color); /* ヘッダーの背景色 */
  color: var(--black-color);
}

.m_modal_table-head:first-child {
  border-top-left-radius: 8px;
}

.m_modal_table-head:last-child {
  border-top-right-radius: 8px;
}

.m_modal_table-head_price {
  text-wrap: nowrap;
}

.m_modal_table-data__price {
  text-align: right;
}

.m_modal_table-row:last-child .m_modal_table-data:first-child {
  border-bottom-left-radius: 8px;
}
.m_modal_table-row:last-child .m_modal_table-data:last-child {
  border-bottom-right-radius: 8px;
}

.m_modal_table-data_sm {
  font-size: 12px;
}

.m_modal_table-row {
  background-color: var(--black-color); /* 本文の背景色 */
  color: var(--white-color);
}

.m_other-menu_page {
  margin-top: 64px;
  padding: 40px 0;
}

.m_other-menu_head {
  text-align: center;
  font-size: 18px;
  font-weight: 500;
}

@media screen and (min-width: 768px) {
  .m_other-menu_head {
    font-size: 20px;
  }
}

.m_other-menu-wrapper {
  margin-top: 40px;
}

.m_other_menu-ttl {
  font-size: 24px;
  font-weight: 500;
  color: var(--black-color);
  border-bottom: 1px solid currentColor;
}

.m_other_menu-contents {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media screen and (min-width: 768px) {
  .m_other_menu-contents {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.m_other_menu-name {
  text-align: center;
}

.m_other_menu-link-wrapper {
  width: 100%;
  max-width: 368px;
  margin-inline: auto;
  background-color: var(--black-color);
}

@media screen and (min-width: 768px) {
  .m_other_menu-link-wrapper {
    margin-inline: 0;
  }
}

.m_other_menu-link {
  display: block;
  width: 100%;
  padding: 12px;
  text-align: center;
  color: var(--white-color);
}

/* ---------- utility ---------- */
@media screen and (min-width: 768px) {
  .u_sm-dn {
    display: none;
  }
}

.u_sm-db {
  display: none;
}

@media screen and (min-width: 768px) {
  .u_sm-db {
    display: block;
  }
}

@media screen and (min-width: 1080px) {
  .u_lg-dn {
    display: none;
  }
}

.u_lg-db {
  display: none;
}
@media screen and (min-width: 1080px) {
  .u_lg-db {
    display: block;
  }
}

.u_mb16 {
  margin-bottom: 16px;
}

/* ----------------------------- */
/*            TOP                */
/* ----------------------------- */
/* ----- recommend ----- */
.m_recommend_banners {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  max-width: 300px;
  margin-inline: auto;
}

.m_recommend_banner-link {
  width: min(100%, 392px);
  transition: translate 0.1s ease-in;
}

@media (any-hover: hover) {
  .m_recommend_banner-link:hover {
    translate: 1px 1px;
  }
}

.m_recommend_banner-link:focus-visible {
  translate: 1px 1px;
}

.m_recommend_banner-wrapper {
  box-shadow: var(--box-shadow);
}

@media screen and (min-width: 768px) {
  .m_recommend_banners {
    max-width: none;

  }
}

/* ---------- kv ---------- */
.top_kv {
  background-color: var(--accent-color);
  position: relative;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
}

@media screen and (min-width: 768px) {
  .top_kv {
    border-bottom-left-radius: 48px;
    border-bottom-right-radius: 48px;
  }
}

.top_kv-inner {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

.top_kv-inner::after {
  content: "";
  background-image: url(../img/kv-copy.svg);
  background-repeat: no-repeat;
  background-size: contain;
  display: inline-block;
  width: 40%;
  max-width: 400px;
  aspect-ratio: 80 / 22;
  position: absolute;
  bottom: 2%;
  right: min(2vw, 100px);
  z-index: 2;
}

@media screen and (min-width: 768px) {
  .top_kv-inner::after {
    width: 35%;
  }
}

@media screen and (min-width: 1400px) {
  .top_kv-inner::after {
    right: -2%;
  }
}

.top_kv_video-wrapper {
  position: relative;
  z-index: 1;
}

.top_kv-copy {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% 0;
  width: 70%;
  aspect-ratio: 448 / 42;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.top_kv-copy svg {
  width: 100%;
  height: auto;
}


@media screen and (min-width: 768px) {
  .top_kv-copy {
    width: 50%;
  }
}

@media screen and (min-width: 1080px) {
  .top_kv-copy {
    width: 40%;
  }
}


.top_kv_video-wrapper video {
  margin-top: 8px;
  width: 100%;
  height: auto;
  border-radius: 32px;
}

.top_news {
  padding: 20px 16px;
}

@media screen and (min-width: 768px) {
  .top_news {
    position: absolute;
    bottom: 16px;
    left: 24px;
    background-color: color-mix(in srgb, var(--white-color) 40%, transparent);
    padding: 16px;
    z-index: 2;
  }
}

@media screen and (min-width: 768px) {
  .top_news .m_section-ttl {
    position: absolute;
    bottom: calc(100% - 14px);
    left: 0px;
    color: var(--dark-color);
  }
}

.top_news-list {
  margin-top: 16px;
}

@media screen and (min-width: 768px) {
  .top_news-list {
    margin-top: 0;
  }
}

.top_news-item {
  min-width: 260px;
  max-width: 344px;
  margin-inline: auto;
  position: relative;
}

.top_news-item::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 100%;
  background-color: var(--dark-color);
}

.top_news_link:focus-visible {
  border-top: 1px solid var(--dark-color);
  border-right: 1px solid var(--dark-color);
}

@media (any-hover: hover) {
  .top_news_link:hover {
    border-top: 1px solid var(--dark-color);
    border-right: 1px solid var(--dark-color);
  }
}

.top_news-item:not(:first-child) {
  margin-top: 8px;
}

.top_news_link {
  padding: 4px 8px 4px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  background-color: var(--white-color);
  border-top: 1px solid transparent;
  border-right: 1px solid transparent;
  border-bottom: 1px solid var(--dark-color);
  border-radius: 8px;
  transition: border 0.2s ease-in;

}

.top_news_date {
  display: flex;
  flex-direction: column;
  width: fit-content;
  color: var(--dark-color);
}

.top_news_year {
  font-size: 10px;
  font-weight: 500;
}

.top_news_dates {
  font-size: 14px;
  font-weight: 500;
}

.top_news-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 2px;
}

.top_news-category {
  display: inline-block;
  background-color: var(--dark-color);
  color: var(--white-color);
  font-size: 10px;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 4px;
  width: fit-content;
}

.top_news-title {
  font-size: 14px;
  width: 100%;
}

.top_news-arrow {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: var(--dark-color);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* ----- column ----- */
.top_column {
  background-color: var(--accent-color);
  overflow: hidden;
}

.top_column_container {
  position: relative;
}

.top_column_list-wrapper {
  margin-top: 40px;
  overflow-x: hidden;
  padding-top: 2px;
  padding-bottom: 2px;
}

@media screen and (min-width: 1080px) {
  .top_column_list-wrapper {
    width: 100vw;
  }
}

.top_column_list-item {
  height: 320px;
  background-color: var(--white-color);
  box-shadow: var(--box-shadow);
  transition: translate 0.1s ease-in;
  position: relative;
  border-bottom-right-radius: 16px;
}

@media (any-hover: hover) {
  .top_column_list-item:hover {
    translate: 0 -2px;
  }
}

.top_column_date {
  position: absolute;
  top: 0;
  left: 0;
  padding: 4px 16px;
  background-color: var(--black-color);
  font-size: 12px;
  color: var(--white-color);
  z-index: var(--z-index-default);
}

.column_tags {
  color: var(--black-color);
  margin-top: 4px;
  font-size: 12px;
}

.top_column_thumb-wrapper {
  height: 200px;
}

.top_column_thumb {
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.top_column_texts {
  padding: 16px;
  text-align: right;
  height: 120px;
  position: relative;
}

.top_column_ttl {
  height: 48px;
  overflow: hidden;
  font-weight: 500;
  text-align: left;
}

.top_column_cat {
  position: absolute;
  color: var(--black-color);
  bottom: 16px;
  right: 16px;
  padding: 2px 8px;
  border: 1px solid currentColor;
  font-size: 14px;
}

.swiper-pagination {
  position: absolute;
  top: auto;
  bottom: 97px;
  color: var(--black-color);
}

@media screen and (min-width: 768px) {
  .swiper-pagination {
    width: 100px;
    height: 23px;
    top: 28px;
    left: auto;
    right: 289px;
  }
}

.top_column_nav {
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--black-color);
  top: auto;
  bottom: 100px;
  transition: translate 0.1s ease-in;
}

@media (any-hover: hover) {
  .top_column_nav:hover {
    translate: 1px 1px;
  }
}

.top_column_nav::after {
  display: none;
}

@media screen and (min-width: 768px) {
  .top_column_nav {
    top: 52px;
    bottom: auto;
  }
}

.top_column_nav__prev {
  left: auto;
  right: calc(50% + 64px);
  -webkit-clip-path: polygon(0% 50%, 100% 0, 100% 100%);
          clip-path: polygon(0% 50%, 100% 0, 100% 100%);
}
@media screen and (min-width: 768px) {
  .top_column_nav__prev {
    right: 392px;
  }
}

.top_column_nav__next {
  right: auto;
  left: calc(50% + 64px);
  -webkit-clip-path: polygon(0 0, 100% 50%, 0 100%);
          clip-path: polygon(0 0, 100% 50%, 0 100%);
}
@media screen and (min-width: 768px) {
  .top_column_nav__next {
    right: 264px;
    left: auto;
  }
}

/* ----- information ----- */
.top_information {
  position: relative;
  background-color: var(--dark-color);
  overflow: hidden;
}

@media screen and (min-width: 1080px) {
  .top_information {
    background-color: transparent;
  }
  .top_information::before{
    position: absolute;
    content:"";
    top: 50%;
    translate: 0 -50%;
    width: 100svw;
    height: 208px;
    background-color: var(--dark-color);
    background-image: url(../img/logo_back.svg);
    background-size: 40%;
    background-position: 0 100%;
    background-repeat: no-repeat;
  }
}

@media screen and (min-width: 1080px) {
  .top_information_container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: var(--z-index-default);
  }
}

.top_information_instagram {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
@media screen and (min-width: 1080px) {
  .top_information_instagram {
    width: 60%;
  }
}

.top_information_instagram > iframe {
  max-width: 400px !important;
}

.sbi_photo_wrap {
  aspect-ratio: 3 / 4;
}

.sbi_photo {
  height: 100% !important;
}

/* ----- doctor ----- */
.top_doctor_contents {
  margin-top: 64px;
}

@media screen and (min-width: 768px) {
  .top_doctor_contents {
    display: flex;
    align-items: stretch;
    gap: 48px;
  }

  .top_doctor_contents:nth-of-type(2) {
    flex-direction: row-reverse;
  }
}

@media screen and (min-width: 1080px) {
  .top_doctor_contents {
    gap: 64px;
  }
}

.top_doctor_image-wrapper {
  max-width: 320px;
  margin-inline: auto;
  position: relative;
  z-index: var(--z-index-default);
}

.top_doctor_image-wrapper::after {
  content: none;
}


@media screen and (min-width: 768px) {
  .top_doctor_image-wrapper {
    width: 400px;
    flex-shrink: 0;
  }
}

.top_doctor_image-wrapper img {
  border-radius: 16px;
  border: 3px solid color-mix(in srgb, var(--dark-color) 40%, transparent);
  width: 100%;
  height: auto;
}

@media screen and (min-width: 768px) {
  .top_doctor_image-wrapper img {
    border-radius: 24px;
  }
}

.top_doctor_texts{
  max-width: 480px;
  margin-inline: auto;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media screen and (min-width: 768px) {
  .top_doctor_texts{
    margin-top: 0;
    max-width: initial;
    flex: 1;
    -moz-text-align-last: left;
         text-align-last: left;
  }
}

.top_doctor_names {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid color-mix(in srgb, var(--dark-color) 60%, transparent);
}

.top_doctor_role {
  padding: 6px 16px;
  font-size: 14px;
  background-color: var(--dark-color);
  color: var(--white-color);
  letter-spacing: 0.1em; 
  border-radius: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.top_doctor_name {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
}

.top_doctor_name-en {
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 1;
  font-family: var(--en-font);
  color: var(--dark-color);
}

@media screen and (min-width: 768px) {
  .top_doctor_name-en {
    font-size: 18px;
  }
}

.top_doctor_name-ja {
  font-size: 28px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.1em;
}

@media screen and (min-width: 768px) {
  .top_doctor_name-ja {
    font-size: 32px;
  }
}

.doctor_message {
  margin-top: 8px;
  text-align: left;
}



.doctor_head {
  font-size: 18px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.1em;
}

.doctor_head::before {
  content:"";
  display: inline-block;
  width: 4px;
  height: 20px;
  background-color: var(--dark-color);
  border-radius: 2px;
}


.doctor_message-text {
  font-size: 14.5px;
  margin-top: 8px;
  text-align: left;
  line-height: 1.8;
}

.doctor_gakkai {
  margin-top: 16px;
  text-align: left;
}

.doctor_gakkai-list {
  margin-top: 12px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  max-width: 100%;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  -moz-column-gap: 24px;
       column-gap: 24px;
  row-gap: 8px;
}


.doctor_gakkai-list__column {
  flex-direction: column;
}

.doctor_gakkai-list_text {
  font-size: 14px;
  text-align: left;
  position: relative;
  padding-left: 12px;
}

@media screen and (min-width: 768px) {
  .doctor_gakkai-list_text {
    white-space: nowrap;
  }
}

.doctor_gakkai-list_text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background-color: var(--dark-color);
  border-radius: 50%;
}

.doctor_links {
  margin-top: 24px;
}


.doctor_links-list {
  margin-top: 8px;
}

.doctor_links-item:not(:first-child) {
  margin-top: 4px;
}

.doctor_links-text {
  font-size: 14px;
  color: var(--black-color);
  text-decoration: underline;
}

/* ----- clinic ----- */
.top_clinic {
  background-image: url(../img/clinic_bg.webp);
  background-size: cover;
  background-position: center;
  padding: 0 16px;
}

.top_container__clinic {
  padding-top: 24px;
  padding-bottom: 24px;
  background-color: color-mix(in srgb, var(--white-color) 50%, transparent);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  box-shadow: 0px 0px 2px var(--accent-color);
  border-radius: 16px;
}

@media screen and (min-width: 1080px) {
  .top_container__clinic {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

.top_clinic_text_wrapper {
  text-align: center;
  margin-top: 24px;
}

.top_clinic_text {
  font-size: 14px;
}

.top_clinic_text:first-child {
  font-size: 18px;
  font-weight: 500;
}


.top_clinic_text:not(:first-child) {
  margin-top: 8px;
}

.top_clinic_close-days {
  margin-top: 40px;
  text-align: center;
}

.top_clinic_table {
  width: 100%;
  max-width: 320px;
  margin-top: 20px;
  margin-inline: auto;
  border-collapse: collapse;
  background-color: var(--accent-color);
  text-align: center;
  box-shadow: var(--box-shadow);
  overflow: hidden;
  border-radius: 8px;
}

.top_clinic_table-head, .top_clinic_table-data {
  padding: 4px;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .top_clinic_table-head, .top_clinic_table-data {
    padding: 10px 8px;
  }
}

.top_clinic_table-head {
  font-weight: 500;
  font-size: 14px;
  text-align: center;
}

.top_clinic_table-data-head {
  font-size: 14px;
}

.top_clinic_table-data {
  font-size: 16px;
  background-color: var(--white-color);
}

.top_clinic_recept {
  margin-top: 8px;
  text-align: center;
  font-size: 14px;
}

.top_clinic_annotarion{
  font-size: 14px;
  text-align: center;
  margin-top: 8px;
}

/* ---------- faq ---------- */
.m_faq_menu {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
}

.m_faq-contents {
  max-width: 720px;
  padding: 0 16px;
  margin-inline: auto;
}

.m_faq_details:not(:first-child) {
  margin-top: 16px;
}

.m_faq_summary {
  /* display: list-item;以外を指定してデフォルトの三角形アイコンを消します */
  display: block;
  cursor: pointer;
  position: relative;
}

.m_faq_summary::-webkit-details-marker {
  /* Safariで表示されるデフォルトの三角形アイコンを消します */
  display: none;
}

.m_faq_summary-text {
  padding: 12px 40px 12px 44px;
  background-color: var(--black-color);
  color: var(--white-color);
  font-weight: 500;
  font-size: 14px;
  position: relative;
  border-radius: 4px;
}

.m_faq_details.is-opened .m_faq_summary-text {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.m_faq_summary-text::before {
  content:"Q";
  font-family: var(--en-font);
  font-weight: 500;
  position: absolute;
  left: 16px;
  top: 50%;
  translate: 0 calc(-50% + 2px);
  font-size: 20px;
  color: var(--white-color);
}

.m_faq_summary-icon {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  translate: 0 -50%;
  width: 16px;
  height: 16px;
}

.m_faq_summary-icon::before, .m_faq_summary-icon::after {
  content:"";
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  background-color: var(--white-color);
  border-radius: 100vmax;
}

.m_faq_summary-icon::before {
  width: 2px;
  height: 16px;
  transition: opacity 0.2s ease-in, translate 0.2s ease-in;
}

/* is-openedクラスが付与されたときのスタイル */
.m_faq_details.is-opened .m_faq_summary-icon::before {
  opacity: 0;
  translate: 0 10%;
}

.m_faq_summary-icon::after {
  width: 16px;
  height: 2px;
}

.m_faq_content_text {
  font-size: 14px;
  padding: 12px 16px 12px 44px;
  border: 2px solid var(--black-color);
  position: relative;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.m_faq_content_text::before {
  content: "A";
  font-family: var(--en-font);
  position: absolute;
  left: 16px;
  top: 50%;
  translate: 0 calc(-50% + 2px);
  font-size: 20px;
}

.m_faq_content .m_faq_content_text {
  background-color: var(--white-color);
}

.m_faq_content_link {
  color: var(--black-color);
  text-decoration: underline;
}

/* ----- access ----- */
.top_access_contents{
  margin-top: 40px;
}

@media screen and (min-width: 1080px) {
  .top_access_contents {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
  }
}

.top_access_map{
  position: relative;
  width: 100%;
  margin-inline: auto;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
}

@media screen and (min-width: 1080px) {
  .top_access_map {
    max-width: 600px; 
    height: 400px;
    margin-inline: 0;
  }
}

.top_access_map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.top_access_tables-wrapper {
  margin-top: 20px;
}

.top_access_table {
  width: fit-content;
  max-width: 464px;
  margin-inline: auto;
  border-collapse: collapse;
  font-size: 14px;
}

@media screen and (min-width: 768px) {
  .top_access_table {
    font-size: 16px;
  }
}

.top_access_table-row:not(:first-child) .top_access_table-head,
.top_access_table-row:not(:first-child) .top_access_table-data {
  border-top: 1px solid var(--accent-color);
}


.top_access_table-head {
  text-align: center;
  min-width: 40px;
  font-size: 14px;
  font-weight: 500;
}

.top_access_table-data {
  padding: 8px 4px 8px 16px;
  font-size: 14px;
}

.top_access_table-head-text {
  white-space: nowrap;
  aspect-ratio: 1 / 1 ;
  padding: 8px;
  border-radius: 100vmax;
  background-color: var(--accent-color);
  display: grid;
  place-content: center;
}






/* ----------------------------- */
/*        biyouhifuka            */
/* ----------------------------- */

.biyouhifuka_top {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media screen and (min-width: 768px) {
  .biyouhifuka_top {
    flex-direction: row;
    align-items: center;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin-inline: auto;
  }
}

.biyouhifuka_desks {
  text-align: center;
}

@media screen and (min-width: 768px) {
  .biyouhifuka_desks {
    text-align: left;
  }
}

.biyouhifuka_tab {
  width: 100%;
  margin-top: 40px;
  max-width: 1248px;
  margin-inline: auto;
}

.biyouhifuka_tablist {
  width: 90%;
  margin-inline: auto;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.biyouhifuka_tabbutton {
  display: inline-block;
  padding: 12px 16px;
  color: var(--white-color);
  background-color: var(--black-color);
  width: calc(50% - 4px);
  max-width: 280px;
  font-size: 14px;
  border-top-right-radius: 16px;
}

@media screen and (min-width: 500px) {
  .biyouhifuka_tabbutton {
    font-size: 16px;
  }
}

.biyouhifuka_tabbutton[aria-selected="true"] {
  background-color: var(--black-color);
}

.biyouhifuka_tabbutton[aria-selected="false"] {
  background-color: var(--gray-color02);
}

.biyouhifuka_tabpanel {
  background-color: #FFFFFF;
  border: 2px solid var(--black-color);
  padding: 16px;
  width: 100%;
  border-radius: 20px;
}

.biyouhifuka_tabpanel:focus {
  outline: none;
}

.biyouhifuka_troubles {
  padding: 32px 0;
  max-width: 920px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.boyouhifuka_trouble-card {
  width: 50%;
  max-width: 296px;
  position: relative;
  border-radius: 24px;
  border: 2px solid transparent;
}

@media screen and (min-width: 768px) {
  .boyouhifuka_trouble-card {
    width: 33.3%;
  }
}

@media (any-hover: hover) {
  .boyouhifuka_trouble-card:hover {
    border: 2px solid var(--accent-color);
  }
}

.biyouhifuka_trouble_img-wrapper {
  border-radius: 24px;
  overflow: hidden;
}

.biyouhifuka_trouble_name {
  margin-top: -8px;
  text-align: center;
  font-size: 12px;
}

@media screen and (min-width: 768px) {
  .biyouhifuka_trouble_name{
    margin-top: -8px;
    font-size: 14px;
  }
}

.biyouhifuka_menues {
  width: 100%;
  margin-inline: auto;
  height: auto;
}

@media screen and (min-width: 500px) {
  .biyouhifuka_menues {
    -moz-column-count: 2;
         column-count: 2;
  }
}

@media screen and (min-width: 768px) {
  .biyouhifuka_menues {
    -moz-column-count: 3;
         column-count: 3;
  }
}

.biyouhifuka_menu-btn-wrapper {
  width: 100%;
}

.biyouhifuka_menu-btn-wrapper:not(:last-child) {
  margin-bottom: 8px;
}


.biyouhifuka_menu-btn {
  width: 100%;
  padding: 8px;
  position: relative;
  text-align: left;
  box-shadow: var(--box-shadow02);
  border-radius: 100vmax;
  background-color: var(--white-color);
}

@media screen and (min-width: 500px) {Z
  .biyouhifuka_menu-btn {
    padding: 16px;
  }
}

@media screen and (min-width: 768px) {
  .biyouhifuka_menu-btn {
    padding: 8px;
    border-radius: 12px;
  }
}

.biyouhifuka_menu-btn::after {
  display: none;
  content: "";
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: 20px;
  width: 32px;
  height: 6px;
  background-color: var(--black-color);
  -webkit-clip-path: polygon(0 calc(100% - 1px), calc(100% - 8px) calc(100% - 1px), calc(100% - 8px) 0, 100% 100%, 0 100%);
          clip-path: polygon(0 calc(100% - 1px), calc(100% - 8px) calc(100% - 1px), calc(100% - 8px) 0, 100% 100%, 0 100%);
  transition: translate 0.3s ease;
}

@media screen and (min-width: 768px) {
  .biyouhifuka_menu-btn::after {
    display: block;
    top: 20px;
  }
}

@media screen and (min-width: 1080px) {
  .biyouhifuka_menu-btn::after {
    width: 64px;
  }
}

@media (any-hover: hover) {
  .biyouhifuka_menu-btn:hover.biyouhifuka_menu-btn::after {
    translate: 8px -50%;
  }
}

.biyouhifuka_menu_head {
  display: inline-block;
  padding: 8px;
  font-size: 14px;
  font-weight: 500;
}

@media screen and (min-width: 768px) {
  .biyouhifuka_menu_head {
    line-height: 0.7;
    font-size: 16px;
    border-bottom: 1px solid var(--black-color);
  }
}

@media screen and (min-width: 1080px) {
  .biyouhifuka_menu_head {
    font-size: 20px;
  }
}

.biyouhifuka_menu_pack {
  display: block;
  font-size: 10px;
  font-weight: normal;
}

@media screen and (min-width: 768px) {
  .biyouhifuka_menu_pack {
    margin-top: 12px;
  }
}

.biyouhifuka_menu_botox {
  display: block;
  font-size: 12px;
}

@media screen and (min-width: 768px) {
  .biyouhifuka_menu_botox {
    margin-top: 12px;
  }
}

.biyouhifuka_menu_sub {
  display: none;
}

@media screen and (min-width: 768px) {
  .biyouhifuka_menu_sub {
    display: block;
    margin-top: 8px;
  }
}

.biyouhifuka_menu_name {
  margin-top: 4px;
  padding: 0 8px;
  font-size: 12px;
  letter-spacing: 0;
}

@media screen and (min-width: 1080px) {
  .biyouhifuka_menu_name {
    font-size: 14px;
  }
}


/* ----------------------------- */
/*    biyouhifuka-menu-all       */
/* ----------------------------- */
.biyouhifuka_menu-all {
  position: relative;
}

.biyouhifuka_menu-all::before {  
  content: "";
  position: absolute;
  left: 0;
  bottom: 100%;
  translate: 0 50%;
  width: 100%;
  height: 80px;
  background-color: var(--main-color);
  z-index: var(--z-index-back);
}

.biyouhifuka_menu-all_ttl {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0 16px;
}

.biyouhifuka_menu-all_ttl-sub {
  text-align: center;
  margin-top: 16px;
  font-size: 16px;
}

@media screen and (min-width: 768px) {
  .biyouhifuka_menu-all_ttl-sub {
    font-size: 18px;
    margin-top: 24px;
  }
}

/* ----------------------------- */
/*            biyou              */
/* ----------------------------- */
/*    予防医療などの個別ページ共通    */
.m_biyou_menu-list {
  padding: 64px 0;
}

.m_biyouhifuka_menu-item:not(:first-child) {
  margin-top: 32px;
}

@media screen and (min-width: 768px) {
  .m_biyouhifuka_menu-item:not(:first-child) {
    margin-top: 56px;
  }
}

.m_biyou_menu-list-subitem:not(:first-child) {
  margin-top: 40px;
}

.m_biyou_menu-ttl {
  font-size: 20px;
  font-weight: 500;
  color: var(--black-color);
  border-bottom: 2px solid var(--dark-color);
}

@media screen and (min-width: 768px) {
  .m_biyou_menu-ttl {
    font-size: 24px;
  }
}

@media screen and (min-width: 768px) {
  .m_biyou_menu-list-contents:has(div) {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }
}

.m_biyou_menu-list-img {
  margin-top: 16px;
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
}

.m_biyou_menu-ttl__mt24 {
  margin-top: 24px;
}

.m_biyou_menu-ttl-sub {
  font-size: 14px;
}

.m_biyou_menu-annotation {
  font-size: 14px;
  margin-top: 16px;
}

.m_biyou_menu-list-sub {
  margin-top: 40px;
}

.m_biyou_menu-list-sub-ttl {
  font-weight: 500;
  padding: 4px 8px;
  color: var(--white-color);
  background-color: var(--black-color);
}

.m_biyou_menu-list-sub-desc {
  margin-top: 16px;
  font-size: 14px;
}

@media screen and (min-width: 768px) {
  .m_biyou_menu-list-sub-desc {
    font-size: 16px;
  }
}

.m_biyou_menu-table {
  width: 100%;
  max-width: 520px;
  margin-top: 24px;
  margin-inline: auto;
}

.m_biyou_menu-table__price {
  max-width: 600px;
}

.m_biyou_menu-table__price .m_biyou_menu-table-head {
  background-color: var(--black-color);
  border: 2px solid var(--black-color);
}

.m_biyou_menu-table__price .m_biyou_menu-table-data {
  border: 2px solid var(--black-color);
}

.m_biyou_menu-table-head, .m_biyou_menu-table-data {
  padding: 4px 8px;
  text-align: center;
  font-size: 16px;
}

.m_biyou_menu-table-head {
  background-color:var(--black-color);
  color: var(--white-color);
  font-size: 14px;
  font-weight: 500;
  border: 2px solid var(--black-color);
}

.m_biyou_menu-table-data {
  border: 2px solid var(--black-color);
  background-color: var(--white-color);
}

.m_biyou_menu-table-data_sm {
  font-size: 14px;
}

.m_biyou_menu-table-price {
  text-align: right;
  width: 35%;
}

.m_biyou_menu-table-price__commingsoon {
  text-align: center;
}

.m_biyou_menu-table_yen {
  font-size: 12px;
}

.m_biyou_menu-table-desc-wrapper {
  margin-top: 8px;
  max-width: 520px;
  margin-inline: auto;
}

.m_biyou_menu-table-desc {
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  border-bottom: 1px solid var(--dark-color);
}


.m_biyou_menu-table-desc-item {
  display: inline-block;
  width: 80px;
  flex-shrink: 0;
  padding: 2px 4px;
  font-weight: 500;
  text-align: center;
}

.m_biyou_menu-list-detail {
  margin-top: 16px;
  font-size: 12px;
}

.m_biyou_menu-list-detail__tac {
  text-align: center;
}

@media screen and (min-width: 768px) {
  .m_biyou_menu-list-detail {
    font-size: 14px;
  }
}

.m_biyou_menu-list-text:not(:first-child) {
  margin-top: 4px;
}



/* ---------- artmake ---------- */
.artmake_about-cansel {
  margin-top: 16px;
}

.artmake_artist {
  padding: 64px 0;
}

.artmake_artist-name {
  margin-top: 24px;
  font-size: 20px;
  padding: 4px 16px;
  color: var(--white-color);
  background-color: var(--black-color);
}
.artmake_artist_txt {
  margin-top: 16px;
}

@media screen and (min-width: 768px) {
  .artmake_artist_txt {
    text-align: center;
  }
}

.artmake_artist-imgs{
  margin-top: 32px;
  display: flex;
  gap: 32px;
  flex-direction: column;
  align-items: center;
}

@media screen and (min-width: 768px) {
  .artmake_artist-imgs {
    flex-direction: row;
  }
}

.artmake_artist-img-wrapper {
  max-width: 320px;
}

@media screen and (min-width: 768px) {
  .artmake_artist-img-wrapper {
    max-width: none;
    width: 50%;
  }
}


.artmake_artist-img {
  max-height: 544px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top;
     object-position: top;
}

@media screen and (min-width: 768px) { 
  .artmake_tab {
    width: 50%;
  }
}
  
.artmake_tablist {
  text-align: center;
}

.artmake_tabbutton {
  display: inline-block;
  color: var(--white-color);
  width: 20%;
  padding: 4px 0;
  border-top-right-radius: 8px;
}

.artmake_tabbutton[aria-selected="true"] {
  background-color: var(--black-color);
}

.artmake_tabbutton[aria-selected="false"] {
  background-color: var(--gray-color02);
}

.artmake_tabpanel {
  padding: 4px;
  background-color: var(--black-color);
  border-radius: 16px;
}

.artmake_case_img-wrapper {
  aspect-ratio: 1 /1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.artmake_case_img {
  aspect-ratio: 1 /1 ;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 12px;
}

.artmake-image-price {
  margin-top: 16px;
  margin-inline: auto;
  width: fit-content;
  padding: 4px 24px;
  background-color: var(--black-color);
  color: var(--white-color);
  border-radius: 100vmax;
}

/* ----------------------------- */
/*          darmatology          */
/* ----------------------------- */
.darmatology_desc-annotation {
  display: block;
  text-align: center;
  color: var(--red-color);
  margin-top: 16px;
  font-weight: 500;
}

@media screen and (min-width: 768px) {
  .darmatology_desc-annotation {
    text-align: left;
  }
}

.darmatology_desc_wrapper {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

@media screen and (min-width: 768px) {
  .darmatology_desc_wrapper {
    flex-direction: row;
    justify-content: center;
  } 
}

.dermatology_img-wrapper {
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
}

@media screen and (min-width: 768px) {
  .dermatology_img-wrapper {
    width: calc(50% - 16px);
    flex-shrink: 0;
  }
}

@media screen and (min-width: 768px) {
  .darmatology_txt {
    width: calc(50% - 16px);
  }
}

/* ----------------------------- */
/*           PRICE               */
/* ----------------------------- */
.price_cat-list {
  margin-top: 64px;
}
.price_menu-head {
  margin-top: 32px;
  font-size: 20px;
  font-weight: 500;
  color: var(--white-color);
  background-color: var(--dark-color);
  padding: 4px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px;
}

.price_menu-head::after {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-width: 6px;
  border-style: solid;
  border-color: transparent var(--white-color) var(--white-color) transparent;
  rotate: 45deg;
  translate: 0 -3px;
  transition: rotate 0.3s ease-in, translate 0.3s ease-in;
}

.price_menu-head.is-active::after {
  rotate: 225deg;
  translate: 0 3px;
}

@media screen and (min-width: 768px) {
  .price_menu-head {
    font-size: 24px;
  }
}

.price_menu-head__artmake {
  display: block;
}

.price_menu-head__artmake::after {
  display: none;
}

.price_menu-head_link {
  text-decoration: underline;
}

.price_menu-wrapper {
  opacity: 0;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease-in;
}

.price_menu-wrapper.is-visible {
  opacity: 1;
  visibility: visible;
  height: auto;
}

.price_menu-wrapper .m_biyouhifuka_menu-list {
  padding-top: 24px;
} 

.price_menu-wrapper .m_biyou_menu-list {
  padding-top: 24px;
} 


/* ----------------------------- */
/*          contact              */
/* ----------------------------- */
.contact_form {
  margin-top: 40px;
  padding: 56px 24px;
  background-color: var(--light-color);
}
.contact_desc {
  margin-top: 40px;
  text-align: center;
}

.contact_form__heading {
  display: flex;
  gap: 16px;
  align-items: center;
}

.contact_form__heading:not(:first-child) {
  margin-top: 24px;
}

.contact_form__required {
  font-size: 12px;
  color: var(--white-color);
  background-color: var(--black-color);
  padding: 2px 8px;
  border-radius: 4px;
}

.contact_form__detail{
  margin-top: 8px;
}

.contact_form__input {
  width: 100%;
  height: 40px;
  padding: 8px;
  border: 1px solid var(--black-color);
  background-color: var(--white-color);
  border-radius: 4px;
}

.contact_form__example {
  margin-top: 8px;
  font-size: 12px;
  color: var(--black-color);
  display: block;
  text-align: right;
}

.contact_form__textarea {
  width: 100%;
  height: 200px;
  margin-top: 8px;
  border: 1px solid var(--black-color);
  background-color: var(--white-color);
  padding: 8px 16px;
  font-size: 14px;
}

.contact_personal-data {
  margin-top: 40px;
  width: 100%;
  height: 200px;
  border: 1px solid var(--gray-color01);
  overflow: auto;
  padding: 8px 16px;
  border-radius: 4px;
  background-color: var(--white-color);
}

.contact_personal-data__head {
  color: var(--brown-color02);
  padding: 8px 0;
  text-align: center;
  font-size: 18px;
  font-weight: var(--weight-bold);
}

.contact_privacypolicy__text-wrap {
  margin-top: 16px;
}

.contact_privacy-desc {
  font-size: 14px;
}

.contact_privacy-list {
  margin-top: 16px;
}

.contact_privacy-item:not(:first-child) {
  margin-top: 8px;
}

.contact_privacy-item_title {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
}

.contact_privacy-item_desc {
  font-size: 14px;
}

.contact_privacy-item_desc_list01 {
  margin-top: 8px;
}

.contact_privacy-item_desc_item01 {
  margin-top: 8px;
}

.contact_privacy-item_desc_item02 {
  font-size: 14px;
}

.__indent02 {
  margin-left: 16px;
}

.contact_privacy-item_desc_item03 {
  overflow-wrap: anywhere;
}

.contact_privacy-agree {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 8px 0;
}

.contact_form__check {
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;
  appearance: checkbox;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.contact_form__check-label {
  color: var(--brown-color02);
}

.contact_btn-wrapper {
  margin-top: 16px;
}

.contact_btn {
  margin: 0 auto;
  width: 250px;
  height: 60px;
  color: var(--white-color);
  background-color: var(--black-color);
  opacity: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  position: relative;
}

.contact_btn.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* contactform用 */

.wpcf7 {
  margin-top: 40px;
  padding: 24px;
}

.wpcf7-not-valid-tip {
  color: var(--red-color);
  font-weight: 500;
  font-size: 14px;
  margin-top: 8px;
}

.wpcf7-response-output {
  border-color: #ABA396 !important;
  text-align: center;
}

.contact_btn:has(.wpcf7-submit:disabled) {
  background-color: var(--gray-color01);
}

.wpcf7-spinner {
  position: absolute;
  right: 8px;
  top: 50%;
  translate: 0 -50%;
}

.wpcf7-not-valid-tip {
  color: var(--red-color);
}

/* recapcha */
.grecaptcha-badge { 
  visibility: hidden; 
}

.recapcha-txt {
  text-align: center;
  color: var(--black-color);
  margin-top: 16px;
  font-size: 14px;
}

.wpcf7-list-item label{
  display: flex;
  align-items: center;
}

/* ----------------------------- */
/*           column              */
/* ----------------------------- */
.column_contents {
  position: relative;
}


.column_list {
  margin-top: 48px;
}

.column_list-item {
  background-color: var(--white-color);
  box-shadow: var(--box-shadow);
  position: relative; 
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
}

@media screen and (min-width: 768px) {
  .column_list-item {
    max-width: none;
  }
}

.column_list-item:not(:first-child) {
  margin-top: 40px;
}

.column_date {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--white-color);
  background-color: var(--black-color);
  padding: 4px 8px;
}

@media screen and (min-width: 768px) {
  .column_date {
    padding: 8px 16px;
  }
}

.column_article-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media screen and (min-width: 768px) {
  .column_article-wrapper {
    flex-direction: row;
    gap: 32px;
  }
}

.column_thumb-wrapper {
  width: 100%;
  max-height: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (min-width: 768px) {
  .column_thumb-wrapper {
    width: calc(50% - 16px);
  }
}

.column_article-link {
  width: 100%;
  height: 100%;
}

.column_thumb {
  width: 100%;
  max-height: 216px;
  -o-object-fit: cover;
     object-fit: cover;
}

.column_texts {
  width: 100%;
  padding: 16px;
  flex-shrink: 0;
}

@media screen and (min-width: 768px) {
  .column_texts {
    width: calc(50% - 16px);
  }
}

.column_ttl {
  font-weight: 500;
  margin-top: 8px;
  max-height: 120px;
  overflow: hidden;
}

.column_cat {
  display: inline-block;
  font-size: 14px;
  padding: 2px 4px;
  border: 1px solid var(--black-color);
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.page-numbers {
  display: inline-block;
  width: 30px;
  height: 30px;
  color: var(--white-color);
  background-color: var(--black-color);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--box-shadow);
}

.page-numbers.current {
  color: var(--white-color);
  background-color: var(--dark-color);
  box-shadow: none;
}

/* ----------------------------- */
/*            single             */
/* ----------------------------- */

.single_article-wrapper {
  margin-top: 8px;
  padding: 24px 16px;
  background-color: var(--white-color);
  max-width: 800px;
  margin-inline: auto;
  position: relative;
  border-radius: 32px;
  margin-bottom: 32px;
}

@media screen and (min-width: 768px) {
  .single_article-wrapper {
    margin-top: 64px;
  }
}

.single_article-wrapper__news {
  padding: 40px 16px;
}

.single_article-wrapper::before {
  content:"";
  position: absolute;
  top: -144px;
  left: calc(50% - 50vw);
  width: 100vw;
  height: 320px;
  background-color: var(--light-color);
  z-index: var(--z-index-back);
}

.single_meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.single_date {
  padding: 4px 8px;
  background-color: var(--black-color);
  color: var(--white-color);
  font-size: 14px;
  border-radius: 100vmax;
}

@media screen and (min-width: 768px) {
  .single_date {
    padding: 4px 16px;
  }
}

.single_cat {
  font-size: 14px;
  padding: 2px 8px;
  border: 1px solid var(--black-color);
  border-radius: 4px;
}

.single_thumb-ttl-wrapper {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.single_article-body-wrapper {
  margin-top: 24px;
}

.single_article-body-wrapper p {
  word-break: break-all;
}

.single_article-body-wrapper p strong {
  font-weight: 500;
}

.single_article-body-wrapper__news {
  margin-top: 24px;
  font-family: var(--ja-font);
}

@media screen and (min-width: 768px) {
  .single_article-body-wrapper {
    padding: 0 24px;
  } 
}

.single_article-body-wrapper::before {
  content:"";
  width: 100%;
  height: 1px;
  background-color: var(--accent-color);
  display: block;
  margin-bottom: 24px;
}

.single_article-body-wrapper a {
  color: var(--dark-color);
}

.single_thumb-wrapper {
  max-width: 480px;
}

.single_ttl {
  flex: 1;
  font-size: 22px;
  font-weight: 500;
  color: var(--black-color);
}

@media screen and (min-width: 768px) {
  .single_ttl {
    font-size: 24px;
  }
}

.single_tags {
  font-size: 12px;
  color: var(--black-color);
}

.single_article-body:not(:first-child) {
  margin-top: 16px;
}

.single_article-button-wrapper {
  margin-top: 32px;
  max-width: 400px;
  margin-inline: auto;
}

.single_article-button-wrapper p {
  color: var(--white-color);
}

/* WP生成クラス用 */

.wp-block-image {
	margin-top: 16px;
  max-width: calc(100% - 16px);
  margin-inline: auto;
}

@media screen and (min-width: 768px) {
  .wp-block-image {
    max-width: calc(100% - 64px);
  }
}

.wp-block-heading {
	margin-top: 24px;
	font-weight: 500;
}

.wp-block-list {
  margin-top: 16px;
}

ul.wp-block-list li::before {
  content: "・";
}

.wp-block-embed__wrapper {
  margin-top: 16px;
  display: block;
  max-width: 400px;
  margin-inline: auto;
}


.single_article-body-wrapper h2 {
	font-size: 20px;
  border-bottom: 1px solid var(--black-color);
  color: var(--black-color);
  font-weight: normal;
}

@media screen and (min-width: 768px) {
  .single_article-body-wrapper h2{
    font-size: 22px;
  }
}

.single_article-body-wrapper h3 {
	font-size: 18px;
}

@media screen and (min-width: 768px) {
  .single_article-body-wrapper h3 {
    font-size: 20px;
  }
}

.single_article-body-wrapper p {
	margin-top: 8px;
}

.single_article-body-wrapper a {
  text-decoration: underline;
  color: var(--gray-color03);
}

/* ----------------------------- */
/*          カレンダー             */
/* ----------------------------- */
.calendar_container {
  margin-top: 40px;
  max-width: 480px;
  margin-inline: auto;

}

/* ----------------------------- */
/*             404               */
/* ----------------------------- */

.page404_txt {
  margin-top: 40px;
}

/* ---------- js ----------- */
.js_body.is-active {
  overflow: hidden;
}

.js_navigation {
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

@media screen and (min-width: 1080px) {
  .js_navigation {
    pointer-events: auto;
    opacity: 1;
  }
}

.js_navigation.is-active {
  opacity: 1;
  pointer-events: inherit;
}

.js_icon {
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

@media screen and (min-width: 1080px) {
  .js_icon {
    pointer-events: auto;
    opacity: 1;
  }
}

.js_icon.is-active {
  opacity: 1;
  pointer-events: inherit;
}

.js_hamburger.is-active .m_hamburger-bar:first-child {
  top: 50%;
  transform: translate(-50%, 0) rotate(45deg);
}

.js_hamburger.is-active .m_hamburger-bar:nth-child(2) {
  opacity: 0;
}

.js_hamburger.is-active .m_hamburger-bar:last-child {
  top: 50%;
  transform: translate(-50%, 0) rotate(-45deg);
}

/* ----------------------------- */
/*           lp(ha)              */
/* ----------------------------- */
.lp_kv {
  background-image: url(../img/ha/ha_wave-bg.webp);
  position: relative;
  overflow: hidden;
  background-position: 100% 0;
}

.lp_kv_img-wrapper {
  height: 264px;
  position: relative;
}

@media screen and (min-width: 576px) {
  .lp_kv_img-wrapper {
    height: 400px;
  }
}

.lp_kv_img {
  width: 192px;
  position: absolute;
  top: 0;
  right: -10px;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

@media screen and (min-width: 576px) {
  .lp_kv_img {
    width: auto;
  }
}

@media screen and (min-width: 768px) {
  .lp_kv_img {
    right: 0;
  }
}

.lp_kv-text-wrapper {
  position: absolute;
  bottom: 11%;
  left: 50%;
  translate: -50% 0;
  padding: 0 16px;
  width: min(100%, calc(var(--content-width) + var(--horizontal-padding) * 2 ));
  
}


.lp_kv-ttl {
  font-size: 24px;
  font-weight: 500;
  color: var(--black-color);
}

@media screen and (min-width: 768px) {
  .lp_kv-ttl {
    font-size: 44px;
  }
}

.lp_kv-copy {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-top: 24px;
  padding: 8px;
  font-size: 14px;
  letter-spacing: 0.1em;
  background-color: color-mix(in srgb, var(--white-color) 60%, transparent );
}

@media screen and (min-width: 768px) {
  .lp_kv-copy {
    font-size: 20px;
  }
}

/* ---------- about ---------- */
.ha_about {
  background-color: var(--white-color);
}

.ha_about-points {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

@media screen and (min-width: 768px) {
  .ha_about-points {
    flex-direction: row;
    gap: 16px;
  }
}

.ha_about-icon_upper,.ha_about-icon_lower {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
  justify-content: center;
  align-items: center;
}

.ha_about-point {
  width: 104px;
  height: 104px;
  text-wrap: nowrap;
  background-image: url(../img/ha/ha-icon_bg.webp);
  background-size: cover;
  background-position: calc(50% - 2px) calc(50% - 2px);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 1.3;
}

@media screen and (min-width: 1080px) {
  .ha_about-point {
    width: 144px;
    height: 144px;
    font-size: 16px;
  }
}

.ha_about-boxes_img-wrapper {
  width: min(100%, 330px);
  margin: 32px auto 0;
}

@media screen and (min-width: 768px) {
  .ha_about-boxes_img-wrapper {
    margin-top: 48px;
    width: 480px;
  }
}

.ha_about_sub-head {
  margin-top: 40px;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  color: var(--black-color);
}

@media screen and (min-width: 768px) {
  .ha_about_sub-head {
    margin-top: 64px;
  }
}

.ha_about_text {
  margin-top: 24px;
}

.ha_about_skin-img-wrapper {
  margin-top: 56px;
  width: min(100%, 540px);
  margin-inline: auto;
}

.ha_about_recommend {
  margin-top: 72px;
  border: 1px solid var(--black-color);
  display: flex;
  flex-wrap: wrap;
  padding: 28px 16px 20px;
  position: relative;
  border-radius: 16px;
}

.ha_about_recommend-head {
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% -50%;
  font-size: 18px;
  font-weight: 500;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 0 16px;
  color: var(--black-color);
  background-color: var(--white-color);
  text-wrap: nowrap;
}

.ha_about_recommend_worries {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.ha_about_recommend_worry {
  color: var(--black-color);
  flex-shrink: 0;
  width: min(100%, 329px);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ha_about_recommend_worry::before {
  content: "";
  display: inline-block;
  width: 19px;
  height: 19px;
  background-image: url(../img/ha/checkmark.svg);
  background-position: center;
  background-size: cover;
  flex-shrink: 0;
}

/* ---------- reason ---------- */
.ha_reason {
  overflow: hidden;
}

.ha_reason-list {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 32px 64px;
}

.ha_reason-list-item {
  width: min(360px, 100%);
}

.ha_reason-list-head {
  display: flex;
  gap: 8px;
  align-items: stretch;
  background-color: var(--dark-color);
  border-radius: 100vmax 0 0 100vmax;
  line-height: 1.3;
  padding-right: 8px;
}

.ha_reason-list-head_num {
  flex-shrink: 0;
  display: inline-block;
  width: 54px;
  height: 54px;
  border: 2px solid var(--dark-color);
  border-radius: 100vmax;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  color: var(--dark-color);
  text-align: center;
  background-color: var(--white-color);
}

.ha_reason-list-head_text {
  width: 100%;
  display: flex;
  align-items: center;
  font-weight: 500;
  color: var(--white-color);
}

.ha_reason-list_text {
  margin-top: 16px;
}

.ha_reason_amount {
  margin-top: 40px;
  width: 100vw;
  background-image: url(../img/ha/ha_wave-bg02.webp);
  background-size: cover;
  margin-left: calc(50% - 50vw);
  padding: 56px 0;
}

@media screen and (min-width: 768px) {
  .ha_reason_amount {
    margin-top: 64px;
  }
}

.ha_reason_amount_inner {
  margin-inline: auto;
  padding: 0 var(--horizontal-padding);
  max-width: calc(var(--content-width-sm) + var(--horizontal-padding) * 2);
}

.ha_reason_amount-head {
  font-size: 20px;
  font-weight: 500;
  color: var(--black-color);
  text-align: center;
}

.ha_reason_amount-text {
  margin-top: 24px;
}

.ha_reason_amount-sub-head {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-wrap: nowrap;
}

.ha_reason_amount-sub-head::before,.ha_reason_amount-sub-head::after {
  content: "";
  width: 100%;
  height: 1px;
  background-color: var(--black-color);
  flex-shrink: 1;
}

.ha_reason_amount-sub-head__large {
  font-size: 20px;
  font-weight: 500;
  color: var(--black-color);
}

.ha_reason_amount-imgs {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

@media screen and (min-width: 768px) {
  .ha_reason_amount-imgs {
    flex-direction: row;
  }
}

.ha_reason_amount-img-wrapper {
  width: min(100%, 360px);
}

@media screen and (min-width: 768px) {
  .ha_reason_amount-img-wrapper {
    width: 50%;
  }
}

.ha_reason_injection-img {
  margin-top: 24px;
}

.ha_reason_amount-img-annotation {
  margin-top: 8px;
  font-size: 14px;
}

.ha_reason_face-img-wrapper {
  width: min(100%, 360px);
}

@media screen and (min-width: 768px) {
  .ha_reason_face-img-wrapper {
    width: 50%;
  }
}

/* ---------- formulation ---------- */
.ha_formulation_buttons {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.ha_formulation_link-button {
  width: min(100%, 280px);
  padding: 8px;
  background-color: var(--black-color);
  position: relative;
  box-shadow: var(--box-shadow);
}


.ha_formulation_link-button::before {
  content: "";
  position: absolute;
  display: inline-block;
  top: 0;
  right: 0;
  width: 56px;
  height: 100%;
  background-color: var(--white-color);
  border: 1px solid var(--black-color);
}

.ha_formulation_link-button::after {
  content:"";
  position: absolute;
  display: inline-block;
  top: 50%;
  right: 14px;
  translate: -50% calc(-50% - 4px);
  rotate: 45deg;
  width: 16px;
  height: 16px;
  background-color: var(--black-color);
  -webkit-clip-path: polygon(100% 0, 100% 100%, 0 100%);
          clip-path: polygon(100% 0, 100% 100%, 0 100%);
}


.ha_formulation_link-name-en {
  font-family: var(--en-font);
  font-size: 28px;
  font-weight: 500;
  color: var(--white-color);
  text-align: center;
  translate: -28px 0;
  line-height: 1.2;
}

.ha_formulation_link-name-ja {
  text-align: center;
  color: var(--white-color);
  translate: -28px 0;
  line-height: 1.2;
}

.ha_formulation_list {
  margin-top: 48px;
  max-width: 800px;
  margin-inline: auto;
}

.ha_formulation_list-item:not(:first-child) {
  margin-top: 64px;
}

.ha_formulation-name {
  font-size: 32px;
  font-weight: 500;
  font-family: var(--en-font);
  color: var(--black-color);
  border-bottom: 1px solid var(--black-color);
}

.ha_formulation-name__small {
  font-size: 16px;
  font-family: var(--ja-font);
}

.ha_formulation-img-wrapper {
  margin-top: 40px;
  width: min(100%, 600px);
  margin-inline: auto;
}

.ha_formulation-feature_wrapper {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.ha_formulation-feature_text {
  width: 160px;
  height: 52px;
  background-color: var(--black-color);
  font-size: 14px;
  font-weight: 500;
  color: var(--white-color);
  text-align: center;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ha_formulation-head {
  margin-top: 32px;
  font-weight: 500;
  text-align: center;
  color: var(--black-color);
}

.ha_formulation-text {
  margin-top: 24px;
}

.ha_formulation-price-head {
  text-transform: uppercase;
  margin-top: 40px;
  padding: 8px;
  color: var(--black-color);
  border-bottom: 1px solid var(--black-color);
}

.ha_formulation-price_table {
  margin-top: 16px;
}

.ha_formulation-price_table {
  width: min(100%, 360px);
  margin-inline: auto;
}

.ha_formulation-price_table-head {
  width: 104px;
  height: 72px;
  background-color: var(--black-color);
  color: var(--white-color);
  text-align: center;
  border: 1px solid var(--black-color);
}

.ha_formulation-price_table-data {
  height: 72px;
  border: 1px solid var(--black-color);
  text-align: center;
  font-size: 24px;
  color: var(--black-color);
  background-color: var(--white-color);
}

.ha_formulation_back-link {
  margin-top: 32px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-left: auto;
  color: var(--black-color);
  border-bottom: 1px solid var(--black-color);
}

.ha_formulation_back-link::after {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  background-image: url(../img/ha/back.svg);
}

/* ---------- point ---------- */
.ha_point_list {
  margin-top: 48px;
  border-top: 1px solid var(--black-color);
  border-right: 1px solid var(--black-color);
}

.ha_point_list-inner {
  display: flex;
  border-bottom: 1px solid var(--black-color);
}

.ha_point_term {
  text-align: left;
  width: 104px;
  flex-shrink: 0;
  padding: 8px;
  background-color: var(--black-color);
  font-size: 14px;
  color: var(--white-color);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (min-width: 768px) {
  .ha_point_term {
    width: 136px;
  }
}

.ha_point_desc {
  width: 100%;
  padding: 8px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background-color: var(--light-color);
}
.ha_point_desc-small {
  font-size: 14px;
}

.ha_about_case {
  margin-top: 40px;
  padding: 32px 40px;
  background-color: var(--main-color);
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-radius: 40px;
}

@media screen and (min-width: 768px) {
  .ha_about_case {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 32px 40px;
  }
}

.ha_about_case-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ha_about_case-images {
  max-width: 400px;
  margin-inline: auto;
}

.ha_about_case-image-wrapper {
  margin-inline: auto;
}

.ha_about_case-title {
  margin-top: 8px;
  margin-bottom: 4px;
  text-align: center;
  font-weight: 500;
}

.ha_about_case-detail {
  font-size: 14px;
}

/* ----------------------------- */
/*         lp(doctor)            */
/* ----------------------------- */
.dr_kv {
  background-image: url(../img/doctor/doctor_kv-bg.webp),linear-gradient(to right, var(--accent-color), #9D8E75);
  background-position: 50% 0;
  position: relative;
  height: 480px;
  overflow: hidden;
}

.dr_kv_img-wrapper {
  position: absolute;
  right: -112px;
  bottom: 0;
  width: 320px;
}

@media screen and (min-width: 768px) {
  .dr_kv_img-wrapper {
    right: 0;
  }
}

@media screen and (min-width: 1200px) {
  .dr_kv_img-wrapper {
    right: 15%;
  }
}

.dr_kv-ttl {
  font-family: var(--en-font);
  font-size: 42px;
  font-weight: 500;
  position: absolute;
  top: 160px;
  left: 16px;
}

@media screen and (min-width: 576px) {
  .dr_kv-ttl {
    left: 20%;
  }
}

@media screen and (min-width: 768px) {
  .dr_kv-ttl {
    top: 132px;
    font-size: 60px;
  }
}

.dr_kv-copy-wrapper {
  position: absolute;
  bottom: 72px;
  left: 50%;
  translate: -50% 0;
  white-space: nowrap;
}

@media screen and (min-width: 576px) {
  .dr_kv-copy-wrapper {
    left: 20%;
    translate: 64px 0;
  }
}

@media screen and (min-width: 768px) {
  .dr_kv-copy-wrapper {
    bottom: 80px;
  }
}

.dr_kv-copy {
  padding: 16px 8px;
  background-color: color-mix(in srgb, var(--white-color), transparent 30%);
}

@media screen and (min-width: 360px) {
  .dr_kv-copy {
    padding: 16px;
  }
}

/* 前後の帯が無く、キャッチを文字だけで名前（.dr_kv-ttl）の下に置く場合（黒田先生） */
.dr_kv-copy-wrapper--under-ttl {
  top: 224px;
  bottom: auto;
  left: 16px;
  translate: none;
}

@media screen and (min-width: 576px) {
  .dr_kv-copy-wrapper--under-ttl {
    left: 20%;
  }
}

@media screen and (min-width: 768px) {
  .dr_kv-copy-wrapper--under-ttl {
    top: 220px;
  }
}

.dr_kv-copy--solo {
  padding: 0;
  background-color: transparent;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.12em;
}

@media screen and (min-width: 768px) {
  .dr_kv-copy--solo {
    font-size: 20px;
  }
}

.dr_kv-copy-before, .dr_kv-copy-after {
  padding: 4px 40px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  background-color: var(--black-color);
  font-weight: 500;
  font-size: 18px;
  color: var(--white-color);
  -webkit-clip-path: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%) ;
          clip-path: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%) ;
}


@media screen and (min-width: 360px) {
  .dr_kv-copy-before {
    translate:-32px 4px;
  }
  .dr_kv-copy-after {
    translate:0 -4px;
  }
}

.dr_kv-copy-after {
  position: absolute;
  right: 0px;
} 

@media screen and (min-width: 360px) {
  .dr_kv-copy-after {
    right: -32px;
  } 
}

.dr_kv-bottom {
  display: flex;
  gap: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--black-color);
  padding: 12px 8px;
  color: var(--white-color);
}

@media screen and (min-width: 360px) {
  .dr_kv-bottom {
    flex-direction: row;
    gap: 20px;
  }
}

.dr_kv-name-en {
  font-size: 14px;
  text-align: center;
}

.dr_kv-name-ja {
  font-size: 26px;
  text-align: center;
  line-height: 1.2;
}

.dr_about {
  overflow: hidden;
}

.dr_about-item {
  width: min(100%, 320px);
  border: 2px solid var(--black-color);
  padding-top: 20px;
  padding-bottom: 16px;
  position: relative;
  background-color: var(--white-color);
  border-radius: 8px;
}

.dr_about-items {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}

.dr_about-item-title {
  position: absolute;
  left: -8px;
  top: -16px;
  background-color: var(--black-color);
  color: var(--white-color);
  font-weight: 500;
  padding: 4px 12px 6px 12px;
  line-height: 1.2;
  border-radius: 4px;
}

.dr_about-item-content {
  text-align: center;
  color: var(--black-color);
}

.dr_about_private-img-wrapper {
  margin-top: 32px;
  margin-inline: auto;
  width: min(100%,480px);
}

.dr_about_main-content {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media screen and (min-width: 768px) {
  .dr_about_main-content {
    flex-direction: row;
    align-items: center;
  }
}

.dr_about_interview:not(:first-child) {
  margin-top: 32px;
}

.dr_about_sub-head {
  padding: 4px 16px;
  background-color: var(--black-color);
  color: var(--white-color);
  font-weight: 500;
}


.dr_about_text:first-of-type {
  margin-top: 16px;
}

.dr_about_text:not(:first-of-type) {
  margin-top: 8px;
}

.dr_about_work-img-wrapper {
  width: min(100%, 360px);
  margin-inline: auto;
  flex-shrink: 0;
  position: relative;
}

.dr_about-customer-voice {
  margin-top: 60px;
  margin-inline: auto;
  max-width: 760px;
}

.dr_about-customer-voice-ttl-wrapper {
  position: relative;
}

.dr_about-customer-voice-ttl {
  width: 100%;
  padding: 4px 16px;
  text-align: center;
  font-size: 22px;
  background-color: var(--dark-color);
  color: var(--white-color);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

@media screen and (min-width: 768px) {
  .dr_about-customer-voice-ttl {
    width: 100%;
    margin-inline: auto;
  }
}

.dr_about-customer-voice-ttl-en {
  position: absolute;
  top: -28px;
  left: -8px;
  font-family: var(--en-font);
  font-size: 26px;
  font-weight: 500;
  color: var(--black-color);mix-blend-mode: multiply;
  text-transform: uppercase;
  white-space: nowrap;
}

@media screen and (min-width: 768px) {
  .dr_about-customer-voice-ttl-en {
    font-size: 30px;
    top: -42px;
  }
}

.dr_about-customer-voice_list {
  background-color: var(--white-color);
  padding: 16px;
  border-bottom-right-radius: 16px;
  border-bottom-left-radius: 16px;
}

.dr_about-customer-voice_list-item {
  display: flex;
  align-items: flex-end;
}

.dr_about-customer-voice_list-item:not(:first-child) {
  margin-top: 40px;
}

.dr_about-customer-voice_list-item:nth-child(2n) {
  flex-direction: row-reverse;
}

.dr_about-customer-voice_img-wrapper {
  width: 64px;
  flex-shrink: 0;
}

.dr_about-customer-voice_text {
  padding: 8px;
  border-top: 1px solid var(--black-color);
  border-bottom: 1px solid var(--black-color);
}

.dr_about-staff-voice {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  margin-top: 72px;
  background-color: var(--main-color);
  position: relative;
  display: flex;
  gap: 24px;
  flex-direction: column;
  padding: 40px 0;
}

@media screen and (min-width: 768px) {
  .dr_about-staff-voice {
    width: 100%;
    flex-direction: row-reverse;
    align-items: center;
    max-width: 856px;
    margin-inline: auto;
    padding: 16px;
  }
}

.dr_about-staff-voice_texts {
  padding: 0 20px;
  flex-shrink: 0;
}

@media screen and (min-width: 768px) {
  .dr_about-staff-voice_texts {
    padding: 16px 24px;
  }
}

.dr_about-staff-voice-ttl-en {
  position: absolute;
  top: 4px;
  right: 16px;
  font-family: var(--en-font);
  font-size: 26px;
  font-weight: 500;
  color: var(--dark-color);
  text-transform: uppercase;
  line-height: 1;
}

@media screen and (min-width: 768px) {
  .dr_about-staff-voice-ttl-en {
    font-size: 30px;
  }
}

.dr_about-staff-voice-ttl {
  font-size: 22px;
  text-align: center;
  background-color: var(--accent-color);
  max-width: 480px;
  border-radius: 16px;
  margin-inline: auto;
}

.dr_about-staff-voices {
  margin-top: 24px;
}

.dr_about-staff-voice-text {
  padding: 8px;
  background-color: var(--white-color);
  color: var(--black-color);
  text-align: center;
  border-radius: 8px;
  border: 2px solid var(--black-color);
  position: relative;
  max-width: 360px;
  margin-inline: auto;
  font-size: 14px;
}

.dr_about-staff-voice-text:not(:first-child) {
  margin-top: 32px;
}

.dr_about-staff-voice-text::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--white-color);
  top: calc(100% - 4px);
  translate: 0 -6px;

}

.dr_about-staff-voice-text:nth-child(2n-1)::before {
  right: 80px;
  border-left: 2px solid var(--black-color);
  rotate: -45deg;
  -webkit-clip-path: polygon(0 0, 50% 50%, 0 100%);
          clip-path: polygon(0 0, 50% 50%, 0 100%);
}

.dr_about-staff-voice-text:nth-child(2n)::before {
  left: 80px;
  border-right: 2px solid var(--black-color);
  rotate: 45deg;
  -webkit-clip-path: polygon(100% 0, 50% 50%, 100% 100%);
          clip-path: polygon(100% 0, 50% 50%, 100% 100%);
}

.dr_about-staff-voice_img-wrapper {
  max-width: 280px;
  margin-inline: auto;
}

@media screen and (min-width: 768px) {
  .dr_about-staff-voice_img-wrapper {
    max-width: none;
  }
}

/* ---------- message ---------- */
.dr_message {
  background-color: var(--white-color);
}

.dr_message_wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media screen and (min-width: 1080px) {
  .dr_message_wrapper {
    flex-direction: row;
    justify-content: center;
    gap: 120px;
    align-items: center;
  }
}

.dr_message-img-wrapper {
  margin-top: 40px;
  margin-inline: auto;
  width: 184px;
}

/* 四角い写真を丸く切り抜く（黒田先生）。大嶋先生は六角形に切り抜き済みの画像のため付けない */
.dr_message-img-wrapper--circle img {
  border-radius: 50%;
}

.dr_message-texts {
  max-width: 616px;
  margin-inline: auto;
}

@media screen and (min-width: 1080px) {
  .dr_message-texts {
    margin: 0;
  }
}

.dr_message-ttl {
  font-size: 24px;
  font-weight: 500;
  text-align: center;
}

@media screen and (min-width: 1080px) {
  .dr_message-ttl {
    text-align: left;
  }
}

.dr_message-text {
  margin-top: 16px;
}

.dr_message-name-wrapper {
  width: 120px;
  margin-top: 16px;
  margin-left: auto;
}

/* 署名画像が無いドクター用の氏名（文字） */
.dr_message-name {
  margin-top: 16px;
  color: var(--black-color);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-align: right;
}

/* ---------- case ---------- */

.dr_case_list {
  margin-top: 40px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.dr_case_list-item {
  width: 320px;
  border: 1px solid var(--black-color);
  position: relative;
  background-color: var(--white-color);
}

.dr_case_list-ttl {
  padding: 8px 0;
  font-weight: 500;
  background-color: var(--black-color);
  color: var(--white-color);
  text-align: center;
}

.dr_case_list-desc {
  height: 128px;
  padding: 16px 8px;
  display: grid;
  place-content: center;
}

.dr_case_list-cat {
  display: block;
  font-size: 14px;
  text-align: center;
  padding: 4px 8px;
  border-bottom: 1px solid var(--black-color);
  color: var(--black-color);
}

.slider {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.5s ease;
}

.dr_case_list-item .slide {
  min-width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}

.dr_case_list-item .prev,.dr_case_list-item .next {
  color: var(--black-color);
  cursor: pointer;
  position: absolute;
  width: 100%;
  top: 50%;
  z-index: 2;
}


.dr_case_list-item .prev::before,.dr_case_list-item .next::before {
  content: "";
  display: inline-block;
  position: absolute;
  width: 16px;
  height: 16px;
  background-color: var(--white-color);
}

.dr_case_list-item .prev::before {
  -webkit-clip-path: polygon(0 50%, 100% 0, 100% 100%);
          clip-path: polygon(0 50%, 100% 0, 100% 100%);
  translate: 4px 0;
  left: 8px;
}



.dr_case_list-item .next::before {
  -webkit-clip-path: polygon(0 0, 100% 50%, 0 100%);
          clip-path: polygon(0 0, 100% 50%, 0 100%);
  translate: 6px 0;
  right: 9px;
}


/* ---------- 担当症例（m_doctor-cases.php） ---------- */
.dr-cases__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}

@media screen and (min-width: 768px) {
  .dr-cases__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media screen and (min-width: 1080px) {
  .dr-cases__list {
    grid-template-columns: repeat(5, 1fr);
  }
}

.dr-cases__item .case-card {
  height: 100%;
}

/* ---------- last ----------- */
.dr_last_inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media screen and (min-width: 768px) {
  .dr_last_inner {
    flex-direction: row;
    align-items: center;
  }
}

.dr_case_list-img-wrapper {
  max-width: 360px;
  margin-inline: auto;
}

.dr_last_texts {
  max-width: 640px;
  margin-inline: auto;
}

.dr_last_ttl {
  font-size: 20px;
  font-weight: 500;
  color: var(--black-color);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}

@media screen and (min-width: 768px) {
  .dr_last_ttl {
    margin-left: 0;
    margin-right: auto;
  }
}

.dr_last_text:first-of-type {
  margin-top: 16px;
}

.dr_last_text:not(:first-of-type) {
  margin-top: 8px;
}

/* ---------- profile ---------- */
.dr_profile_list-wrapper {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media screen and (min-width: 768px) {
  .dr_profile_list-wrapper {
    flex-direction: row;
  }
}

.dr_profile_list {
  position: relative;
  width: min(100%, 360px);
  margin-inline: auto;
  padding: 36px 20px 32px;
  border: 2px solid var(--black-color);
}

/* 中身の量に応じて幅を配分する（経歴が長いと経歴側が広くなる） */
@media screen and (min-width: 768px) {
  .dr_profile_list {
    flex: 1 1 auto;
    width: auto;
  }
}

.dr_profile_list-head {
  position: absolute;
  top: 0;
  left: 16px;
  translate: 0 calc(-50% - 2px);
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 0 8px;
  background-color: var(--main-color);
  font-size: 18px;
  font-weight: 500;
}

.dr_profile_gakkai-list-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

/* 折り返しても点を1行目の中央にそろえる */
.dr_profile_gakkai-list-item::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-top: calc(0.5lh - 2px);
  border-radius: 100vmax;
  background-color: var(--black-color);
  flex-shrink: 0;
}

.dr_profile_gakkai-list-item:not(:first-child) {
  margin-top: 16px;
}

.dr_profile_career-list-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  position: relative;
  z-index: var(--z-index-default);
  padding-bottom: 4px;
  line-height: 1.75;
}

/* 折り返しても丸を1行目の中央にそろえる */
.dr_profile_career-list-item::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-top: calc(0.5lh - 4px);
  border-radius: 100vmax;
  border: 1px solid var(--black-color);
  flex-shrink: 0;
  background-color: var(--main-color);
  z-index: var(--z-index-default);
}

.dr_profile_career-list-item:last-child::before {
  background-color: var(--black-color);
}

.dr_profile_career-list-item::after {
  content: "";
  display: inline-block;
  position: absolute;
  width: 2px;
  height: 100%;
  background-color: var(--black-color);
  left: 3px;
  top: 0;
  z-index: calc(var(--z-index-default) - 1);
}

/* 縦線は最初の丸の中心から最後の丸の中心まで */
.dr_profile_career-list-item:first-child::after {
  top: 0.5lh;
  height: calc(100% - 0.5lh);
}

.dr_profile_career-list-item:last-child::after {
  height: 0.5lh;
}

.dr_profile_img-upper {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media screen and (min-width: 768px) {
  .dr_profile_img-upper {
    flex-direction: row;
    justify-content: center;
  }
}

.dr_profile_beautydermatology {
  width: min(100%, 360px);
  border: 2px solid var(--black-color);
  margin-inline: auto;
}

@media screen and (min-width: 768px) {
  .dr_profile_beautydermatology {
    width: 100%;
  }
}

.dr_profile_img-ttl {
  padding: 4px 16px;
  background-color: var(--black-color);
  color: var(--white-color);
  font-weight: 500;
  display: grid;
  place-content: center;
}

.dr_profile_img-wrapper {
  padding: 8px;
}


.dr_profile_ha {
  width: min(100%, 360px);
  margin-inline: auto;
  border: 2px solid var(--black-color);
}

@media screen and (min-width: 768px) {
  .dr_profile_ha {
    width: 100%;
  }
}


.dr_profile_gakkai {
  margin-top: 24px;
  width: min(100%, 360px);
  border: 2px solid var(--black-color);
  margin-inline: auto;
}

@media screen and (min-width: 768px) {
  .dr_profile_gakkai {
    width: 100%;
  }
}

@media screen and (min-width: 768px) {
  .dr_profile_gakkai-images {
    display: flex;
  }
}

/* 写真ごとに見出しを付けたカードの一覧（SP 1列・PC 2列） */
.dr_profile_img-list {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

@media screen and (min-width: 768px) {
  .dr_profile_img-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.dr_profile_img-card {
  display: flex;
  flex-direction: column;
  width: min(100%, 360px);
  margin-inline: auto;
  border: 2px solid var(--black-color);
}

@media screen and (min-width: 768px) {
  .dr_profile_img-card {
    width: 100%;
  }
}

.dr_profile_img-card .dr_profile_img-ttl {
  flex-grow: 1;
}

/* ----------------------------- */
/*          lp(botox)            */
/* ----------------------------- */
.botox_kv {
  position: relative;
  background-color: var(--main-color);
}

.botox_kv_inner {
  margin-inline: auto;
  background-image: url(../img/botox/kv-bg.webp);
}

.botox_kv_img {
  width: 284px;
  translate: -30px 0;
}

@media screen and (min-width: 350px) {
  .botox_kv_img {
    translate: -126px 0;
  }
}

@media screen and (min-width: 450px) {
  .botox_kv_img {
    translate: -30px 0;
  }
}

@media screen and (min-width: 500px) {
  .botox_kv_img {
    translate: 0 0;
  }
}

@media screen and (min-width: 768px) {
  .botox_kv_img {
    width: 300px;
  }
}

@media screen and (min-width: 1080px) {
  .botox_kv_img {
    width: 420px;
  }
}

@media screen and (min-width: 1200px) {
  .botox_kv_img {
    width: 520px;
  }
}

.botox_kv-text-wrapper {
  margin-top: 16px;
  padding: 0 8px;
}

@media screen and (min-width: 350px) {
  .botox_kv-text-wrapper {
    margin-top: 0;
    position: absolute;
    top: 55px;
    right: 0;
  }
}

@media screen and (min-width: 600px) {
  .botox_kv-text-wrapper {
    right: 7%;
  }
}

@media screen and (min-width: 768px) {
  .botox_kv-text-wrapper {
    top: 50%;
    translate: 0 -50%;
    right: 0;
    left: 40%;
  }
}

.botox_kv-ttl {
  font-size: 27px;
  color: var(--black-color);
  font-weight: 500;
  position: relative;
  text-align: left;
  letter-spacing: 0.1em;
}

@media screen and (min-width: 768px) {
  .botox_kv-ttl {
    font-size: 38px;
  }
}

@media screen and (min-width: 1080px) {
  .botox_kv-ttl {
    font-size: 49px;
  }
}

.botox_kv-underline {
  line-height: 1.1;
  display: inline-block;
  background-image: linear-gradient(to bottom, transparent 0%, transparent 85%, #ffd3bc 85%, #ffd3bc 100%);
}

.botox_kv-ttl_small {
  font-size: 22px;
}

@media screen and (min-width: 768px) {
  .botox_kv-ttl_small {
    font-size: 26px;
  }
}

@media screen and (min-width: 1080px) {
  .botox_kv-ttl_small {
    font-size: 36px;
  }
}

.botox_kv-ttl_right {
  font-size: 22px;
  text-align: right;
  display: block;
}

@media screen and (min-width: 600px) {
  .botox_kv-ttl_right {
    display: inline-block;
  }
}

@media screen and (min-width: 768px) {
  .botox_kv-ttl_right {
    font-size: 28px;
  }
}

.botox_kv-copy {
  font-size: 14px;
  padding: 2px 16px;
  color: var(--white-color);
  background-color: var(--dark-color);
  width: fit-content;
  margin-inline: auto;
  margin-top: 16px;
  border-radius: 8px;
  font-weight: 500;
}

@media screen and (min-width: 350px) {
  .botox_kv-copy {
    margin-inline: 0;
    text-align: left;
    margin-top: 19px;
  }
}

@media screen and (min-width: 768px) {
  .botox_kv-copy {
    font-size: 16px;
  }
}

@media screen and (min-width: 1080px) {
  .botox_kv-copy {
    font-size: 20px;
  }
}

.botox_kv-prices {
  width: min(100%, 300px);
  padding: 16px;
  background-color: color-mix(in srgb, var(--dark-color) 30%, transparent);
  margin-top: 16px;
  margin-inline: auto;
  border-radius: 16px;
}

@media screen and (min-width: 350px) {
  .botox_kv-prices {
    position: absolute;
    margin-top: 0;
    margin-inline: 0;
    bottom: -160px;
    left: 50%;
    translate: -50% 0;
  }
}

@media screen and (min-width: 768px) {
  .botox_kv-prices {
    width: 500px;
    bottom: -64px;
  }
}

@media screen and (min-width: 1080px) {
  .botox_kv-prices {
    left: 40%;
    bottom: -24px;
    translate: 0 0;
  }
}

.botox_kv-price_list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

@media screen and (min-width: 768px) {
  .botox_kv-price_list {
    display: flex;
    flex-direction: row;
    gap: 24px;
  }
}

.botox_kv-price-item {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .botox_kv-price-item {
    width: calc(50% - 12px);
  }
}

.botox_kv-price_maker {
  text-align: center;
  font-size: 14px;
  background-color: var(--black-color);
  color: var(--white-color);
  padding: 2px 34px;
}

@media screen and (min-width: 1080px) {
  .botox_kv-price_maker {
    font-size: 16px;
  }
}

.botox_kv-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--white-color);
  padding: 0 12px;
}

.botox_kv-price_name {
  font-size: 12px;
  font-weight: 500;
  color: var(--black-color);
}

@media screen and (min-width: 1080px) {
  .botox_kv-price_name {
    font-size: 14px;
  }
}

.botox_kv-price_price {
  font-size: 24px;
  color: var(--black-color);
}

@media screen and (min-width: 768px) {
  .botox_kv-price_price {
    font-size: 26px;
  }
}

.botox_kv-price_price__small {
  font-size: 14px;
}


/* ---------- botox_about ---------- */

@media screen and (min-width: 350px) {
  .botox_about {
    padding-top: 120px;
  }
}

@media screen and (min-width: 768px) {
  .botox_about {
    padding-top: 80px;
  }
}

.botox_recommend_contents {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  align-items: center;
}

@media screen and (min-width: 768px) {
  .botox_recommend_contents {
    flex-direction: row;
  }
}

.botox_recommend_list {
  background-color: var(--white-color);
  padding: 26px 32px 20px;
  position: relative;
  max-width: 452px;
  margin-inline: auto;
  border-top-right-radius: 24px;
  border-bottom-right-radius: 24px;
  border-bottom-left-radius: 24px;
}

@media screen and (min-width: 768px) {
  .botox_recommend_list {
    margin-top: 24px;
  }
}

.botox_recommend_list::before {
  position: absolute;
  top: -19px;
  left: -9px;
  word-break:keep-all;
  content: "あなたのお悩みは？";
  text-transform: uppercase;
  background-color: var(--black-color);
  font-family: var(--en-font);
  color: var(--white-color);
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  padding: 2px 16px;
  border-radius: 100vmax;
  letter-spacing: 0.15em;
}

.botox_recommend_worries {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.botox_recommend_worry {
  color: var(--black-color);
  flex-shrink: 0;
  width: min(100%, 360px);
  display: flex;
  align-items: center;
  gap: 8px;
}

.botox_recommend_worry::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  background-color: var(--black-color);
  border-radius: 100vmax;
  flex-shrink: 0;
}

.botox_recommend_image-head {
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  color: var(--black-color);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.botox_recommend_image-head::before, .botox_recommend_image-head::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 22px;
  background-color: var(--black-color);
}

.botox_recommend_image-head::before {
  rotate: -30deg;
}

.botox_recommend_image-head::after {
  rotate: 30deg;
}

.botox_recommend_image {
  margin-top: 8px;
  max-width: 452px;
  border-radius: 8px;
  overflow: hidden;
}

/* ---------- features ---------- */
.botox_features {
  background-color: var(--accent-color);
  border-radius: 5vw;
}

.botox_features_list {
  margin-top: 40px;
}

.botox_features_item:not(:first-child) {
  margin-top: 32px;
}

.botox_features_list-head {
  padding: 4px 16px;
  background-color: var(--black-color);
  color: var(--white-color);
  font-size: 18px;
  font-weight: 500;
  display: flex;
  gap: 8px;
  align-items: center;
  border-radius: 8px;
}

.botox_features_item .botox_features_list-head::before {
  content: "";
  width: 40px;
  height: 40px;
}

.botox_features_item:nth-child(1) .botox_features_list-head::before {
  background-image: url(../img/botox/icon_features01.svg);
}

.botox_features_item:nth-child(2) .botox_features_list-head::before {
  background-image: url(../img/botox/icon_features02.svg);
}

.botox_features_item:nth-child(3) .botox_features_list-head::before {
  background-image: url(../img/botox/icon_features03.svg);
}

.botox_features_item:nth-child(4) .botox_features_list-head::before {
  background-image: url(../img/botox/icon_features04.svg);
}

.botox_features_list-body {
  margin-top: 16px;
}

.botox_features_list-body__needle {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: center;
}

@media screen and (min-width: 768px) {
  .botox_features_list-body__needle {
    flex-direction: row;
  }
}

.botox_features_text:not(:first-child) {
  margin-top: 8px;
}

.botox_features_text_sm {
  font-size: 14px;
}

.botox_features_text_emphasis {
  font-weight: bold;
}

.botox_features_anotation {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  column-gap: 24px;
}

.botox_features_anotation-text {
  font-size: 14px;
}

.botox_features_neadle_list {
  margin-top: 24px;
  position: relative;
  padding: 16px 8px;
  border: 1px solid var(--black-color);
  display: grid;
  place-content: center;
}

.botox_features_neadle_list-title {
  position: absolute;
  background-color: var(--black-color);
  color: var(--white-color);
  padding: 0 16px;
  top: 0;
  left: 8px;
  translate: 0 -50%;
  font-weight: bold;
  border-radius: 4px;
}


.botox_features_neadle_image {
  max-width: 340px;
}

/* ---------- about ---------- */
.botox_about_contents {
  margin-top: 40px;
}

.botox_about_section:not(:first-child) {
  margin-top: 40px;
}

.botox_about_head {
  font-size: 18px;
  font-weight: 500;
  color: var(--black-color);
  border-bottom: 2px solid var(--black-color);
}

.botox_about_body {
  margin-top: 8px;
}

.botox_about_body_inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  align-items: center;
}

@media screen and (min-width: 768px) {
  .botox_about_body_inner {
    flex-direction: row;
  }
}

.botox_about_text:not(:first-child) {
  margin-top: 8px;
}

.botox_about_text_emphasis {
  color: var(--black-color);
  font-weight: 500;
}

.botox_about_others-image {
  max-width: 268px;
}

.botox_about_treatment-image {
  max-width: 361px;
  flex-shrink: 0;
}

.botox_about_body-head {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.botox_about_body-head::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 24px;
  background-color: var(--black-color);
}

.botox_about_table {
  margin-top: 16px;
  max-width: 640px;
  margin-inline: auto;
}

.botox_about_table-head {
  background-color: var(--black-color);
  color: var(--white-color);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--main-color);
  padding: 4px;
  text-align: center;
}

.botox_about_table-data {
  text-align: center;
  font-size: 14px;
  padding: 4px;
  border: 2px solid var(--gray-color01);
  background-color: var(--white-color);
}

.botox_about_boxes-image {
  margin-top: 24px;
  max-width: 300px;
  margin-inline: auto;
}

/* ---------- case ---------- */
.subpage_case {
  background-color: var(--main-color);
}

.subpage_case_list {
  padding: 0 16px;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media screen and (min-width: 768px) {
  .subpage_case_list {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
}

.subpage_case_item {
  max-width: 296px;
  margin-inline: auto;
  border: 2px solid var(--black-color);
}

@media screen and (min-width: 768px) {
  .subpage_case_item {
    max-width: 296px;
    margin-inline: 0;
  }
}

.subpage_case_ttl {
  padding: 4px 8px;
  background-color: var(--black-color);
  text-align: center;
  color: var(--white-color);
  font-weight: 500;
}

.subpage_case_details {
  padding: 8px;
  background-color: var(--white-color);
}

.subpage_case_annotation {
  padding: 0 16px;
  font-size: 14px;
  text-align: center;
  margin-top: 24px;
}

/* ---------- prices ---------- */
.botox_price_table {
  margin-top: 40px;
}

.botox_price_table_header,.botox_price_table_item {
  padding: 14px 8px;
  background-color: var(--black-color);
  color: var(--white-color);
  font-weight: 500;
  text-align: center;
  border-top: 2px solid var(--gray-color01);
  border-right: 2px solid var(--gray-color01);
  border-bottom: 2px solid var(--gray-color01);
  border-left: 2px solid var(--black-color);
}

.botox_price_table_header {
  border-top: 2px solid var(--black-color);
}

.botox_price_table_header:last-child {
  border-right: 2px solid var(--black-color);
}

.botox_price_table_row:last-child .botox_price_table_item {
  border-bottom: 2px solid var(--black-color);;
}


.botox_price_table_header {
  font-size: 14px;
}

.botox_price_table_item {
  font-size: 12px;
}

@media screen and (min-width: 768px) {
  .botox_price_table_item {
    width: 300px;
    font-size: 14px;
  }
}

.botox_price_table_price {
  text-align: center;
  font-size: 14px;
  color: var(--black-color);
  border: 2px solid var(--black-color);
  background-color: var(--white-color);
  min-width: 80px;
}

@media screen and (min-width: 350px) {
  .botox_price_table_price {
    min-width: 104px;
  }
}

@media screen and (min-width: 768px) {
  .botox_price_table_price {
    font-size: 16px;
  }
}

.botox_price_table_price-small {
  font-size: 10px;
}

@media screen and (min-width: 768px) {
  .botox_price_table_price-small {
    font-size: 12px;
  }
}

.botoc_prices_point-head {
  margin-top: 16px;
  font-weight: 500;
  font-size: 14px;
}

@media screen and (min-width: 768px) {
  .botoc_prices_point-head {
    font-size: 16px;
  }
}

.botoc_prices_point-desc {
  margin-top: 4px;
  font-size: 14px;
}

@media screen and (min-width: 768px) {
  .botoc_prices_point-desc {
    font-size: 16px;
  }
}

/* ---------- points ---------- */
.m_points_table {
  margin-top: 40px;
}

.m_points_table_header {
  padding: 8px;
  background-color: var(--black-color);
  color: var(--white-color);
  font-weight: 500;
  border: 2px solid var(--gray-color02);
  border-left: 2px solid var(--black-color);
  text-align: center;
  min-width: 104px;
  font-size: 14px;
}

.m_points_table_row:first-child .m_points_table_header {
  border-top: 2px solid var(--black-color);
}

.m_points_table_row:last-child .m_points_table_header {
  border-bottom: 2px solid var(--black-color);
}

.m_points_table_item {
  padding: 4px 8px;
  font-size: 14px;
  border: 2px solid var(--black-color);
  background-color: var(--white-color);
}

/* ----------------------------- */
/*      news（カスタム投稿）        */
/* ----------------------------- */
/* ---------- single-news ---------- */
.news-single_cat {
  padding: 4px 18px;
  background-color: var(--black-color);
  font-size: 14px;
  color: var(--white-color);
  font-weight: 500;
}

@media screen and (min-width: 768px) {
  .news-single_cat {
    margin-left: 24px;
  }
}

.news-single_ttl {
  margin-top: 16px;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: var(--black-color);
  padding: 0 24px;
}

@media screen and (min-width: 768px) {
  .news-single_ttl {
    font-size: 24px;
  }
}

.news-single_date {
  margin-top: 12px;
  margin-right: 24px;
  text-align: right;
  font-size: 14px;
  color: var(--black-color);
  font-weight: 500;
}

.news-single_navigation {
  margin-top: 24px;
  max-width: 560px;
  margin-inline: auto;
}

.news-single_nav-archive {
  margin-top: 24px;
  text-align: center;
}

.news-single_nav-archive .m_button {
  max-width: 400px;
  margin-inline: auto;
}

/* ---------- archive-news ---------- */
.news_contents::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 500px;
  background-color: var(--light-color)
}

.news_category-list {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.news_category-link {
  padding: 4px 24px;
  border-radius: 100vmax;
  border: 1px solid var(--black-color);
  background-color: var(--white-color);
  font-size: 12px;
  font-weight: 500;
  color: var(--black-color);
}

.news_category-link.active {
  background-color: var(--black-color);
  color: var(--white-color);
  border: 1px solid var(--black-color);
}

.news_list {
  margin-top: 32px;
  background-color: var(--white-color);
  box-shadow: var(--box-shadow);
  padding: 24px 8px;
  border-radius: 16px;
}

.news_list-item {
  border-bottom: 1px solid var(--gray-color01);
  transition: filter 0.25s ease-in;
}

.news_list-item:has(.news_ttl-link:focus-visible)  {
  filter: brightness(1.1);
}

@media (any-hover: hover) {
  .news_list-item:hover {
    filter: brightness(1.1);
  }
}

.news_ttl-link {
  padding: 16px 32px 16px 16px;
  display: inline-block;
  width: 100%;
  position: relative;
}



.news_ttl-link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 8px;
  translate: 0 -50%;
  width: 12px;
  height: 12px;
  display: inline-block;
  background-color: var(--black-color);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

@media screen and (min-width: 768px) {
  .news_ttl-link {
    display: flex;
    align-items: center;
    gap: 16px;
  }
}

.news_article_meta {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.news_cat {
  padding: 4px 24px;
  background-color: var(--black-color);
  font-size: 12px;
  font-weight: 500;
  color: var(--white-color);
  border-radius: 100vmax;
}

.news_date {
  font-size: 14px;
  color: var(--gray-color04);
}

.news_ttl {
  margin-top: 8px;
  flex-shrink: 1;
}

@media screen and (min-width: 768px) {
  .news_ttl {
    margin-top: 0;
  }
}

/* ---------- lemelle ---------- */
.lemella_slider {
  margin-top: 40px;
}

.lemella_features {
  margin-top: 40px;
}

.lemella_features_ttl {
  font-size: 24px;
  font-weight: bold;
  margin-top: 24px;
  border-bottom: 2px solid var(--black-color);
}

.lemella_features_list {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
}


.lemella_features_item {
  display: flex;
  flex-direction: column;
  width: 100%;
}

@media screen and (min-width: 768px) {
  .lemella_features_item {
    width: calc(50% - 12px);
  }
}

.lemella_features_head {
  font-size: 18px;
  font-weight: bold;
  margin-top: 0;
  background-color: var(--accent-color);
  padding: 4px 16px;
  border-radius: 100vmax;
}

.lemella_features_text {
  line-height: 1.6;
  padding: 8px;
}

.lemella_recommend {
  margin-top: 40px;
}

.lemella_recommend_ttl {
  font-size: 24px;
  font-weight: bold;
  margin-top: 24px;
  border-bottom: 2px solid var(--black-color);
}

.lemella_recommend_list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top:40px;
  list-style: none;
  padding: 0;
}

@media screen and (min-width: 768px) {
  .lemella_recommend_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.lemella_recommend_item {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: var(--accent-color);
  border-radius: 100px;
  padding: 16px 24px;
}

@media screen and (min-width: 768px) {
  .lemella_recommend_item {
    gap: 12px;
    text-align: center;
    padding: 16px;
  }
}

.lemella_recommend_number {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black-color);
  border-radius: 50%;
  font-weight: bold;
  font-family: var(--en-font);
  font-size: 24px;
  flex-shrink: 0;
}

.lemella_recommend_text {
  margin: 0;
  line-height: 1.6;
}



/* ----------------------------- */
/*         cancel_policy         */
/* ----------------------------- */
.cancel_policy_desc {
  margin-top: 40px;
  text-align: center;
}

.cancel_policy_desc::after {
  content: "";
  width: 100%;
  height: 1px;
  background-color: var(--black-color);
  display: block;
  margin-top: 40px;
}

.cancel_policy_wrapper {
  margin-top: 40px;
  padding-bottom: 120px;
}

.cancel_policy_wrapper::after {
  content: "";
  width: 100%;
  height: 1px;
  background-color: var(--black-color);
  display: block;
  margin-top: 40px;
}

.cancel-policy_text {
  padding-left: 32px;
  position: relative;
}

.cancel-policy_text::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 2px;
  translate: 0 -50%;
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url(../img/ha/checkmark.svg);
  background-size: contain;
}

.cancel-policy_text:not(:first-child) {
  margin-top: 24px;
}

.cancel-policy_emphasis {
  font-weight: bold;
}

/* ---------- lumecca ---------- */
.lumecca_kv {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: center;
  padding: 26px 16px;
  background-image: url(../img/lumecca/lumecca-bg.webp);
  background-size: cover;
}

@media screen and (min-width: 768px) {
  .lumecca_kv {
    flex-direction: row;
    padding: 40px 32px;
    align-items: center;
    gap: 48px;
  }
}

.lumecca_kv_text-wrapper {
  text-align: center;
}

@media screen and (min-width: 768px) {
  .lumecca_kv_text-wrapper {
    min-width: 320px;
  }
}

.lumecca_kv-copy {
  font-size: 32px;
  font-weight: 500;
}

.lumecca_kv-hgroup {
  margin-top: 16px;
  border-top: 1px solid var(--dark-color);
  border-bottom: 1px solid var(--dark-color);
  width: 274px;
  margin-inline: auto;
  padding: 16px 0;
}

.lumecca_kv-ttl {
  width: 194px;
  margin-inline: auto;
}

.lumecca_kv-sub-ttl {
  display: inline-block;
  margin-top: 10px;
  line-height: 1.3;
}

.lumecca_kv-sub-copy {
  margin-top: 16px;
  display: inline-block;
  font-weight: 500;
}

.lumecca_kv-points {
  margin-top: 16px;
  width: 296px;
  margin-inline: auto;
}

.lumecca_kv-appeals {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.lumecca_kv-appeal-item {
  display: inline-block;
  min-width: 220px;
  padding: 8px 24px;
  background-color: var(--black-color);
  color: var(--white-color);
  font-size: 14px;
  font-weight: 500;
  border-radius: 100vmax;
  letter-spacing: 0.08em;
  text-align: center;
}


.lumecca_kv_img {
  max-width: 480px;
}

.lumecca_kv_img img {
  width: 100%;
  height: auto;
}

/* ---------- about ---------- */
.lumecca_about {
  padding: 80px 16px;
  max-width: 960px;
  margin-inline: auto;
}

@media screen and (min-width: 768px) {
  .lumecca_about {
    padding: 120px 32px;
  }
}

.lumecca_desc {
  max-width: 920px;
  margin-inline: auto;
  margin-top: 48px;
  font-size: 14px;
}

@media screen and (min-width: 768px) {
  .lumecca_desc {
    text-align: center;
    font-size: 16px;  
}
}

.lumecca_about_speech-bubbles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 48px;
  gap: 16px;
}

.lumecca_about_speech-bubbles img {
  width: 100%;
  height: auto;
}

.lumecca_about_speech-bubbles img:nth-child(1) {
  max-width: 160px;
}
@media screen and (min-width: 768px) {
  .lumecca_about_speech-bubbles img:nth-child(1) {
    max-width: 183px;
  }
}
.lumecca_about_speech-bubbles img:nth-child(2) {
  max-width: 180px;
}
@media screen and (min-width: 768px) {
  .lumecca_about_speech-bubbles img:nth-child(2) {
    max-width: 212.5px;
  }
}
.lumecca_about_speech-bubbles img:nth-child(3) {
  max-width: 158px;
}
@media screen and (min-width: 768px) {
  .lumecca_about_speech-bubbles img:nth-child(3) {
    max-width: 182px;
  }
}
.lumecca_about_speech-bubbles img:nth-child(4) {
  max-width: 175px;
}
@media screen and (min-width: 768px) {
  .lumecca_about_speech-bubbles img:nth-child(4) {
    max-width: 196.5px;
  }
}

.lumecca_about-recommend_contents {
  margin-top: -32px;
  background-color: var(--white-color);
  padding: 40px 16px;
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  align-items: center;
  gap: 32px;
  border-radius: 8px;
}

@media screen and (min-width: 768px) {
  .lumecca_about-recommend_contents {
    flex-direction: row;
    gap: 56px;
  }
}

.lumecca_about-recommend_item img {
  width: 20px;
  height: auto;
}

.lumecca_about-recommend_contents-image {
  max-width: 144px;
}

.lumecca_about-recommend_contents-texts {
  border-bottom: 1px solid var(--black-color);
}

.lumecca_about-recommend_contents-head {
  font-size: 20px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-wrap: nowrap;
}

.lumecca_about-recommend_contents-head::after {
  content: "";
  width: 100%;
  height: 1px;
  background-color: var(--black-color);
}

.lumecca_about-recommend_list {
  padding: 32px 8px 34px;
}

@media screen and (min-width: 768px) {
  .lumecca_about-recommend_list {
    padding: 24px 16px 34px;
  }
}

.lumecca_about-recommend_item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  line-height: 1.3;
  padding: 8px 0;
  border-bottom: 1px dotted var(--accent-color);
}

.lumecca_about-movie {
  margin-top: 32px;
  text-align: center;
}

.lumecca_about-movie video {
  border-radius: 8px;
  border: 2px solid var(--black-color);
  object-fit: cover;
  background: var(--black-color);
}

/* ---------- features ---------- */
.lumecca_features {
  padding: 40px 16px;
  background-color: var(--accent-color);
  border-radius: 5vw;
}

@media screen and (min-width: 768px) {
  .lumecca_features {
    padding: 60px 32px;
  }
}

.lumecca_features-contents {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

@media screen and (min-width: 768px) {
  .lumecca_features-contents {
    margin-top: 48px;
    flex-direction: row;
    gap: 40px;
  }
}

.lumecca_features-item-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 24px;
  max-width: 835px;
}

.lumecca_features-item {
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lumecca_features-item-head {
  background-color: var(--black-color);
  color: var(--white-color);
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.lumecca_features-item-desc {
  padding: 16px;
  background-color: var(--white-color);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  flex: 1;
}

.lumecca_features-item-desc_lg {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media screen and (min-width: 768px) {
  .lumecca_features-item-desc_lg {
    padding-bottom: 12px;
  }
}


.lumecca_features-item-desc_inner {
  font-size: 14px;
  display: block;
  margin-top: 16px;
  padding: 16px 8px;
  border-radius: 8px;
  border: 2px solid var(--accent-color);

}

.lumecca_features-item-image {
  display: inline-block;
  margin-top: 8px;
  padding: 0 16px;
  background-color: var(--white-color);
  text-align: center;
}

.lumecca_features-item-image img {
  width: 80%;
  height: auto;
  border-radius: 8px;
}

/* ---------- triple steps ---------- */
.lumecca_triple-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 24px;
}

.lumecca_triple-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex: 1;
  padding: 8px 4px;
  background-color: var(--accent-color);
  border-radius: 6px;
  text-align: center;
  color: var(--black-color);
  aspect-ratio: 1 / 1;
  border-radius: 100vmax;
}

.lumecca_triple-step:last-child {
  background-color: var(--dark-color);
  color: var(--white-color);
}

.lumecca_triple-step_num {
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.05em;
}

.lumecca_triple-step_text {
  font-size: 14px;
  font-weight: 600;
}

.lumecca_triple-step_arrow {
  font-size: 18px;
  color: var(--black-color);
  line-height: 1;
  opacity: 0.5;
}


/* ---------- details ---------- */
.lumecca_details {
  padding: 80px 16px;
  max-width: 896px;
  margin-inline: auto;
}

@media screen and (min-width: 768px) {
  .lumecca_details {
    padding: 120px 32px;
  }
}

.lumecca_details-list {
  margin-top: 40px;
}

.lumecca_details-item:not(:first-child) {
  margin-top: 24px;
}

.lumecca_details-item__q {
  padding: 8px 16px;
  background-color: var(--light-color);
  border-bottom: 1px solid var(--accent-color);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

@media screen and (min-width: 768px) {
  .lumecca_details-item__q {
    font-size: 18px;
  }
}

.lumecca_details-item__badge {
  display: inline-block;
  width: 40px;
  height: 40px;
  display: grid;
  place-content: center;
  font-family: var(--en-font);
  font-size: 22px;
  border-radius: 100vmax;
  font-weight: normal;
  flex-shrink: 0;
}

@media screen and (min-width: 768px) {
  .lumecca_details-item__badge {
    width: 52px;
    height: 52px;
  }
}

.lumecca_details-item__badge--q {
  background-color: var(--black-color);
  color: var(--white-color);
}

.lumecca_details-item__badge--a {
  background-color: var(--accent-color);
}

.lumecca_details-item__a {
  padding: 8px 16px 16px;
  background: var(--light-color);
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
}

.lumecca_details-item__answer-head {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

@media screen and (min-width: 768px) {
  .lumecca_details-item__answer-head {
    font-size: 18px;
  }
}

.lumecca_details-item__answer-desc {
  margin-top: 8px;
  padding: 0 12px;
  font-size: 14px;
}

@media screen and (min-width: 768px) {
  .lumecca_details-item__answer-desc {
    font-size: 16px;
  }
}

/* ---------- prices ---------- */
.lumecca_prices {
  padding: 40px 16px;
  background-image: url(../img/lumecca/lumecca-bg.webp);
  background-size: cover;
}

@media screen and (min-width: 768px) {
  .lumecca_prices {
    padding: 60px 32px;
  }
}
.lumecca_prices-contents {
  margin-top: 40px;
  max-width: 500px;
  margin-inline: auto;
  border-radius: 16px;
}

@media screen and (min-width: 768px) {
  .lumecca_prices-contents {
    max-width: 800px;
  }
}

.lumecca_prices-contents_desc {
  text-align: center;
}

.lumecca_prices-contents_desc {
  margin-top: 8px;
  padding-inline: 16px;
  text-align: center;
  line-height: 1.5;
  z-index: 1;
}

.lumecca_prices-contents_desc-accent {
  font-size: 28px;
  font-family: var(--en-font);
  font-size: 28px;
  position: relative;
  z-index: 1;
}

.lumecca_prices-contents_desc-accent::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 8px; /* テキストの下端に配置 */
  width: 100%;
  height: 5px;
  background: linear-gradient(
    to bottom,
    var(--accent-color) calc(100% - 5px),
    var(--accent-color) 100%
  );
  z-index: -1;
}

.lumecca_prices-block-wrapper {
  margin-top: 40px;
  background-color: var(--light-color);
  padding-bottom: 32px;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
  box-shadow: 0 0 20px color-mix(in srgb, var(--black-color) 25%, transparent);
}

.lumecca_prices-block-wrapper-head {
  padding: 8px;
  background-color: var(--black-color);
  color: var(--white-color);
  font-size: 20px;
  text-align: center;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  line-height: 1;
}

@media screen and (min-width: 768px) {
  .lumecca_prices-block-wrapper-head {
    font-size: 28px;
  }
}

.lumecca_prices-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 24px;
}

@media screen and (min-width: 768px) {
  .lumecca_prices-grid {
    flex-direction: row;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
  }
}

.lumecca_prices-block {
  max-width: 768px;
  margin-inline: auto;
  flex: 1;
  text-align: center;
}

.lumecca_prices-heading {
  width: calc(100% - 16px);
  margin-inline: auto;
  padding: 8px;
  font-size: 20px;
  text-align: center;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  line-height: 1;
  border-bottom: 2px solid var(--black-color);
  font-weight: 500;
}

@media screen and (min-width: 768px) {
  .lumecca_prices-heading {
    font-size: 28px;
  }
}

.lumecca_prices-row {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}

.lumecca_prices-row_cource {
  margin-top: 32px;
}

.lumecca_prices-row_cource:not(:first-child) {
  margin-top: 48px;
}

@media screen and (min-width: 768px) {
  .lumecca_prices-row {
    justify-content: center;
    flex-direction: row;
    gap: 24px;
  }
}

.lumecca_prices-card {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lumecca_prices-label {
  width: 72px;
  height: 72px;
  background-color: var(--black-color);
  color: var(--white-color);
  line-height: 1.3;
  font-size: 20px;
  font-weight: 500;
  display: grid;
  place-content: center;
  text-align: center;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.lumecca_prices-label__first {
  background-color: var(--accent-color);
  color: var(--black-color);
}

.lumecca_prices-price {
  padding: 0 16px;
  height: 72px;
  display: grid;
  place-content: center;
  background-color: var(--main-color);
  line-height: 1;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

@media screen and (min-width: 768px) {
  .lumecca_prices-price {
    width: 210px;
  }
}

.lumecca_prices-price_inner {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 4px;
}

.lumecca_prices-note {
  font-size: 14px;
  margin-top: 4px;
  text-align: center;
}

.lumecca_prices-price-value {
  font-size: 34px;
  font-family: var(--en-font);
}

.lumecca_prices-price-value_lg {
  font-size: 42px;
}

.lumecca_prices-price-unit {
  display: inline-block;
  font-size: 14px;
  margin-bottom: 4px;
}

.lumecca_prices-row svg {
  rotate: 90deg;
}

@media screen and (min-width: 768px) {
  .lumecca_prices-row svg {
    rotate: 0deg;
  }
  .lumecca_prices-row_cource svg {
    margin-right: -20px;
  }
}

.lumecca_prices-course {
  margin-top: 24px;
  max-width: 680px;
  margin-inline: auto;
}

@media screen and (min-width: 768px) {
  .lumecca_prices-course {
    font-size: 32px;
  }
}

.lumecca_prices-subheading {
  padding: 4px 0;
  font-size: 20px;
  font-weight: 500;
  position: relative;
  text-align: center;
}

.lumecca_prices-subheading:after {
  content: "";
  width: calc(100% - 16px);
  height: 1px;
  background-color: var(--dark-color);
  position: absolute;
  bottom: 4px;
  left: 50%;
  translate: -50% 0;


}



.lumecca_prices-caution {
  margin-top: 16px;
  padding: 0 16px;
  text-align: right;
  font-size: 12px;
}
/* ----------------------------- */
/*       procedure template      */
/* ----------------------------- */

/* ---------- procedure_kv ---------- */
.procedure_kv {
  position: relative;
  background-image: linear-gradient(to right, #AA917D 0%, #876a50 100%);
  padding: 56px 16px;
}

@media screen and (min-width: 768px) {
  .procedure_kv {
    padding: 56px 32px;
  }
}

@media screen and (min-width: 1080px) {
  .procedure_kv {
    padding: 80px 32px;
  }
}

.procedure_kv_inner {
  margin-inline: auto;
  display: flex;
  flex-direction: column-reverse;
  gap: 40px;
}

@media screen and (min-width: 1080px) {
  .procedure_kv_inner {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
  }
}

.procedure_kv_img-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin-inline: auto;
}

@media screen and (min-width: 1080px) {
  .procedure_kv_img-wrapper {
    max-width: none;
  }
}

.procedure_kv-text-wrapper {
  padding: 0 8px;
  width: 100%;
  max-width: 600px;
  color: var(--white-color);
  margin-inline: auto;
}
.procedure_kv-ttl {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

@media screen and (min-width: 1080px) {
  .procedure_kv-ttl {
    align-items: start;
  }
  
}

.procedure_kv-ttl_en {
  display: inline-block;
  font-family: var(--en-font);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
  line-height: 1;
}

.procedure_kv-ttl_ja {
  margin-top: 4px;
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
}

@media screen and (min-width: 768px) {
  .procedure_kv-ttl_en {
    font-size: 28px;
  }
  .procedure_kv-ttl_ja {
    font-size: 50px;
  }
}

@media screen and (min-width: 1080px) {
  .procedure_kv-ttl_ja {
    font-size: 60px;
  }
}

/* Procedure Section Title - Japanese Main, English Sub */
.procedure_section-ttl {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.procedure_section-ttl .m_section-ttl_ja {
  order: 1;
  margin-top: 0;
  font-size: 24px;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
}

.procedure_section-ttl .m_section-ttl_en {
  order: 2;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.05em;
  border-bottom: none;
}

@media screen and (min-width: 768px) {
  .procedure_section-ttl .m_section-ttl_ja {
    font-size: 32px;
  }
  .procedure_section-ttl .m_section-ttl_en {
    font-size: 16px;
  }
}

@media screen and (min-width: 1080px) {
  .procedure_section-ttl .m_section-ttl_ja {
    font-size: 44px;
  }
  .procedure_section-ttl .m_section-ttl_en {
    font-size: 18px;
  }
}

.procedure_kv-copy {
  margin-top: 40px;
  font-size: 18px;
  line-height: 1.6;
  width: fit-content;
  max-width: 500px;
  padding: 16px 32px;
  color: var(--white-color);
  background-color: rgba(0,0,0,0.2); /* Semi-transparent background for readability */
  border-radius: 8px;
  font-weight: 500;
  margin-inline: auto;
  text-align: center;
}

@media screen and (min-width: 1080px) {
  .procedure_kv-copy {
    margin-top: 32px;
    font-size: 22px;
    margin-inline: unset;
    text-align: left;
  }
}

/* ---------- procedure_about ---------- */

.procedure_about_content {
  margin-top: 40px;
}

.procedure_about_text {
  line-height: 2;
}

/* ---------- procedure_mechanism ---------- */

.procedure_mechanism_content {
  margin-top: 40px;
}

.procedure_mechanism_head {
  font-size: 18px;
  font-weight: bold;
  border-bottom: 2px solid var(--black-color);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

/* Flex wrapper for image and list side by side */
.procedure_mechanism_flex {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
}

@media screen and (min-width: 768px) {
  .procedure_mechanism_flex {
    flex-direction: row;
    gap: 40px;
  }
}

.procedure_mechanism_list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.procedure_mechanism_item {
  background-color: var(--white-color);
  padding: 16px 20px;
  border-radius: 10px;
}

.procedure_mechanism_item_head {
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 8px;
  color: var(--black-color);
}

.procedure_mechanism_item_text {
  line-height: 1.7;
  margin: 0;
}

/* ---------- procedure_features ---------- */
.procedure_features {
  background-color: var(--accent-color);
  border-radius: 5vw;
  margin-top: 60px;
}





/* Updated Procedure Template Styles (Mobile First) */

/* Comparison Table */
.procedure_comparison_table_wrapper {
  margin-top: 40px;
  overflow-x: auto;
  border-radius: 0;
  box-shadow: none;
  /* Scrollbar Styling */
  scrollbar-width: thin;
  scrollbar-color: var(--accent-color) var(--white-color);
}

.procedure_comparison_table_wrapper::-webkit-scrollbar {
  height: 8px;
}

.procedure_comparison_table_wrapper::-webkit-scrollbar-track {
  background: var(--gray-color01);
  border-radius: 4px;
}

.procedure_comparison_table_wrapper::-webkit-scrollbar-thumb {
  background-color: var(--accent-color);
  border-radius: 4px;
}

.procedure_comparison_table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px; /* Keep min-width to ensure table readability on small screens via scroll */
  font-size: 0.85em; /* Mobile base size */
  border: 2px solid var(--black-color);
}

.procedure_comparison_table th,
.procedure_comparison_table td {
  border: 1px solid var(--black-color);
  background-color: var(--white-color);
  padding: 10px; /* Mobile padding */
  text-align: center;
  vertical-align: middle;
}

.procedure_comparison_table thead th {
  background-color: var(--black-color);
  color: var(--white-color);
  font-weight: bold;
  border-bottom: 2px solid var(--black-color);
}

.procedure_comparison_table thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 10;
  border-left: 2px solid var(--black-color);
}

.procedure_comparison_table tbody th {
  background-color: var(--black-color);
  color: var(--white-color);
  font-weight: bold;
  text-align: center;
  width: auto;
  min-width: 120px; /* Mobile min-width */
  position: sticky;
  left: 0;
  z-index: 10;
  border-left: 2px solid var(--black-color);
}

/* Highlighted Column (Blessing) */
.procedure_comparison_table .procedure_comparison_table_cell_highlight {
  background-color: var(--accent-color);
  font-weight: bold;
  color: var(--black-color);
  border-left: 1px solid var(--black-color);
  border-right: 1px solid var(--black-color);
}

.procedure_comparison_table tbody tr:last-child .procedure_comparison_table_cell_highlight {
  border-bottom: 2px solid var(--black-color);
}

.procedure_comparison_table .procedure_comparison_table_text_highlight {
  color: var(--black-color);
  font-weight: bold;
  font-size: 1.1em;
}

.u_fz-sm {
  font-size: 0.8em;
  font-weight: normal;
}

/* Recommend Section */
@media screen and (min-width: 1080px) {
  .procedure_recommend_inner {
    display: flex;
    gap: 40px;
    align-items: center;
  }  
}

.procedure_recommend_left {
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
}

@media screen and (min-width: 1080px) {
  .procedure_recommend_left {
    flex: 1;
    max-width: 400px;
    margin-inline: unset;
  }
}

.procedure_recommend_image_wrapper {
  margin-top: 24px;
  width: 100%;
}

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

.procedure_recommend_content {
  display: flex;
  flex-direction: column; /* Mobile default */
  gap: 24px;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
}

@media screen and (min-width: 1080px) {
  .procedure_recommend_content {
    margin-top: 0;
    margin-inline: unset;
    flex: 1;
    max-width: 600px;
  }
}

.procedure_recommend_list {
  background-color: var(--accent-color);
  padding: 24px; /* Mobile padding */
  border-radius: 20px;
  width: 100%; /* Mobile width */
  color: var(--white-color);
}

.procedure_recommend_ul {
  list-style: none;
  padding: 0;
}

.procedure_recommend_item {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--black-color);
}

.procedure_recommend_icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Comparison Section */

.procedure_comparison_content {
  margin-top: 40px;
}

.procedure_comparison_intro {
  margin-bottom: 40px;
  line-height: 1.8;
}

.procedure_comparison_block {
  margin-bottom: 40px;
}

.procedure_comparison_head {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-color);
}

.procedure_comparison_subhead {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 1.1em;
}

.procedure_comparison_text {
  margin-bottom: 20px;
  line-height: 1.8;
}

.procedure_comparison_detail {
  margin-bottom: 20px;
  background-color: var(--accent-color);
  padding: 20px;
  border-radius: 10px;
}

.procedure_comparison_detail_other {
  background-color: #F0F0F0;
}

.procedure_comparison_detail_title {
  font-weight: bold;
  margin-bottom: 10px;
}

.procedure_comparison_list {
  padding-left: 20px;
  list-style: disc;
}

.procedure_comparison_list li {
  margin-bottom: 5px;
  line-height: 1.6;
}

.procedure_comparison_image {
  width: 100%;
  background-color: var(--gray-color01);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.procedure_comparison_details_wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media screen and (min-width: 768px) {
  .procedure_comparison_details_wrapper {
    flex-direction: row;
  }
  
  .procedure_comparison_detail {
    flex: 1;
    margin-bottom: 0; /* Reset margin for flex layout */
  }
}

.procedure_comparison .procedure_comparison_table_wrapper {
  margin-top: 60px;
}

/* Features Section */
.procedure_features_list {
  margin-top: 40px;
}

.procedure_features_item {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column; /* Mobile default */
  gap: 20px;
  align-items: center; /* Mobile align */
  text-align: center; /* Mobile text align */
}

.procedure_features_icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  margin-bottom: 10px; /* Mobile margin */
}

.procedure_features_head {
  font-size: 1.4em;
  line-height: 1;
  font-weight: bold;
  margin-bottom: 8px; /* Mobile margin */
}

.procedure_features_image {
  width: 100%;
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
}

.procedure_features_video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ---------- procedure_formulation ---------- */
.procedure_formulation {
  margin-top: 60px;
}

.procedure_formulation_intro {
  margin-top: 20px;
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
}

.procedure_formulation_table_wrapper {
  margin-top: 30px;
  overflow-x: auto;
  border-radius: 0;
  box-shadow: none;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-color) var(--white-color);
}

.procedure_formulation_table_wrapper::-webkit-scrollbar {
  height: 8px;
}

.procedure_formulation_table_wrapper::-webkit-scrollbar-track {
  background: var(--gray-color01);
  border-radius: 4px;
}

.procedure_formulation_table_wrapper::-webkit-scrollbar-thumb {
  background-color: var(--accent-color);
  border-radius: 4px;
}

.procedure_formulation_table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  font-size: 0.85em;
  border: 2px solid var(--black-color);
  table-layout: fixed;
}

.procedure_formulation_table th,
.procedure_formulation_table td {
  border: 1px solid var(--black-color);
  background-color: var(--white-color);
  padding: 10px;
  text-align: center;
  vertical-align: middle;
  width: 20%;
}

.procedure_formulation_table thead th {
  background-color: var(--black-color);
  color: var(--white-color);
  font-weight: bold;
  border-bottom: 2px solid var(--black-color);
  padding: 0;
}

.procedure_formulation_table thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 10;
  border-left: 2px solid var(--black-color);
}

.procedure_formulation_table tbody th {
  background-color: var(--black-color);
  color: var(--white-color);
  font-weight: bold;
  text-align: center;
  width: auto;
  min-width: 120px;
  position: sticky;
  left: 0;
  z-index: 10;
  border-left: 2px solid var(--black-color);
}

.procedure_formulation_product {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px;
  min-height: 120px;
}

.procedure_formulation_product_img {
  width: 100%;
  max-width: 120px;
  height: auto;
  object-fit: contain;
  display: block;
}

.procedure_formulation_product_name {
  margin: 0;
  font-weight: bold;
  font-size: 1em;
  color: var(--white-color);
}

@media screen and (min-width: 768px) {
  .procedure_formulation_table {
    font-size: 0.95em;
  }
  .procedure_formulation_table th,
  .procedure_formulation_table td {
    padding: 18px 15px;
  }
  .procedure_formulation_table tbody th {
    width: 20%;
    min-width: 150px;
  }
  .procedure_formulation_product {
    min-height: 150px;
  }
  .procedure_formulation_product_img {
    max-width: 150px;
  }
}

/* Advantage Section */
.procedure_reason_list {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;

}

.procedure_reason_item {
  width: 100%; /* Mobile width */
  max-width: 400px;
  margin-inline: auto;
  padding: 16px;
  text-align: center;
  border-radius: 10px;
  background-color: var(--black-color);
  color: var(--white-color);
}

@media screen and (min-width: 768px) {
  .procedure_reason_item {
    margin-inline: unset;
  }
}

.procedure_reason_icon {
  width: 100%;
  aspect-ratio: 36 / 30;
  margin: 0 auto 20px;
  border-radius: 2px;
  overflow: hidden;
}

.procedure_reason_image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.procedure_reason_head {
  font-weight: bold;
  margin-bottom: 10px;
}

/* Flow Section */
.procedure_flow_list {
  counter-reset: flow-counter;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.procedure_flow_item {
  /* Reset previous styles */
  margin-bottom: 0;
  display: block;
}

.procedure_flow_card {
  background-color: var(--white-color);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  position: relative;
}

@media screen and (min-width: 768px) {
  .procedure_flow_card {
    flex-direction: row;
    align-items: center;
    padding: 20px  40px;
  }
}

.procedure_flow_number_wrapper {
  flex-shrink: 0;
}

.procedure_flow_number {
  font-family: var(--en-font); 
  font-size: 3rem;
  font-weight: bold;
  color: var(--accent-color);
  line-height: 1;
}

@media screen and (min-width: 768px) {
  .procedure_flow_number {
    font-size: 4rem;
  }
}

.procedure_flow_content {
  flex-grow: 1;
}

.procedure_flow_head {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.procedure_flow_head::before {
  content: "";
  display: block;
  width: 6px;
  height: 24px;
  background-color: var(--accent-color);
  border-radius: 3px;
}

.procedure_flow_text {
  line-height: 1.6;
  color: var(--black-color);
}

.procedure_flow_image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--gray-color01);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media screen and (min-width: 768px) {
  .procedure_flow_image {
    width: 280px;
    margin-left: auto;
  }
}

/* Aftercare Section */
.procedure_aftercare_content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.procedure_aftercare_block {
  padding: 20px;
  background-color: var(--accent-color);
  border-radius: 10px;
  color: var(--black-color);
}

.procedure_aftercare_head {
  font-weight: bold;
  text-align: center;
  background-color: var(--black-color);
  color: var(--white-color);
  border-radius: 100vmax;
}

.procedure_aftercare_block ul {
  margin-top: 20px;
  font-size: 0.9em;
  text-align: center;
}

/* Refactored Inline Styles (Mobile Base) */

.procedure_about_image_wrapper {
  margin-top: 30px;
  display: flex;
  flex-direction: column; /* Mobile default */
  gap: 20px;
  justify-content: center;
}

.procedure_about_image {
  width: 100%; /* Mobile width */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: relative;
}

.procedure_about_image_heading {
  width: 100%;
  background-color: var(--black-color);
  color: var(--white-color);
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  padding: 8px 16px;
  margin: 0;
  line-height: 1.5;
}

.procedure_about_image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.procedure_mechanism_image {
  background-color: #ddd;
  width: 100%;
  max-width: 360px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

@media screen and (min-width: 768px) {
  .procedure_mechanism_image {
    width: 50%;
    max-width: 520px;
  }
}

.procedure_mechanism_image p {
  color: #666;
}

.procedure_mechanism_video {
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* Comparison image size adjustment */
.procedure_comparison_image {
  width: 100%;
  height: auto;
  background-color: var(--gray-color01);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}


.procedure_comparison_video {
  width: 100%;
}


.procedure_price_table_wrapper {
  overflow-x: auto;
  margin-top: 20px;
  /* Scrollbar Styling */
  scrollbar-width: thin;
  scrollbar-color: var(--accent-color) var(--white-color);
}

.procedure_price_table_wrapper::-webkit-scrollbar {
  height: 8px;
}

.procedure_price_table_wrapper::-webkit-scrollbar-track {
  background: var(--white-color);
  border-radius: 4px;
}

.procedure_price_table_wrapper::-webkit-scrollbar-thumb {
  background-color: var(--accent-color);
  border-radius: 4px;
}

.procedure_price_table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px; /* Ensure scroll on mobile */
  border: 2px solid var(--black-color);
}

.procedure_price_table thead tr {
  background-color: var(--black-color);
  color: var(--white-color);
}

.procedure_price_table th,
.procedure_price_table td {
  padding: 8px;
  border: 1px solid var(--black-color);
  text-align: center;
  min-width: 120px;
}

.procedure_price_table th {
  background-color: var(--black-color);
  color: var(--white-color);
  font-weight: bold;
}

.procedure_price_table th:first-child {
  position: sticky;
  left: 0;
  z-index: 10;
  border-left: 2px solid var(--black-color);
}

.procedure_price_table td {
  background-color: var(--white-color);
  border-left: 2px solid var(--black-color);
}

/* Sticky First Column for Price Table */
.procedure_price_table td:first-child {
  position: sticky;
  left: 0;
  background-color: var(--black-color);
  color: var(--white-color);
  font-weight: bold;
  z-index: 10;
}


/* Desktop / Tablet Overrides (min-width: 768px) */
@media screen and (min-width: 768px) {
  /* Comparison Table */
  .procedure_comparison_table {
    font-size: 0.95em;
  }
  .procedure_comparison_table th,
  .procedure_comparison_table td {
    padding: 18px 15px;
  }
  .procedure_comparison_table tbody th {
    width: 20%;
    min-width: 150px;
  }

  /* Recommend Section */
  .procedure_recommend_list {
    padding: 40px;
  }

  /* Features Section */
  .procedure_features_item {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }
  .procedure_features_icon {
    margin-bottom: 0;
  }
  .procedure_features_head {
    margin-bottom: 10px;
  }

  /* Advantage Section */
  .procedure_reason_item {
    width: auto;
    flex: 1;
  }

  /* Flow Section */
  .procedure_flow_item {
    flex-direction: row;
    align-items: center;
  }
  .procedure_flow_image {
    max-width: 300px;
    margin-bottom: 0;
  }
  .procedure_flow_head {
    font-size: 1.2em;
  }

  /* About Section */
  .procedure_about_image_wrapper {
    flex-direction: row;
  }
  .procedure_about_image {
    width: 48%;
  }
}


/* ----- カード共通 ----- */
.case-card {
  display: block;
  background-color: var(--dark-color);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.case-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.case-card_image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--dark-color);
}

.case-card_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  padding: 6px;
}

.case-card:hover .case-card_image img {
  transform: scale(1.05);
}

.case-card_noimage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--dark-color);
  color: #999;
  font-size: 14px;
}

.case-card_info {
  padding: 4px 16px 8px;
  color: var(--white-color);
}

.case-card_title {
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
}

.case-card_doctor {
  display: flex;
  align-items: center;
  gap: 8px;
}

.case-card_doctor-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.case-card_doctor-name {
  font-size: 13px;
  color: var(--gray-color03);
}

/* ----- トップページスライダー ----- */

.top_case_slider-wrapper {
  position: relative;
  padding: 0 50px;
  margin-top: 40px;
}

@media screen and (max-width: 767px) {
  .top_case_slider-wrapper {
    padding: 0 40px;
  }
}

.js_case-slider {
  overflow: hidden;
}

.js_case-slider .swiper-slide {
  height: auto;
}

.js_case-slider .case-card {
  height: 100%;
}

.case-prev,
.case-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: var(--dark-color);
  border: none;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100vmax;
}

.case-prev {
  left: 0;
}

.case-next {
  right: 0;
}

.case-prev::after,
.case-next::after {
  font-size: 16px;
  color: var(--white-color);
}

/* ----- 一覧ページ ----- */

.case-archive_filter {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

@media screen and (min-width: 768px) {
  .case-archive_filter {
    display: flex;
  }
}

/* スマホ用: カテゴリ絞り込みプルダウン（PCでは非表示） */
.case-archive_filter-select {
  position: relative;
  margin-top: 40px;
}

@media screen and (min-width: 768px) {
  .case-archive_filter-select {
    display: none;
  }
}

.case-archive_filter-select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--dark-color);
  border-bottom: 2px solid var(--dark-color);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.case-archive_filter-select select {
  width: 100%;
  padding: 12px 40px 12px 16px;
  border: 1px solid var(--dark-color);
  background-color: var(--white-color);
  color: var(--dark-color);
  font-size: 16px;
  appearance: none;
  -webkit-appearance: none;
}

.case-archive_filter-item {
  padding: 8px 20px;
  border: 1px solid var(--dark-color);
  background-color: transparent;
  color: var(--dark-color);
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  background-color: var(--white-color);
}

.case-archive_filter-item:hover,
.case-archive_filter-item.is-active {
  background-color: var(--dark-color);
  color: var(--white-color);
}

.case-archive_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}

@media screen and (min-width: 768px) {
  .case-archive_list {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

@media screen and (min-width: 1080px) {
  .case-archive_list {
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
  }
}

.case-archive_pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* paginate_links(type=list) の ul にも .page-numbers が付き、共通の四角いボタン装飾がボタンの隙間から見えるため打ち消す */
.case-archive_pagination > .page-numbers {
  display: flex;
  gap: 8px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  background-color: transparent;
  box-shadow: none;
  list-style: none;
}

.case-archive_pagination .page-numbers li {
  display: inline-block;
}

.case-archive_pagination a,
.case-archive_pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--dark-color);
  text-decoration: none;
  color: var(--white-color);
  font-size: 14px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.case-archive_pagination a:hover,
.case-archive_pagination .current {
  background-color: var(--dark-color);
  color: var(--white-color);
}

.case-archive_empty {
  text-align: center;
  padding: 60px 0;
  color: var(--gray-color03);
}

/* ----- 詳細ページ ----- */
.case-single {
  background-color: var(--white-color);
}

.case-single_article {
  margin-top: 40px;
}

.case-single_content {
  display: grid;
  gap: 40px;
  margin-bottom: 60px;
}

@media screen and (min-width: 768px) {
  .case-single_content {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

/* 画像スライダー */
.case-single_images {
  position: relative;
  max-width: 520px;
  margin-inline: auto;
}

.case-single_slider {
  position: relative;
  overflow: hidden;
}

.case-single_slider .slides {
  display: flex;
  transition: transform 0.5s ease;
}

.case-single_slider .slide {
  flex: 0 0 100%;
  background-color: var(--dark-color);
}

.case-single_slider .slide img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  display: block;
  object-fit: contain;
  padding: 10px;
}

.case-single_slider .prev,
.case-single_slider .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background-color: var(--white-color);
  border: none;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100vmax;
}

.case-single_slider .prev {
  left: 2px;
}

.case-single_slider .next {
  right: 2px;
}

.slider-arrow {
  display: block;
  width: 10px;
  height: 10px;
  border-top: 3px solid var(--dark-color);
  border-right: 3px solid var(--dark-color);
}

.slider-arrow--prev {
  transform: rotate(-135deg);
  margin-left: 4px;
}

.slider-arrow--next {
  transform: rotate(45deg);
  margin-right: 4px;
}

/* サムネイル */
.case-single_thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-bottom: 8px;
}

.case-single_thumbnail {
  flex: 0 0 calc((100% - 32px) / 5);
  max-width: calc((100% - 32px) / 5);
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 2px solid transparent;
  background: none;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease, border-color 0.3s ease;
}

@media screen and (max-width: 520px) {
  .case-single_thumbnail {
    flex: 0 0 calc((100% - 24px) / 4);
    max-width: calc((100% - 24px) / 4);
  }
}

@media screen and (max-width: 400px) {
  .case-single_thumbnail {
    flex: 0 0 calc((100% - 16px) / 3);
    max-width: calc((100% - 16px) / 3);
  }
}

.case-single_thumbnail.is-active,
.case-single_thumbnail:hover {
  opacity: 1;
  border-color: var(--dark-color);
}

.case-single_thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 詳細情報 */
.case-single_category {
  font-size: 13px;
  color: var(--dark-color);
  margin-bottom: 8px;
  border: 1px solid var(--dark-color);
  width: fit-content;
  padding: 2px 8px;
  font-weight: bold;
}

.case-single_title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 20px;
}

@media screen and (min-width: 768px) {
  .case-single_title {
    font-size: 28px;
  }
}

.case-single_meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-color01);
}

.case-single_instagram {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--black-color);
  color: var(--black-color);
  font-size: 13px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.case-single_instagram:hover {
  background-color: var(--black-color);
  color: var(--white-color);
}

.case-single_instagram svg {
  flex-shrink: 0;
}

/* 本文 */
.case-single_body {
  font-size: 15px;
  line-height: 1.8;
}

.case-single_body p {
  margin-bottom: 1em;
}

.case-single_body p:last-child {
  margin-bottom: 0;
}

/* 担当医師 */
.case-doctors {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-color01);
}

.case-doctors__head {
  margin-bottom: 12px;
  font-size: 0.875rem;
  font-weight: bold;
}

.case-doctors__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.case-doctors__link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--black-color);
  font-size: 0.875rem;
  text-decoration: none;
}

@media (any-hover: hover) {
  .case-doctors__link:hover,
  .case-doctors__link:focus-visible {
    text-decoration: underline;
  }
}

.case-doctors__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 50%;
}

.case-doctors__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-doctors__name {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 医師ページへの誘導矢印 */
.case-doctors__name::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

@media (any-hover: hover) {
  .case-doctors__link:hover .case-doctors__name::after,
  .case-doctors__link:focus-visible .case-doctors__name::after {
    transform: translateX(3px) rotate(45deg);
  }
}

/* 関連症例 */
.case-single_related {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-color01);
}

.case-single_related-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 24px;
  text-align: center;
}

.case-single_related-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media screen and (min-width: 768px) {
  .case-single_related-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media screen and (min-width: 1080px) {
  .case-single_related-list {
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
  }
}

/*==========================================================
  施術カード（m_procedure）
  施術名→ドットリーダー→最安価格を1本の「カルト線」でつなぐのが要。
  カードはクリーム地＋ゴールド細罫で、開くと罫線が濃くなる
==========================================================*/
/* グループ目次（ピル型チップ）
   ※このセクションの縦余白は「各要素が自分の上に取る」方式で統一する。
   　目次や見出しの有無が変わっても前の要素に依存せず間隔が保たれる */
.m_procedure-toc {
  scroll-margin-top: 100px; /* 「目次に戻る」ジャンプ時の固定ヘッダー分 */
  margin-top: 24px;
}

/* 「お悩みから探す」と対になる見出し。2つの探し方が並んでいることを見せる */
.m_procedure-toc_head {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: var(--black-color);
  font-size: 16px;
  letter-spacing: 0.14em;
}

.m_procedure-toc_head::before,
.m_procedure-toc_head::after {
  content: "";
  width: 24px;
  height: 1px;
  background-color: color-mix(in srgb, var(--dark-color) 60%, transparent);
}

.m_procedure-toc_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 12px;
}

/* PCは4列の等幅グリッド。中央寄せの折り返しや伸縮だと行ごとに幅が変わり、
   最終行だけ横に伸びてしまうため、列を固定して端を揃える */
@media screen and (min-width: 768px) {
  .m_procedure-toc_list {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }

  /* 1行に収まる（4つ未満の）ときは、同じ幅のまま中央に寄せて左だけに偏らせない */
  .m_procedure-toc_list:not(:has(> .m_procedure-toc_item:nth-child(4))) {
    grid-template-columns: repeat(auto-fit, calc((100% - 30px) / 4));
    justify-content: center;
  }
}

.m_procedure-toc_link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  background-color: var(--white-color);
  border: 1px solid color-mix(in srgb, var(--dark-color) 35%, transparent);
  border-radius: 100vmax;
  color: var(--black-color);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.4;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* ページ内ジャンプであることを示す下向きの山形（線で描いて文字の矢印より細く揃える） */
.m_procedure-toc_link::after {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--dark-color);
  border-bottom: 1.5px solid var(--dark-color);
  translate: 0 -2px;
  rotate: 45deg;
}

@media screen and (min-width: 768px) {
  .m_procedure-toc_link {
    font-size: 14px;
  }
}

.m_procedure-toc_link:focus-visible {
  outline: 2px solid var(--dark-color);
  outline-offset: 2px;
}

@media (any-hover: hover) {
  .m_procedure-toc_link:hover {
    border-color: var(--dark-color);
    color: color-mix(in srgb, var(--dark-color) 70%, var(--black-color));
  }
}

/* 目次に戻るリンク（長いセクションの末尾） */
.m_procedure-back {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: 20px;
  margin-inline: auto;
  color: var(--dark-color);
  font-size: 12px;
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
}

.m_procedure-back::before {
  content: "↑";
  font-size: 11px;
}

.m_procedure-back:focus-visible {
  outline: 2px solid var(--dark-color);
  outline-offset: 2px;
}

@media (any-hover: hover) {
  .m_procedure-back:hover {
    color: var(--black-color);
  }
}

/* お悩みから探す（カテゴリページ上部の悩み別ページリンク。ナビのパネルと同じ意匠） */
.m_concern-links {
  margin-top: 24px;
}

.m_concern-links_head {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: var(--black-color);
  font-size: 16px;
  letter-spacing: 0.14em;
}

.m_concern-links_head::before,
.m_concern-links_head::after {
  content: "";
  width: 24px;
  height: 1px;
  background-color: color-mix(in srgb, var(--dark-color) 60%, transparent);
}

.m_concern-links_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 12px;
}

/* 2列で端数が出たとき（悩みは7つ）、最後の1つを中央に置いて左寄せの空きを作らない */
.m_concern-links_item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - 4px);
}

/* PCは4列。悩み7つが4+3の2行に収まり、施術の4列グリッドと端が揃う */
@media screen and (min-width: 768px) {
  .m_concern-links_list {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .m_concern-links_item:last-child:nth-child(odd) {
    grid-column: auto;
    justify-self: stretch;
    width: auto;
  }
}

/* 施術の目次（ピル型）と区別するため、悩みは角丸の四角いボタンにする */
.m_concern-links_chip {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60px;
  padding: 10px 12px;
  background-color: var(--white-color);
  border: 1px solid color-mix(in srgb, var(--dark-color) 35%, transparent);
  border-radius: 8px;
  color: var(--black-color);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-align: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}

@media screen and (min-width: 768px) {
  .m_concern-links_chip {
    min-height: 76px;
    padding: 12px 16px;
    font-size: 15px;
  }
}

.m_concern-links_chip:focus-visible {
  outline: 2px solid var(--dark-color);
  outline-offset: 2px;
}

@media (any-hover: hover) {
  .m_concern-links_chip:hover {
    border-color: var(--dark-color);
    color: color-mix(in srgb, var(--dark-color) 70%, var(--black-color));
  }
}

/* グループセクション */
.m_procedure-group {
  scroll-margin-top: 100px;
  margin-top: 48px;
}

/* 探し方のボタン列と施術一覧の境目。グループ見出し（左線・左寄せ）より一段上に見せるため中央寄せで大きくする */
.m_procedure-sections_ttl {
  margin-top: 48px;
  color: var(--black-color);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-align: center;
}

.m_procedure-sections_ttl::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  margin-top: 12px;
  margin-inline: auto;
  background-color: var(--dark-color);
}

@media screen and (min-width: 768px) {
  .m_procedure-sections_ttl {
    margin-top: 64px;
    font-size: 28px;
  }
}

/* 見出し直後の最初のグループは間隔を詰めて、見出しの配下であることを見せる */
.m_procedure-sections_ttl + .m_procedure-group,
.m_procedure-sections_ttl + .m_procedure-group .m_procedure-group_ttl {
  margin-top: 24px;
}

/* グループ内ではセクションのmargin-topと相殺され、単独見出しでも同じ間隔になる */
.m_procedure-group_ttl {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--black-color);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.m_procedure-group_ttl::before {
  content: "";
  width: 28px;
  height: 1px;
  background-color: var(--dark-color);
}

@media screen and (min-width: 768px) {
  .m_procedure-group_ttl {
    font-size: 24px;
  }
}

.m_procedure-group_lead {
  margin-bottom: 16px;
  color: var(--gray-color03);
  font-size: 13px;
  line-height: 1.8;
}

.m_procedure-group_list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ---------- カテゴリページのグループ見出し（m_procedure-group--visual） ----------
   押して開く施術カードと見分けがつくよう、背景・枠を付けずページの地に直接置き、下の細線で施術一覧と区切る
   スマホ: 見出しの右に正方形の写真、導入文・バナーはその下に全幅
   PC: 左に見出し・導入文（上下中央）、右に写真または特設ページのバナー
   写真が無いグループ（--text）は文字だけ、特設ページのバナーがあるグループ（--lp）は写真の代わりにバナー */
.m_procedure-group_head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  grid-template-areas:
    "main visual"
    "lead lead";
  column-gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--dark-color) 40%, transparent);
}

.m_procedure-group_head--text {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "main"
    "lead";
}

.m_procedure-group_head--lp {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "main"
    "lead"
    "lp";
}

/* スマホでは見出しと導入文を別の行に置くため、包みを外してグリッドに直接並べる */
.m_procedure-group_head-body {
  display: contents;
}

.m_procedure-group_head-main {
  grid-area: main;
  align-self: center;
}

/* 見出しの上余白（48px・先頭グループは24px）はセクション側で取り、左の飾り線は使わない
   （英語表記・導入文と左端をそろえる） */
.m_procedure-group--visual .m_procedure-group_head .m_procedure-group_ttl {
  margin-top: 0;
  margin-bottom: 4px;
}

.m_procedure-group--visual .m_procedure-group_ttl::before {
  content: none;
}

/* 英語表記。日本語見出しの補足として見出しの下に置く */
.m_procedure-group_en {
  color: var(--dark-color);
  font-family: var(--en-font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.4;
}

.m_procedure-group--visual .m_procedure-group_lead {
  grid-area: lead;
  margin-top: 12px;
  margin-bottom: 0;
}

/* 機械の縦長写真が多いため、切り抜かず枠内に全体を収める。余白は写真の背景色（描画時に指定）で塗る */
.m_procedure-group_visual {
  grid-area: visual;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  padding: 8px;
  background-color: var(--photo-bg-color);
  border-radius: 8px;
}

.m_procedure-group_visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 横長の写真（製剤・施術風景など）は余白を付けず枠いっぱいに敷く */
.m_procedure-group_visual--cover {
  padding: 0;
}

.m_procedure-group_visual--cover img {
  object-fit: cover;
}

/* 特設ページ（LP）のバナー */
.m_procedure-group_lp {
  grid-area: lp;
  margin-top: 20px;
}

/* カード内の「もっと詳しい情報を見る」と同じく、左右の細線で挟んだ小見出しにする */
.m_procedure-group_lp-head {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--dark-color);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.m_procedure-group_lp-head::before,
.m_procedure-group_lp-head::after {
  content: "";
  width: 24px;
  height: 1px;
  background-color: color-mix(in srgb, var(--dark-color) 60%, transparent);
}

.m_procedure-group_lp-list {
  display: grid;
  gap: 12px;
}

.m_procedure-group_lp-link {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  transition: opacity 0.2s ease;
}

.m_procedure-group_lp-link img {
  display: block;
  width: 100%;
  height: auto;
}

.m_procedure-group_lp-link:focus-visible {
  outline: 2px solid var(--dark-color);
  outline-offset: 2px;
}

@media (any-hover: hover) {
  .m_procedure-group_lp-link:hover {
    opacity: 0.85;
  }
}

@media screen and (min-width: 768px) {
  .m_procedure-group_head {
    grid-template-columns: minmax(0, 1fr) 240px;
    grid-template-areas: "body visual";
    column-gap: 40px;
    margin-bottom: 24px;
    padding-bottom: 24px;
  }

  .m_procedure-group_head--text {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "body";
  }

  .m_procedure-group_head--lp {
    grid-template-columns: minmax(0, 1fr) 320px;
    grid-template-areas: "body lp";
  }

  .m_procedure-group_head-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    grid-area: body;
  }

  .m_procedure-group_head-main {
    align-self: stretch;
  }

  .m_procedure-group_en {
    font-size: 14px;
  }

  .m_procedure-group--visual .m_procedure-group_lead {
    margin-top: 0;
  }

  /* 高さは文章量に合わせて伸び縮みさせ、導入文の無いグループで間延びしないようにする */
  .m_procedure-group_visual {
    aspect-ratio: auto;
    min-height: 160px;
    padding: 12px;
  }

  .m_procedure-group_visual--cover {
    padding: 0;
  }

  /* 高さを文章側に任せるため、画像自身の高さで行を押し広げない */
  .m_procedure-group_visual img {
    height: 0;
    min-height: 100%;
  }

  .m_procedure-group_lp {
    align-self: center;
    margin-top: 0;
  }

  .m_procedure-group_lp-list {
    gap: 10px;
  }
}

/* カード本体 */
.m_procedure-card {
  scroll-margin-top: 120px; /* 固定ヘッダー分。ヘッダー実高に合わせて調整 */
  background-color: var(--white-color);
  border: 1px solid color-mix(in srgb, var(--dark-color) 30%, transparent);
  border-radius: 8px;
  transition: border-color 0.25s ease;
}

.m_procedure-card[open] {
  border-color: var(--dark-color);
}

/* summary: 左に施術名・キャッチを縦に積み、右に開閉アイコン */
.m_procedure-card_summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 8px;
  padding: 16px;
  cursor: pointer;
  list-style: none;
}

.m_procedure-card_summary::-webkit-details-marker {
  display: none;
}

.m_procedure-card_summary:focus-visible {
  outline: 2px solid var(--dark-color);
  outline-offset: 2px;
  border-radius: 8px;
}

.m_procedure-card_head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.m_procedure-card_name {
  color: var(--black-color);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

/* キャッチ（製剤名・効果の要約）。閉じた状態でも何の施術か分かるよう施術名の下に出す */
.m_procedure-card_lead {
  color: var(--gray-color03);
  font-size: 12px;
  line-height: 1.6;
}

.m_procedure-card_icon {
  grid-column: 2;
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  align-self: center;
}

.m_procedure-card_icon::before,
.m_procedure-card_icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background-color: var(--dark-color);
  translate: -50% -50%;
  transition: rotate 0.25s ease;
}

.m_procedure-card_icon::after {
  rotate: 90deg;
}

.m_procedure-card[open] .m_procedure-card_icon::after {
  rotate: 0deg;
}

@media screen and (min-width: 768px) {
  .m_procedure-card_summary {
    column-gap: 12px;
    padding: 18px 24px;
  }

  .m_procedure-card_name {
    font-size: 18px;
  }

  .m_procedure-card_lead {
    font-size: 13px;
  }
}

/* 開閉アニメーション（対応ブラウザのみのプログレッシブエンハンスメント） */
@supports (interpolate-size: allow-keywords) {
  .m_procedure-card {
    interpolate-size: allow-keywords;
  }

  .m_procedure-card::details-content {
    height: 0;
    overflow: clip;
    transition: height 0.3s ease, content-visibility 0.3s allow-discrete;
  }

  .m_procedure-card[open]::details-content {
    height: auto;
  }
}

/* カード展開部 */
.m_procedure-card_body {
  padding: 20px 16px 24px;
  border-top: 1px solid color-mix(in srgb, var(--dark-color) 20%, transparent);
}

.m_procedure-card_desc {
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.8;
}

@media screen and (min-width: 768px) {
  .m_procedure-card_body {
    padding: 28px 32px 32px;
  }

  /* PCは本文・料金表を読みやすい幅に制限して中央の1カラムに揃える
     （全幅だと説明文の行長が長すぎ、料金表の内容⇔金額の視線移動も遠い） */
  .m_procedure-card_desc,
  .m_procedure-table_ttl,
  .m_procedure-table,
  .m_procedure-note,
  .m_procedure-meta,
  .m_procedure-card_risk {
    max-width: 680px;
    margin-inline: auto;
  }
}

/* 料金表 */
/* 表のタイトル。すぐ下の見出し行（内容／金額）に埋もれないよう、
   左に細い縦線を付けて文字色を濃くし、見出しとして立たせる */
.m_procedure-table_ttl {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--black-color);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.m_procedure-table_ttl::before {
  content: "";
  flex-shrink: 0;
  width: 3px;
  min-height: 16px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

/* 説明文が無い施術ではタイトルが展開部の先頭に来るので上の余白を消す */
.m_procedure-table_ttl:first-child {
  margin-top: 0;
}

@media screen and (min-width: 768px) {
  .m_procedure-table_ttl {
    font-size: 15px;
  }
}

.m_procedure-table {
  width: 100%;
  margin-bottom: 8px;
  border-collapse: collapse;
  font-size: 13px;
}

/* 表が続くときは間を広げる。注記は直前の表に属するので詰めたまま、
   その次の表との間だけ空けて「表＋注記」がひとまとまりに見えるようにする */
.m_procedure-table + .m_procedure-table,
.m_procedure-note + .m_procedure-table {
  margin-top: 20px;
}

.m_procedure-table_head {
  padding: 6px 4px;
  border-bottom: 1px solid color-mix(in srgb, var(--dark-color) 60%, transparent);
  color: color-mix(in srgb, var(--dark-color) 80%, transparent);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-align: left;
}

.m_procedure-table_head-price {
  text-align: right;
}

.m_procedure-table_data {
  padding: 10px 4px;
  border-bottom: 1px dotted color-mix(in srgb, var(--dark-color) 40%, transparent);
  line-height: 1.6;
  vertical-align: top;
}

.m_procedure-table_price {
  text-align: right;
  font-family: var(--en-font);
  font-size: 14px;
  white-space: nowrap;
}

.m_procedure-table_yen {
  margin-left: 1px;
  font-family: var(--ja-font);
  font-size: 12px;
}

@media screen and (min-width: 768px) {
  .m_procedure-table {
    font-size: 14px;
  }

  .m_procedure-table_price {
    font-size: 15px;
  }
}

/* 注釈 */
.m_procedure-note {
  margin-bottom: 8px;
  color: var(--gray-color03);
  font-size: 12px;
  line-height: 1.7;
}

/* meta表（所要時間・代表成分・効果など） */
.m_procedure-meta {
  margin-top: 16px;
  margin-bottom: 16px;
}

.m_procedure-meta_row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--dark-color) 20%, transparent);
  font-size: 13px;
  line-height: 1.7;
}

.m_procedure-meta_label {
  color: var(--dark-color);
  font-weight: 500;
}

/* リスク・注意事項。料金の並びと混ざらないよう細い区切り線で分ける */
.m_procedure-card_risk {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid color-mix(in srgb, var(--dark-color) 20%, transparent);
  color: var(--gray-color03);
  font-size: 12px;
  line-height: 1.7;
}

/* リスクの直後に注意事項が続く場合は区切り線を重ねない */
.m_procedure-card_risk + .m_procedure-card_risk {
  margin-top: 12px;
  padding-top: 0;
  border-top: none;
}

.m_procedure-card_risk-label {
  display: block;
  margin-bottom: 4px;
  color: color-mix(in srgb, var(--dark-color) 70%, var(--black-color));
  font-weight: 500;
  letter-spacing: 0.06em;
}

/* 開閉カードにしない料金表（アーティスト別料金・初診料）。カード展開部と同じ見た目の箱にする */
.m_procedure-price-list {
  scroll-margin-top: 120px;
  margin-top: 16px;
  padding: 20px 16px 24px;
  background-color: var(--white-color);
  border: 1px solid color-mix(in srgb, var(--dark-color) 30%, transparent);
  border-radius: 8px;
}

@media screen and (min-width: 768px) {
  .m_procedure-price-list {
    padding: 28px 32px 32px;
  }
}

.m_procedure-price-list_ttl {
  margin-bottom: 12px;
  color: var(--black-color);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

@media screen and (min-width: 768px) {
  .m_procedure-price-list_ttl {
    max-width: 680px;
    margin-inline: auto;
    font-size: 18px;
  }
}

/* 個別LPへの誘導ボタン */
.m_procedure-card_lp-link {
  display: block;
  width: fit-content;
  margin-top: 16px;
  margin-inline: auto;
  padding: 10px 32px;
  background-color: var(--dark-color);
  border-radius: 100vmax;
  color: var(--white-color);
  font-size: 13px;
  letter-spacing: 0.08em;
  transition: background-color 0.2s ease;
}

.m_procedure-card_lp-link:focus-visible {
  outline: 2px solid var(--dark-color);
  outline-offset: 2px;
}

@media (any-hover: hover) {
  .m_procedure-card_lp-link:hover {
    background-color: var(--accent-color);
  }
}

/* 特設ページ（LP）へのバナー誘導。トップのPICK UPと同じ素材を使う */
.m_procedure-card_lp-head {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  color: var(--dark-color);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.m_procedure-card_lp-head::before,
.m_procedure-card_lp-head::after {
  content: "";
  width: 24px;
  height: 1px;
  background-color: color-mix(in srgb, var(--dark-color) 60%, transparent);
}

.m_procedure-card_lp-banner {
  display: block;
  width: min(100%, 480px);
  margin-top: 12px;
  margin-bottom: 28px; /* 説明文の直後に置くので、続く料金表との間を空ける */
  margin-inline: auto;
  border-radius: 8px;
  overflow: hidden;
  transition: opacity 0.2s ease;
}

.m_procedure-card_lp-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.m_procedure-card_lp-banner:focus-visible {
  outline: 2px solid var(--dark-color);
  outline-offset: 2px;
}

@media (any-hover: hover) {
  .m_procedure-card_lp-banner:hover {
    opacity: 0.85;
  }
}

/* 悩みカード（お悩みから探す）。案内用の小さな入口なので、スマホ3列・PC7列に並べる
   悩み別ページでは自身を除いた6件になるため、flexで中央に寄せて端数の空きを出さない */
.m_concern-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.m_concern-card {
  display: flex;
  flex-direction: column;
  width: calc((100% - 16px) / 3);
  overflow: hidden; /* 写真の角を角丸内に収める */
  background-color: var(--white-color);
  border: 1px solid color-mix(in srgb, var(--dark-color) 30%, transparent);
  border-radius: 8px;
  color: var(--black-color);
  font-size: 13px;
  text-align: center;
  transition: border-color 0.2s ease;
}

.m_concern-card_img img {
  display: block;
  width: 100%;
  height: auto;
}

.m_concern-card_name {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  padding: 8px 4px 10px;
  font-size: 12px;
  line-height: 1.4;
}

.m_concern-card:focus-visible {
  outline: 2px solid var(--dark-color);
  outline-offset: 2px;
}

@media (any-hover: hover) {
  .m_concern-card:hover {
    border-color: var(--dark-color);
  }
}

@media screen and (min-width: 768px) {
  .m_concern-cards {
    gap: 12px;
  }

  .m_concern-card {
    width: calc((100% - 72px) / 7);
  }

  .m_concern-card_name {
    font-size: 13px;
  }
}

/* 料金一覧のカテゴリ（開閉する帯）
   グループ見出し（細線＋文字）と階層を取り違えないよう、左端にアクセント色の縦線を入れた帯にする。
   初期状態は閉じる */
.m_procedure-price_cat {
  scroll-margin-top: 110px;
  margin-top: 12px;
}

/* カテゴリ目次の直後だけ、目次と帯の塊を分ける */
.m_procedure-toc + .m_procedure-price_cat {
  margin-top: 40px;
}

.m_procedure-price_cat-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 12px 20px;
  background-color: var(--white-color);
  border: 1px solid color-mix(in srgb, var(--dark-color) 50%, transparent);
  border-left: 4px solid var(--accent-color);
  border-radius: 8px;
  color: var(--black-color);
  cursor: pointer;
  list-style: none;
}

.m_procedure-price_cat-bar::-webkit-details-marker {
  display: none;
}

.m_procedure-price_cat-bar:focus-visible {
  outline: 2px solid var(--black-color);
  outline-offset: 2px;
}

@media screen and (min-width: 768px) {
  .m_procedure-price_cat-bar {
    min-height: 64px;
    padding: 14px 28px;
  }
}

.m_procedure-price_cat-ttl {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

@media screen and (min-width: 768px) {
  .m_procedure-price_cat-ttl {
    font-size: 20px;
  }
}

/* 開閉アイコン（施術カードと同じ＋/−を帯の文字色に合わせて描く） */
.m_procedure-price_cat-icon {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.m_procedure-price_cat-icon::before,
.m_procedure-price_cat-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1.5px;
  background-color: var(--dark-color);
  translate: -50% -50%;
  transition: rotate 0.25s ease;
}

.m_procedure-price_cat-icon::after {
  rotate: 90deg;
}

.m_procedure-price_cat[open] .m_procedure-price_cat-icon::after {
  rotate: 0deg;
}

.m_procedure-price_cat-body {
  padding-top: 8px;
  padding-bottom: 32px;
}

@supports (interpolate-size: allow-keywords) {
  .m_procedure-price_cat {
    interpolate-size: allow-keywords;
  }

  .m_procedure-price_cat::details-content {
    height: 0;
    overflow: clip;
    transition: height 0.3s ease, content-visibility 0.3s allow-discrete;
  }

  .m_procedure-price_cat[open]::details-content {
    height: auto;
  }
}

/* カテゴリ内のグループ（帯の1つ下の階層） */
.m_procedure-price_cat .m_procedure-group {
  margin-top: 32px;
}

.m_procedure-price_cat .m_procedure-group_ttl {
  margin-top: 32px;
  font-size: 16px;
}

@media screen and (min-width: 768px) {
  .m_procedure-price_cat .m_procedure-group_ttl {
    font-size: 18px;
  }
}

/* 帯の直後のグループは帯との間を詰める */
.m_procedure-price_cat-body > .m_procedure-group:first-child,
.m_procedure-price_cat-body > .m_procedure-group:first-child .m_procedure-group_ttl {
  margin-top: 16px;
}

/* 料金を載せず個別ページへ案内するカテゴリ（アートメイク）。開閉しない帯に案内を並べる */
.m_procedure-price_cat-bar:not(summary) {
  flex-wrap: wrap;
  cursor: auto;
}

.m_procedure-price_cat-guide {
  font-size: 13px;
  line-height: 1.6;
}

.m_procedure-price_cat-link {
  color: var(--black-color);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.m_procedure-price_cat-link:focus-visible {
  outline: 2px solid var(--black-color);
  outline-offset: 2px;
}

@media (any-hover: hover) {
  .m_procedure-price_cat-link:hover {
    opacity: 0.75;
  }
}

.m_concern-menu_lead {
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.9;
}

.m_concern-menu_list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* モーション低減設定を尊重する */
@media (prefers-reduced-motion: reduce) {
  .m_procedure-card,
  .m_procedure-card_icon::before,
  .m_procedure-card_icon::after,
  .m_procedure-toc_link,
  .m_concern-links_chip,
  .m_procedure-back,
  .m_procedure-card_lp-link,
  .m_procedure-card_lp-banner,
  .m_procedure-group_lp-link,
  .m_concern-card,
  .m_procedure-price_cat-icon::before,
  .m_procedure-price_cat-icon::after,
  .m_procedure-price_cat-link {
    transition: none;
  }

  .m_procedure-card::details-content,
  .m_procedure-price_cat::details-content {
    transition: none;
  }
}

/*==========================================================
  ヘッダーナビ ドロップダウン/メガメニュー
==========================================================*/
/* SP: オーバーレイ内をスクロール可能に（項目が画面に収まらない端末対策） */
.l_header-nav {
  overflow-y: auto;
}

.l_header-nav_list {
  margin: auto;
  /* 下端に固定表示されるアイコン列（.l_header-icon-list）と重ならないよう下を大きく空ける */
  padding: 88px 24px 140px;
}

@media screen and (min-width: 1080px) {
  /* PC: ドロップダウンがナビの箱でクリップされないよう解除 */
  .l_header-nav {
    overflow-y: visible;
  }

  .l_header-nav_list {
    margin: 0;
    padding: 0;
  }
}

/* ドロップダウンを持つ親項目（トップのアンカーはPCのみ表示・SPは単純リンク） */
.l_header-nav_item-parent {
  position: relative;
}

.l_header-nav_dropdown {
  display: none;
}

/* メニュー（メガ）: SPは常時展開、トリガーは見出しが役割を担うため非表示 */
.l_header-nav_trigger {
  display: none;
}

.l_header-nav_dropdown-mega {
  display: block;
  margin-bottom: 12px;
}

.l_header-nav_mega-head {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  margin-bottom: 12px;
  color: var(--dark-color);
  font-family: var(--ja-font);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.l_header-nav_mega-head::before,
.l_header-nav_mega-head::after {
  content: "";
  width: 24px;
  height: 1px;
  background-color: color-mix(in srgb, var(--dark-color) 60%, transparent);
}

.l_header-nav_chip-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: min(100%, 320px);
  margin-inline: auto;
}

/* 2列で端数が出たとき（悩みは7つ）、最後の1つを中央に置く */
.l_header-nav_chip-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - 4px);
}

.l_header-nav_chip {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 8px;
  background-color: color-mix(in srgb, var(--white-color) 60%, transparent);
  border: 1px solid color-mix(in srgb, var(--dark-color) 45%, transparent);
  border-radius: 100vmax;
  color: var(--black-color);
  font-family: var(--ja-font);
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.l_header-nav_chip:focus-visible {
  outline: 2px solid var(--dark-color);
  outline-offset: 2px;
}

.l_header-nav_child-link {
  display: block;
  padding: 8px 0;
  color: var(--black-color);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.l_header-nav_child-link:focus-visible {
  outline: 2px solid var(--dark-color);
  outline-offset: 2px;
}

@media (min-width: 1080px) {
  /* PC: メニューのトリガー（リンクなし・開閉表示のみ） */
  .l_header-nav_trigger {
    display: block;
    padding: 0;
    background: none;
    border: none;
    color: inherit;
    font-family: inherit;
    cursor: pointer;
    transition: color 0.3s ease-in;
  }

  .l_header-nav_trigger:focus-visible {
    outline: 2px solid var(--dark-color);
    outline-offset: 2px;
  }

  .l_header-nav_dropdown {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: var(--z-index-menu);
    width: max-content;
    min-width: 200px;
    padding: 24px 32px;
    background-color: var(--white-color);
    border: 1px solid color-mix(in srgb, var(--dark-color) 15%, transparent);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    visibility: hidden;
    opacity: 0;
    translate: 0 8px;
    transition: opacity 0.2s ease, visibility 0.2s ease, translate 0.2s ease;
  }

  /* ナビ項目とパネルの隙間でホバーが切れないよう透明ブリッジ */
  .l_header-nav_dropdown::before {
    content: "";
    position: absolute;
    top: -18px;
    left: 0;
    width: 100%;
    height: 18px;
  }

  .l_header-nav_item-parent:focus-within .l_header-nav_dropdown {
    visibility: visible;
    opacity: 1;
    translate: 0 0;
  }

  .l_header-nav_dropdown-mega {
    display: flex;
    padding: 28px 0 32px;
  }

  .l_header-nav_mega-col {
    padding: 0 36px;
  }

  .l_header-nav_mega-col + .l_header-nav_mega-col {
    border-left: 1px solid color-mix(in srgb, var(--dark-color) 15%, transparent);
  }

  .l_header-nav_mega-head {
    margin-top: 0;
    margin-bottom: 16px;
    white-space: nowrap;
  }

  .l_header-nav_chip-list {
    width: 300px;
  }

  .l_header-nav_child-link {
    padding: 6px 0;
    font-size: 13px;
    white-space: nowrap;
    transition: color 0.2s ease;
  }
}

@media (any-hover: hover) and (min-width: 1080px) {
  .l_header-nav_item-parent:hover .l_header-nav_dropdown {
    visibility: visible;
    opacity: 1;
    translate: 0 0;
  }

  .l_header-nav_child-link:hover {
    color: var(--dark-color);
  }
}

@media (any-hover: hover) {
  .l_header-nav_chip:hover {
    background-color: var(--white-color);
    border-color: var(--dark-color);
  }
}

@media (prefers-reduced-motion: reduce) {
  .l_header-nav_dropdown,
  .l_header-nav_child-link,
  .l_header-nav_chip {
    transition: none;
  }
}
