@charset "UTF-8";
/* Reset
----------------------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  zoom: 1;
  /* hasLayout in IE */
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 100%;
  font-weight: normal;
  font-style: normal;
  vertical-align: baseline;
  background: transparent;
  -webkit-text-size-adjust: 100%;
  word-break: break-all;
}

p {
  color: #444444;
  max-height: 100%;
  line-height: 2;
  letter-spacing: 0.1em;
  text-align: justify;

  @media screen and (max-width: 768px) {
    font-size: 4vw;
  }
}

header, menu, nav, footer,
section, article, aside,
details, summary,
figure, figcaption {
  display: block;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

q, blockquote {
  quotes: none;

  &:before,
  &:after {
    content: "";
    content: none;
  }
}

img {
  max-width: 100%;
  font-size: 0;
  line-height: 0;
  vertical-align: bottom;
  height: auto;

  @media screen and (max-width: 768px) {
    width: 100%;
    min-width: 100%;
  }
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  color: #444444;

  &:focus {
    outline: none;
  }

  img {
    border: none;
  }
}

button,
input[type=submit] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
}

textarea {
  overflow: auto;
}

label {
  cursor: pointer;
}

.clearfix:after {
  display: block;
  visibility: hidden;
  content: ".";
  clear: both;
  height: 0;
  font-size: 0;
  line-height: 0;
}

* html .clearfix {
  zoom: 1;
}

*:first-child + html .clearfix {
  zoom: 1;
}

a {
  text-decoration: none;
  color: #444444;

  &:hover {
    opacity: 0.7;
    cursor: pointer;
    transition: 0.4s ease;
  }
}

a[href^="tel:"] {
  pointer-events: auto;
}

strong {
  font-weight: normal;
}

ul, ol, li {
  list-style-type: none;
}

body {
  font-family: "noto sans jp", sans-serif;
  margin: 0;
  color: #444444;

  @media screen and (max-width: 768px) {
    width: 100%;
  }
}

.wrapper {
  width: 100%;
  max-width: 1440px;
  min-width: 1280px;
  margin: 0 auto;

  @media screen and (max-width: 768px) {
    min-width: initial;
    max-width: initial;
    width: 100%;
  }
}

.no-scroll {
  overflow: hidden;
}

.sp {
  display: none;

  @media screen and (max-width: 768px) {
    display: block;
  }
}

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

.pc02 {
  display: none;

  @media screen and (max-width: 1439px) and (min-width: 769px) {
    display: block;
  }

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

.tab {
  display: none;
}

br.between {
  display: none;
}

.inner {
  width: 100%;
  max-width: 1440px;
  min-width: 1280px;
  padding: 0 80px;
  margin: 0 auto;
  box-sizing: border-box;

  @media screen and (max-width: 768px) {
    min-width: initial;
    max-width: initial;
    width: 100%;
    padding: 0 5vw;
  }
}

.sec_text {
  letter-spacing: 0.1em;
  line-height: 2;
  text-align: justify;
  color: #444444;
}

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

.reverse {
  flex-direction: row-reverse;
}

.gridbox {
  display: grid;
}

.imagebox {
  box-sizing: border-box;
  position: relative;

  @media screen and (max-width: 768px) {
    width: 100%;
    margin-bottom: 3vw;
  }
}

.textbox, .box_text {
  box-sizing: border-box;
  position: relative;
  text-align: justify;
  line-height: 2;
  letter-spacing: 0.1em;
  color: #444444;

  @media screen and (max-width: 768px) {
    width: 100%;
    font-size: 4vw;
    text-align: left;
  }
}

.box_title {
  letter-spacing: 0.1em;
}

.btn_box {
  display: flex;
  justify-content: center;
}

.about_btn {
  width: -moz-fit-content;
  width: fit-content;
  box-sizing: border-box;
  width: 350px;
  height: 87px;
  color: #444444;
  background-color: #F4CED4;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 15px 0;
  font-weight: bold;
  letter-spacing: 0.1em;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.3;

  &:before {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 32px;
    background: url(/kagoshima/images/common/yajirushi.webp) center/contain no-repeat;
  }

  &:after {
    content: "";
    position: absolute;
    bottom: 0;
  }

  @media screen and (max-width: 768px) {
    width: -moz-fit-content;
    width: fit-content;
    box-sizing: border-box;
    width: 80.2vw;
    height: 16vw;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 0.1em;
    font-size: 4.3vw;
    font-weight: bold;
    text-align: center;
    position: relative;

    &:before {
      content: "";
      position: absolute;
      right: 4vw;
      top: 50%;
      transform: translateY(-50%);
      width: 11vw;
      height: 8vw;
    }

    .about_link {
      padding: 0;
    }
  }
}

/* セクション、見出し
----------------------------------------------------------- */
.common_sec {
  width: 1280px;
  min-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;

  .header_wrapper {
    position: relative;
  }

  .sec_header {
    background-color: #F991A2;
    height: 145px;
    max-width: 1280px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 115px;
    position: relative;
    z-index: 1;

    &::before {
      content: "";
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 100%;
      height: 145px;
      border-radius: 0 220px 0 220px;
      background-color: #fff;
      opacity: 20%;
      z-index: -1;
    }

    .sec_title {
      font-size: 30px;
      position: relative;
      z-index: 2;
      text-align: center;
      font-family: serif;
      letter-spacing: 0.1em;
      font-weight: bold;
      line-height: 1.8;
    }
  }

  @media screen and (max-width: 768px) {
    width: 1280px;
    max-width: 100%;
    padding: 0;
    margin: 0 auto;
    box-sizing: border-box;

    .sec_header {
      position: relative;
      padding: 0;
      margin-bottom: 10vw;
      height: 32vw;

      &::before {
        height: 32vw;
        border-radius: 0 50vw 0 50vw;
      }

      .sec_title {
        font-size: 6vw;
        font-weight: 600;
        text-align: center;
        letter-spacing: 0.1em;
        line-height: 1.5;
        z-index: 10;
      }

      .sec_subtitle {
        font-size: 4vw;
        letter-spacing: 0.2em;
      }
    }

    .sec_body {
      padding: 0;
    }
  }
}

.breadcrumb {
  padding: 0;
  color: #444444;
  display: flex;

  .item {
    letter-spacing: 0.1em;
    color: #444444;

    a {
      letter-spacing: 0.1em;
      color: #444444;
    }
  }

  .item:not(:first-of-type) {
    position: relative;
    padding-left: 3em;

    &:before {
      content: "＞";
      position: absolute;
      left: 1em;
      top: 0;
    }
  }

  @media screen and (max-width: 768px) {
    display: flex;
    width: 1280px;
    max-width: 100%;
    padding: 5.5vw 0 8vw 2.7vw;
    margin: 0 auto;
    box-sizing: border-box;

    .item {
      font-size: 3.4vw;

      a {
        font-size: 3.4vw;
      }
    }

    .item:not(:first-of-type) {
      position: relative;
      padding-left: 2em;

      &:before {
        content: "＞";
        position: absolute;
        left: 0.7em;
        top: 0;
      }
    }
  }
}

.lead_sec {
  box-sizing: border-box;
  width: 1280px;
  min-width: 100%;
  padding: 30px 20px;
  margin: 70px auto 100px;

  .sec_title {
    position: relative;
    z-index: 5;
    margin: 60px 50px;
    font-size: 30px;
    font-family: serif;
    font-weight: bold;
    letter-spacing: 0.1em;
    line-height: 2;
    text-align: center;
  }

  .sec_text {
    position: relative;
    z-index: 5;
    width: 1000px;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    font-size: 16px;
    text-align: justify;
    font-family: "noto sans jp", sans-serif;
  }

  @media screen and (max-width: 768px) {
    padding: 5.5vw 5vw;
    margin-bottom: 13.8vw;
    margin-top: 0;
    width: initial;

    .sec_title {
      font-size: 6vw;
      margin: 5.5vw 0 16vw 0;
      margin-bottom: 5.7vw;
    }

    .sec_text {
      font-size: 4vw;
      margin: 0 auto;
    }
  }
}

/* トップに戻るボタン
----------------------------------------------------------- */
.to_top {
  &:hover {
    opacity: 0.7;
  }

  img {
    position: absolute;
    right: 0;
    left: 875px;
    bottom: 0;
    top: -290px;
    margin: auto;
  }

  @media screen and (max-width: 768px) {
    right: 10px;
    bottom: 130px;
    text-align: center;
    margin: 20px;

    img {
      position: unset;
    }
  }
}

html {
  scroll-behavior: smooth;
}

#pagetop {
  /* レイアウト */
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  /* 見た目 */
  width: 60px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  transition: 0.3s;
  /* デフォルトは非表示 */
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;

  @media screen and (max-width: 768px) {
    right: 15px;
    bottom: 20vw;
  }
}

/* 矢印 */
.pagetop-arrow {
  width: 56px;
  height: 56px;
  /*
  height: 10px;
  width: 10px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: translateY(20%) rotate(-45deg); */
}

/* スクロールされたときに適用されるCSS */
#pagetop.visible {
  opacity: 1;
  visibility: visible;
}

/* ヘッダー・フッター・スマホ固定ボタン
----------------------------------------------------------- */
.header {
  position: absolute;
  z-index: 1000;
  width: 100%;
  min-width: 1440px;
  max-width: 1440px;
  height: 135px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  @media screen and (min-width: 1441px) {
    min-width: initial;
    max-width: initial;
  }

  .header_left {
    padding: 10px 0 0 10px;

    .title {
      display: flex;
      align-items: center;
    }

    .title .top_box {
      .flexbox {
        justify-content: flex-start;
      }

      .company_name {
        font-size: 13px;
        color: #fff;
        padding-left: 10px;
        letter-spacing: 0.1em;
        font-weight: bold;
        font-family: serif;
        text-shadow: 0 0px 14px rgb(0, 0, 0);

        .big {
          font-size: 26px;
          font-weight: bold;
        }
      }
    }
  }

  .header_right {
    position: relative;
    z-index: 5;
    display: flex;
    padding-right: 15px;
    column-gap: 30px;
    padding-top: 10px;
  }
  .tel_box{
    filter:drop-shadow(0px 0px 11px rgba(0, 0, 0, 0.6));
    .tel_top{
      color: #fff;
      font-size: 18px;
      font-weight: bold;
      font-family: serif;
    }
    .tel_bottom{
      line-height: 1.3;
      color: #fff;
      font-weight: bold;
      font-size: 37px;
      font-family: serif;
      padding-left: 40px;
      position: relative;
      &::before{
        content: "";
        position: absolute;
        width: 32px;
        height: 32px;
        left: 0;
        bottom: 50%;
        transform: translateY(50%);
        background: url(/kagoshima/images/common/tel_icon.webp) center / contain no-repeat;
      }
    }
  }
  .web_box{
    .first{
      margin-bottom: 10px;
    }
  }



  @media screen and (max-width: 768px) {
    display: none;
    width: 100%;
    min-width: initial;
    padding: 0;
    height: 80px;
    box-sizing: border-box;

    .flexbox {
      display: block;
    }

    .header_left {
      padding: 10px 0 0 10px;

      .title_box {
        display: flex;
        align-items: center;

        .top_box .page_title {
          font-size: 3.5vw;
          letter-spacing: 0.05em;
          color: #fff;
        }

        .top_box .company_name {
          width: 57.25vw;

          img {
            width: 100%;
          }
        }
      }
    }

    .header_right {
      display: none;
    }
  }
}

/* =========================
1441px以上
ボタンの下に表示
========================= */
@media screen and (min-width: 1441px) {
  .copy_header .web_panel {
    position: fixed;
    top: 95px;
    left: 50%; /* ← autoを明示的に上書き */
    right: auto; /* ← header側のright:30pxを打ち消す */
    transform: translate(-50%, -15px); /* ← translateYではなくtranslate */
  }

  .copy_header.is-open .web_panel {
    transform: translate(-50%, 0); /* ← Xを含めて揃える */
  }
}

@media screen and (max-width: 768px) {
  .sp_header {
    z-index: 1000;
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 18.7vw;

    .logo_box .sp_logobox {
      display: flex;
      align-items: center;
      -moz-column-gap: 0;
      column-gap: 0;
    }

    .logo_box .logo_img {
      width: 15vw;
      min-width: initial;
      padding-left: 2vw;
      padding-top: 2vw;
    }

    .logo_box .logo_text {
      line-height: 1.3;
      font-size: 3vw;
      padding-top: 2vw;
      padding-left: 2vw;
      font-family: serif;
      font-weight: bold;
      color: #fff;
      font-weight: bold;
      letter-spacing: 0.1em;
      text-shadow: 0 0px 14px rgb(0, 0, 0);

      h1 {
        text-shadow: 0 0px 14px rgb(0, 0, 0);
        font-family: serif;
        font-weight: bold;
        font-size: 5.6vw;
      }

      .big {
        letter-spacing: 0.1em;
        font-size: 5vw;
        font-weight: bold;
      }
    }
  }
}

.ham {
  display: none;
  position: absolute;
  z-index: 1001;
  top: 10px;
  right: 10px;
  width: 90px;
  height: 80px;
  background: #999696;
  transition: all 0.4s;

  a {
    display: none;
    width: 100%;
    height: 100%;
    background: #999696;
    font-size: 13px;
    text-align: center;

    &:hover {
      opacity: 1;
    }
  }

  .menu_text {
    position: absolute;
    top: 9.5vw;
    width: 100%;
    color: #fff;
    font-size: 3vw;
    text-align: center;

    &::before {
      content: "MENU";
    }
  }

  a.active .menu_text::before {
    content: "CLOSE";
  }

  .menu_border {
    position: absolute;
    left: 0;
    right: 0;
    width: 50%;
    height: 1px;
    margin: 0 auto;
    background: #fff;
    transition: 0.4s;

    &:nth-of-type(1) {
      top: 25px;
    }

    &:nth-of-type(2) {
      top: 40px;
    }

    &:nth-of-type(3) {
      top: 55px;
    }
  }

  a.active span {
    &:nth-of-type(1) {
      top: 40px;
      transform: rotate(45deg);
    }

    &:nth-of-type(2) {
      display: none;
    }

    &:nth-of-type(3) {
      top: 40px;
      transform: rotate(-45deg);
    }
  }

  @media screen and (max-width: 768px) {
    display: block;
    position: fixed;
    z-index: 1001;
    top: 3vw;
    right: 3vw;
    width: 15.7vw;
    height: 15.7vw;
    transition: all 0.4s;

    a {
      display: block;
      width: 100%;
      height: 100%;
      font-size: 13px;
      text-align: center;
    }

    span {
      position: absolute;
      left: 0;
      right: 0;
      width: 9.4vw;
      height: 1px;
      margin: 0 auto;
      background: #fff;
      transition: 0.5s;

      &:nth-of-type(1) {
        top: 3.5vw;
      }

      &:nth-of-type(2) {
        top: 6.5vw;
      }

      &:nth-of-type(3) {
        top: 9.5vw;
      }
    }

    .menu_text {
      position: absolute;
      top: 9.5vw;
      width: 100%;
      color: #fff;
      font-size: 3vw;
      text-align: center;
    }

    .menu_border {
      position: absolute;
      left: 0;
      right: 0;
      width: 50%;
      height: 1px;
      margin: 0 auto;
      background: #fff;
      transition: 0.4s;

      &:nth-of-type(1) {
        top: 25px;
      }

      &:nth-of-type(2) {
        top: 40px;
      }

      &:nth-of-type(3) {
        top: 55px;
      }
    }

    a.active span {
      &:nth-of-type(1) {
        top: 6.5vw;
        transform: rotate(45deg);
      }

      &:nth-of-type(2) {
        display: none;
      }

      &:nth-of-type(3) {
        top: 6.5vw;
        transform: rotate(-45deg);
      }
    }
  }
}

.copy_header {
  position: fixed;
  left: 0;
  top: -100px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100px;
  transition: 0.4s;
  background-color: #fff;

  &.show {
    top: 0;
  }

  .copy_nav {
    position: absolute;
    z-index: 2;
    left: 0;
    width: 100%;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    .header_left {
      padding: 10px 0 0 20px;
      .list{
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
      .item a{
        position: relative;
        display: inline-block; 
        padding-bottom: 10px; 
        font-weight: bold;
        font-size: 15px;
        letter-spacing: 0.2em;
        font-family: serif;
      }
      .item a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%; 
        height: 2px;
        background: rgba(255, 116, 139, 1);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s ease;
      }
      .item a:hover::after {
        transform: scaleX(1);
      }
      .item:not(:last-of-type) {
        padding: 0 clamp(16px, calc(2.5vw - 16px), 20px) 0 0;
      }
    }

    .header_right {
      position: relative;
      z-index: 5;
      display: flex;
      column-gap:5px;
    }
    .web_box{
      column-gap: clamp(12px, calc(1.875vw - 12px), 15px);
      padding-right: clamp(20px, calc(3.125vw - 20px), 25px);
      display: flex;
      align-items: flex-end;
    }
    .tel_top{
      font-size: 15px;
      font-family: serif;
      font-weight: bold;
    }
    .tel_bottom{
      font-weight: bold;
      font-size: clamp(20px, calc(3.125vw - 20px), 25px);
      padding-left: clamp(20px, calc(3.125vw - 20px), 25px);
      position: relative;
      font-family: serif;
      line-height: 1.3;
      &::before{
        content: "";
        position: absolute;
        width: 18px;
        height: 18px;
        left: 0;
        bottom: 50%;
        transform: translateY(50%);
        background: url(/kagoshima/images/common/c_tel.webp) center / contain no-repeat;
      }
    }
  }



  @media screen and (max-width: 768px) {
    display: none;
    width: 100%;
    min-width: initial;
    padding: 0;
    height: 80px;
    box-sizing: border-box;

    .flexbox {
      display: block;
    }

    .header_left {
      padding: 10px 0 0 10px;

      .title_box {
        display: flex;
        align-items: center;

        .top_box .page_title {
          font-size: 3.5vw;
          letter-spacing: 0.05em;
          color: #fff;
        }

        .top_box .company_name {
          width: 57.25vw;

          img {
            width: 100%;
          }
        }
      }
    }

    .header_right {
      display: none;
    }
  }

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

  @media screen and (max-width: 768px) and (min-width: 1400px) {
    .item:not(:last-of-type) {
      padding: 0 5vw 0 0;
      border-right: 1px solid #fff;
    }
  }
}

/* mega */
/* ===== 診療案内 メガメニュー（PCのみ・追加用） ===== */
.medical_megamenu {
  --mm-pink: #FF748B;
  --mm-teal: #4DCDB3;
  --mm-blue: #4DBACD;
  --mm-text: #4a4a4a;

  position: fixed;
  top: 100px;                 /* copy_header の高さ分 */
  left: 50%;
  width: 1100px;
  transform: translateX(-50%) translateY(12px);
  box-sizing: border-box;
  padding: 38px 50px 42px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
  z-index: 99;                /* copy_header(100) の下に潜らせる */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}
.medical_megamenu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* セクション */
.medical_megamenu .mm_section { margin-bottom: 26px; }
.medical_megamenu .mm_section:last-of-type { margin-bottom: 30px; }

/* 見出し */
.medical_megamenu .mm_heading {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-family: serif;
  font-weight: bold;
  letter-spacing: 0.08em;
  color: var(--mm-text);
  margin-bottom: 16px;
}
.medical_megamenu .mm_heading::before {
  content: "";
  width: 4px;
  height: 18px;
  margin-right: 10px;
  border-radius: 2px;
  background: var(--mm-teal);
}
.medical_megamenu .mm_heading.is-pink::before { background: var(--mm-pink); }

/* リスト（4カラムで列を揃える） */
.medical_megamenu .mm_list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 16px;
  column-gap: 20px;
}
.medical_megamenu .mm_list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-left: 16px;
  font-size: 15px;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--mm-text);
  transition: color 0.2s ease, opacity 0.2s ease;
}
/* 三角アイコン */
.medical_megamenu .mm_list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4.5px 0 4.5px 7px;
  border-color: transparent transparent transparent var(--mm-blue);
}
.medical_megamenu .mm_list.is-pink a::before {
  border-color: transparent transparent transparent var(--mm-pink);
}
.medical_megamenu .mm_list a:hover { color: var(--mm-pink); opacity: 0.85; }

/* ボタン */
.medical_megamenu .mm_buttons { display: flex; gap: 20px; }
.medical_megamenu .mm_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  padding: 13px 5px 13px 20px;
  box-sizing: border-box;
  border: 1px solid #FF748B;
  border-radius: 8px;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 0.06em;
  color: var(--mm-text);
  background: #F6F6F6;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.medical_megamenu .mm_btn::after {
  content: "";
  width: 0;
  height: 0;
  padding-left: 10px;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  margin-left: 20px;
  border-color: transparent transparent transparent var(--mm-pink);
}
/* ===== セクション別アクセントカラー（追加用） ===== */

/* 一般歯科診療〜訪問歯科：#4DCDB3 */
.medical_megamenu .mm_section:nth-of-type(2) .mm_heading::before {
  background: #4DCDB3;
}
.medical_megamenu .mm_section:nth-of-type(2) .mm_list a::before {
  border-color: transparent transparent transparent #4DCDB3;
}

/* 専門歯科診療〜インプラント：#4DBACD */
.medical_megamenu .mm_section:nth-of-type(3) .mm_heading::before {
  background: #4DBACD;
}
.medical_megamenu .mm_section:nth-of-type(3) .mm_list a::before {
  border-color: transparent transparent transparent #4DBACD;
}

/* SPでは非表示 */
@media screen and (max-width: 768px) {
  .medical_megamenu { display: none !important; }
}

/* ===== 1921px以上：メガメニューを「診療案内」の下で固定（ずれ防止） ===== */
@media screen and (min-width: 1921px) {
  .medical_megamenu {
    /* 中央寄せをやめ、1920px時点の左端位置で固定 */
    left: 410px;                 /* (1920 - 1100) / 2 */
    transform: translateY(12px); /* 横方向のセンタリングを外す */
  }
  .medical_megamenu.is-open {
    transform: translateY(0);
  }
}

.copy_ham {
  position: fixed;
  z-index: 1001;
  top: -93px;
  right: 10px;
  width: 90px;
  height: 80px;
  transition: all 0.4s;

  &.show {
    top: 10px;
  }

  a {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 13px;
    text-align: center;

    &:hover {
      opacity: 1;
    }
  }

  .menu_text {
    position: absolute;
    top: 10px;
    width: 100%;
    color: #fff;
    text-align: center;
  }

  .menu_border {
    position: absolute;
    left: 0;
    right: 0;
    width: 50%;
    height: 1px;
    margin: 0 auto;
    background: #fff;
    transition: 0.4s;

    &:nth-of-type(1) {
      top: 25px;
    }

    &:nth-of-type(2) {
      top: 40px;
    }

    &:nth-of-type(3) {
      top: 55px;
    }
  }

  a.active span {
    &:nth-of-type(1) {
      top: 40px;
      transform: rotate(45deg);
    }

    &:nth-of-type(2) {
      display: none;
    }

    &:nth-of-type(3) {
      top: 40px;
      transform: rotate(-45deg);
    }
  }

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

.ham_sitemap {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  overflow: scroll;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s;

  &.active {
    opacity: 1;
    visibility: visible;
  }

  .top_grid {
    padding: 30vw 3vw 0;

    .gridbox {
      grid-template-columns: repeat(2, 1fr);
      -moz-column-gap: 3vw;
      column-gap: 3vw;
      row-gap: 5vw;

      .g_header {
        display: flex;
        -moz-column-gap: 1vw;
        column-gap: 1vw;
        align-items: center;
      }

      .g_title {
        font-size: 3.3vw;
        line-height: 1.3;
        font-feature-settings: "palt";
      }

      .imagebox {
        width: 17%;
        margin-bottom: 0;
      }

      .g_btn {
        display: inline-block;
        background: #FF748B;
        color: #fff;
        padding: 2vw 0;
        border-radius: 6px;
        font-size: 3.5vw;
        font-weight: bold;
        text-decoration: none;
        width: 100%;
        margin: 3vw auto;
        position: relative;
        text-align: center;
        text-shadow: 0 0px 14px rgba(0, 0, 0, 0.25);

        &::before {
          position: absolute;
          content: "";
          right: 1.6vw;
          bottom: 1.6vw;
          border-left: 2vw solid transparent;
          border-top: 2vw solid transparent;
          border-bottom: 2vw solid #fff;
        }
      }

      .green {
        background: #27A7AF;
      }

      .yellow {
        background: #ECD300;
      }

      .blue {
        background: #3881B6;
      }
    }
  }

  .sitemap_inner {
    width: 1280px;
    max-width: 100%;
    padding: 160px 20px 80px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .link_text {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 30px;
    letter-spacing: 0.1em;
    color: #fff;
    font-size: 17px;

    &:before {
      content: "";
      position: absolute;
      left: 0;
      top: 3px;
      width: 10px;
      height: 20px;
      background: url(/kagoshima/images/common/ham_arrow.webp) center/contain no-repeat;
    }

    a {
      letter-spacing: 0.1em;
      color: #fff;
      font-size: 17px;
    }
  }

  .link_text2 {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 30px;
    letter-spacing: 0.1em;
    color: #fff;
    font-size: 17px;
  }

  .sitemap01 {
    margin-bottom: 30px;

    .list {
      display: flex;
    }

    .item {
      position: relative;
      width: 25%;
      padding-left: 1.5em;
      margin-bottom: 20px;
      box-sizing: border-box;

      &:before {
        content: "";
        position: absolute;
        left: 0;
        top: 3px;
        width: 10px;
        height: 20px;
        background: url(/kagoshima/images/common/ham_arrow.webp) center/contain no-repeat;
      }

      a {
        letter-spacing: 0.1em;
        color: #fff;
        font-size: clamp(16px, 1.328vw, 17px);
      }
    }
  }

  .sitemap02 {
    margin-bottom: 30px;

    .list {
      display: flex;
      flex-wrap: wrap;
    }

    .item {
      position: relative;
      width: 25%;
      margin-bottom: 30px;
      box-sizing: border-box;

      a {
        display: flex;
        align-items: center;
        letter-spacing: 0.1em;
        color: #fff;
        font-size: clamp(16px, 1.328vw, 17px);
      }

      p {
        display: flex;
        align-items: center;
        letter-spacing: 0.1em;
        color: #fff;
        font-size: clamp(16px, 1.328vw, 17px);
      }

      img {
        width: clamp(45px, 5.891vw, 75.4133px);
        height: clamp(45px, 5.891vw, 75.4133px);
        padding-right: 10px;
      }
    }
  }

  @media screen and (max-width: 768px) {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: scroll;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s;

    &.active {
      opacity: 1;
      visibility: visible;
    }

    .sitemap_inner {
      width: 1280px;
      max-width: 100%;
      padding: 4.6vw 5vw 10.3vw;
      margin: 0 auto;
      box-sizing: border-box;
    }
    .link_list{
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .link_text {
      position: relative;
      padding-left: 0;
      margin-bottom: 0;
      display: block;
      width: 100%;
      height: 100%;
      letter-spacing: 0.1em;
      padding: 4vw 0 4vw 4vw;
      box-sizing: border-box;
      font-size: 4vw;

      &:before {
        display: none;
      }

      a {
        display: block;
        width: 100%;
        height: 100%;
        letter-spacing: 0.1em;
        padding: 4vw 0 4vw 4vw;
        box-sizing: border-box;
        color: #fff;
        font-size: 4vw;
      }
    }

    .link_text2 {
      position: relative;
      padding-left: 0;
      margin-bottom: 0;
      display: block;
      width: 100%;
      height: 100%;
      letter-spacing: 0.1em;
      padding: 4vw 0 4vw 4vw;
      box-sizing: border-box;
      color: #fff;
      font-size: 4.4vw;
      text-align: center;

      &:before {
        display: none;
      }
    }

    .text {
      padding: 4vw 0 4vw 4vw;
      margin-bottom: 0;
      font-size: 4.4vw;
      color: #fff;
    }

    .company_name {
      text-align: center;
      margin-bottom: 13.8vw;
    }

    .sp_logobox{
      display: flex;
      align-items: center;
      column-gap: 2vw;
      margin-bottom: 10vw;
      .logo_img{
        width: 14%;
      }
      .logo_text{
        font-size: 5vw;
        font-family: serif;
        font-weight: bold;
        letter-spacing: 0.1em;
      }
    }

    .sitemap01 {
      margin-bottom: 0;

      .list {
        display: block;
      }

      .item {
        position: relative;
        width: 100%;
        height: 15vw;
        padding-left: 0;
        margin-bottom: 0;
        box-sizing: border-box;

        &:before {
          display: none;
        }

        a {
          display: block;
          width: 100%;
          height: 100%;
          letter-spacing: 0.1em;
          padding: 5vw 0 5vw 5vw;
          box-sizing: border-box;
          font-size: 4vw;
          color: #444;
          position: relative;
          display: flex;
          align-items: center;

          &::before {
            position: absolute;
            content: "";
            font-size: 4vw;
            left: 0;
            bottom: 50%;
            transform: translateY(50%);
            border-left: 3vw solid #FF748B;
            border-top: 2vw solid transparent;
            border-bottom: 2vw solid transparent;
          }
        }
      }

      .item_border {
        border-top: 1px solid #444444;
      }

      .menu-child_ul_sp {
        height: 0;
        overflow: hidden;
        margin: 0;

        .menu-parent_sp {
          display: inline-block;
        }
      }
    }

    .gray_bg{
      background-color: #999696;
      padding: 8vw 5.8vw 9.6vw;
    }
    .gray_title{
      font-size: 5.5vw;
      font-weight: bold;
      font-family: serif;
      text-align: center;
      margin-bottom: 8vw;
      color: #fff;
      a{
        color: #fff;
        font-weight: bold;
      }
    }

    .sitemap02 {
      margin-bottom: 10vw;

      .list_title{
        color: #fff;
        font-family: serif;
        font-size: 4.8vw;
        font-weight: bold;
        border-left: 6px solid #FF748B;
        height: 10vw;
        padding-left: 3vw;
        margin-bottom: 3vw;
      }
      .list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .item {
        position: relative;
        width: 100%;
        padding-left: 0;
        margin-bottom: 0;
        box-sizing: border-box;

        &:before {
          display: none;
        }

        a {
          display: block;
          width: 100%;
          height: 100%;
          letter-spacing: 0.1em;
          padding: 2vw 0 2vw 4vw;
          box-sizing: border-box;
          font-size: 4vw;
          color: #fff;
          position: relative;

          &::before {
            position: absolute;
            content: "";
            font-size: 4vw;
            left: 0;
            bottom: 50%;
            transform: translateY(50%);
            border-left: 3vw solid #FF748B;
            border-top: 2vw solid transparent;
            border-bottom: 2vw solid transparent;
          }
        }
      }

      .menu-child_ul_sp {
        height: 0;
        overflow: hidden;
        margin: 0;

        .menu-parent_sp {
          display: inline-block;
        }
      }
    }
    .sitemap03 {
      margin-bottom: 10vw;

      .list_title{
        color: #fff;
        font-family: serif;
        font-size: 4.8vw;
        font-weight: bold;
        border-left: 6px solid #4DCDB3;
        height: 10vw;
        padding-left: 3vw;
        margin-bottom: 3vw;
      }
      .list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .item {
        position: relative;
        width: 100%;
        padding-left: 0;
        margin-bottom: 0;
        box-sizing: border-box;

        &:before {
          display: none;
        }

        a {
          width: 100%;
          height: 100%;
          letter-spacing: 0.1em;
          padding: 2vw 0 2vw 4vw;
          box-sizing: border-box;
          font-size: 4vw;
          color: #fff;
          position: relative;
          display: flex;
          align-items: center;

          &::before {
            position: absolute;
            content: "";
            font-size: 4vw;
            left: 0;
            bottom: 50%;
            transform: translateY(50%);
            border-left: 3vw solid #4DCDB3;
            border-top: 2vw solid transparent;
            border-bottom: 2vw solid transparent;
          }
        }
      }

      .menu-child_ul_sp {
        height: 0;
        overflow: hidden;
        margin: 0;

        .menu-parent_sp {
          display: inline-block;
        }
      }
    }

    .sitemap04 {
      margin-bottom: 10vw;

      .list_title{
        color: #fff;
        font-family: serif;
        font-size: 4.8vw;
        font-weight: bold;
        border-left: 6px solid #4DBACD;
        height: 10vw;
        padding-left: 3vw;
        margin-bottom: 3vw;
      }
      .list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .item {
        position: relative;
        width: 100%;
        padding-left: 0;
        margin-bottom: 0;
        box-sizing: border-box;

        &:before {
          display: none;
        }

        a {
          width: 100%;
          height: 100%;
          letter-spacing: 0.1em;
          padding: 2vw 0 2vw 4vw;
          box-sizing: border-box;
          font-size: 4vw;
          color: #fff;
          position: relative;
          display: flex;
          align-items: center;

          &::before {
            position: absolute;
            content: "";
            font-size: 4vw;
            left: 0;
            bottom: 50%;
            transform: translateY(50%);
            border-left: 3vw solid #4DBACD;
            border-top: 2vw solid transparent;
            border-bottom: 2vw solid transparent;
          }
        }
      }

      .menu-child_ul_sp {
        height: 0;
        overflow: hidden;
        margin: 0;

        .menu-parent_sp {
          display: inline-block;
        }
      }
    }

    .sitemap_btn{
      display: flex;
      column-gap: 3vw;
      justify-content: center;
      align-items: center;
      .site_btn{
        width: 39.7vw;
        background-color: #fff;
        border: 1px solid #FF748B;
        border-radius: 5px;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 10.4vw;
        font-size: 4vw;
        position: relative;
        &::after{
          content: "";
          position: absolute;
          right: 1vw;
          bottom: 50%;
          transform: translateY(50%);
          border-left: 2vw solid #FF748B;
          border-top: 1.5vw solid transparent;
          border-bottom: 1.5vw solid transparent;
        }
      }
    }

    .btn_box{
      padding: 10vw 0;
      display: flex;
      justify-content: center;
      align-items: center;
      column-gap: 3vw;
      .btn{
        width: 42.6vw;
      }
    }

    .timetable{
      width: 93.3vw;
      margin: 0 auto 11vw;
    }

    .banner_box{
      margin-bottom: 13vw;
      .banner{
        width: 93.3vw;
        margin: 0 auto 5.6vw;
      }
    }

    .group_box{
      .group_title{
        font-size: 5.4vw;
        font-weight: bold;
        font-family: serif;
        text-align: center;
        margin-bottom: 5vw;
      }
      .gridbox{
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3vw;
        margin: 0 auto;
        max-width: 92vw;
        .box{
          width: 44.2vw;
          max-width: 44.2vw;
        }
      }
    }

    .ham_bottom{
      font-size: 3.5vw;
      text-align: center;
      padding: 5vw 0;
    }

  }
}

/* 隣接セレクタ（.ham_sitemap の子孫ではなく兄弟参照のため、ネストせず元のセレクタを維持） */
@media screen and (max-width: 768px) {
  .menu-parent_sp + .ham_sitemap .sitemap01 .menu-child_ul_sp {
    height: auto;
  }

  .menu-parent_sp + .ham_sitemap .sitemap02 .menu-child_ul_sp {
    height: auto;
  }
}

@media screen and (max-width: 768px) {
  .sp_fixed {
    position: fixed;
    z-index: 100;
    left: 0;
    bottom: 0px;
    width: 100%;
    height: 17.5vw;
    display: flex;
    box-sizing: border-box;

    .fix_tel{
      width: 39.4%;
    }
    .fix_first {
      width: 30.5%;
      margin: 0;
    }

    .fix_second {
      width: 30.5%;

      img {
        width: 100%;
      }
    }
  }
}

/* 共通追加 */
.pink_box {
  max-width: 1118px;
  border-radius: 20px;
  border: 2px solid #FF748B;
  margin: 0 auto;
}

.checkbox {
  max-width: 1000px;
  margin: 0 auto;
  background-color: #F5F5F5;
  border-radius: 30px;

  .check {
    text-align: center;
    margin-bottom: 10px;
    padding-top: 36px;
  }

  .check_title {
    font-size: 30px;
    font-family: serif;
    font-weight: bold;
    text-align: center;
    letter-spacing: 0.1em;
    margin-bottom: 45px;
  }

  .gridbox {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 77px;
    row-gap: 23px;
    padding: 0 86px;
    margin-bottom: 20px;
  }

  .gridbox .check_item {
    display: flex;
    align-items: center;
    column-gap: 17px;

    .check_text {
      font-size: 18px;
      letter-spacing: 0.04em;
    }
  }

  .check_bottom {
    font-family: serif;
    font-size: 21px;
    font-weight: bold;
    letter-spacing: 0.1em;
    text-align: center;
    padding-bottom: 33px;
  }

  @media screen and (max-width: 768px) {
    .check {
      padding-top: 5vw;
      width: 40%;
      margin: 0 auto 2vw;
    }

    .check_icon {
      width: 6vw;
    }

    img {
      min-width: initial;
    }

    .check_title {
      font-size: 5vw;
      margin-bottom: 5vw;
    }

    .gridbox {
      grid-template-columns: repeat(1, minmax(0, 1fr));
      column-gap: 0;
      row-gap: 3vw;
      padding: 0 5vw;
      margin-bottom: 5vw;
    }

    .gridbox .check_item {
      column-gap: 2vw;

      .check_text {
        font-size: 4vw;
        line-height: 1.5;
      }
    }

    .check_bottom {
      font-size: 4vw;
      padding: 3vw 5vw 8vw;
    }
  }
}

.faq_sec {
  margin-bottom: 205px;

  .faq {
    padding-bottom: 50px;
    background-image: linear-gradient(to right, #444 4px, transparent 1px);
    background-size: 14px 1px;  
    background-repeat: repeat-x;
    background-position: bottom;
    max-width: 1005px;
    margin: 0 auto 50px;
  }

  .faq .qbox,
  .faq .abox {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 90%;
    margin: 0 auto;
    column-gap: 60px;

    .q_left, .a_left {
      font-size: 28px;
      font-weight: bold;
      line-height: 1;
      font-family: serif;
      text-wrap: nowrap;
    }

    .a_left {
      color: #FF748B;
    }

    .q_text, .a_text {
      font-size: 16px;
    }

    .q_text {
      font-size: 26px;
      font-family: serif;
      font-weight: bold;
    }
  }

  .faq .qbox {
    margin-bottom: 40px;
  }

  .faq .abox {
    align-items: flex-start;
  }

  .faq:last-of-type {
    border-bottom: none;
  }

  @media screen and (max-width: 768px) {
    margin-bottom: 13.8vw;

    .faq {
      padding-bottom: 10vw;
      margin-bottom: 10vw;
    }

    .faq .qbox,
    .faq .abox {
      align-items: flex-start;
      width: 100%;
      column-gap: 3vw;

      .q_left, .a_left {
        font-size: 6vw;
        line-height: 1.5;
      }

      .q_text, .a_text {
        font-size: 4vw;
      }

      .q_text {
        font-size: 5vw;
        line-height: 1.5;
      }
    }

    .faq .qbox {
      margin-bottom: 5vw;
    }
  }
}

.price_box {
  width: 680px;
  max-width: 100%;
  margin: 0 auto;
  margin-bottom: 10px;
  box-sizing: border-box;

  .price_dbox {
    width: 100%;
    margin-bottom: 10px;
    box-sizing: border-box;
  }

  .price_dbox:last-of-type {
    margin-bottom: 60px;
  }

  .price_dline {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    background-color: rgba(252, 202, 200, 1);
  }

  .price_term {
    box-sizing: border-box;
    width: 50%;
    padding: 30px 10px;
    font-size: 18px;
    letter-spacing: .1em;
    text-align: center;
    background-color: rgba(252, 202, 200, 1);
    border: 0.5px solid rgba(252, 202, 200, 1);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .price_data {
    box-sizing: border-box;
    width: 50%;
    padding: 30px 20px;
    font-size: 18px;
    letter-spacing: .2em;
    background-color: #fff;
    text-align: center;
    border: 0.5px solid rgba(252, 202, 200, 1);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .cautionarynote {
    font-size: 16px;
    letter-spacing: .1em;
    text-align: right;
    margin-bottom: 20px;
  }

  @media screen and (max-width: 768px) {
    .price_dbox {
      margin-bottom: 8vw;
    }

    .price_dline {
      display: block;
      width: 90%;
      margin: 0 auto;
    }

    .price_dline:nth-of-type(1) {
      margin-bottom: 6.6vw;
    }

    .price_term {
      width: 100%;
      padding: 4vw 4vw 2vw;
      font-size: 4.2vw;
    }

    .price_data {
      width: 100%;
      padding: 4.2vw;
      font-size: 4vw;
    }

    .cautionarynote {
      font-size: 3.7vw;
      margin-bottom: 4.2vw;
    }
  }
}


@media screen and (max-width: 768px) {
  /* ハンバーガーメニュー以外のホバー演出を停止 */
  a:hover,
  .to_top:hover {
    opacity: 1;
  }
}


/* パンくずインナー */
.inner02{
  max-width: initial;
}