@font-face {
    font-family: 'KozukaGothicPr6N';
    src: url('https://pro-clinic.jp/mens/sp_img/KozukaGothicPr6N-R.otf') format('opentype');
}



.latest-cases-latest-article img/* styles.css */
body {
  /*  font-family: Arial, sans-serif;*/
    background-color: #f8f8f8;
    margin: 0;
    padding: 0;
}

.header {
    background-color: #fff;
    border-bottom: 1px solid #eaeaea;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}
#header #global_menu{
    display: block !important;
}

.logo {
  /*  width: 150px;*/
      width: 90%;
}

.contact-info {
    display: flex;
    align-items: center;
}

.phone-number {
    margin-right: 20px;
    font-size: 16px;
    color: #444;
    text-decoration: none;
}

.menu-button {
    font-size: 24px;
    background: none;
    border: none;
}

.main-banner {
    position: relative;
    text-align: center;
}

.main-banner img {
    width: 100%;
    height: auto;
}

.main-banner h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 24px;
}


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

/*
.cta-buttons {
background-color: #fff;
padding: 20px;
    display: flex;
    max-width: 100%;
}
.cta-button img {
  width: 100px;
  height: auto;
}

*/
.cta-buttons {

  position: relative;
z-index: 10;
    display: flex; /* 子要素を横並びに */
    flex-wrap: wrap; /* 必要に応じて折り返し */
    justify-content: space-around; /* 均等に配置 */
    gap: 10px; /* 子要素間のスペース */
    padding: 10px;
    max-width: 100%; /* 親要素が画面幅を超えないように設定 */
    box-sizing: border-box; /* パディング込みで幅を計算 */
}

.cta-button {
    flex: 0 0 calc(25% - 10px); /* 4つを均等に配置 (100% / 4 - gap) */
    max-width: calc(25% - 10px); /* 4つを均等に配置 */
    text-align: center;
}

.cta-button img {
    width: 100%; /* 画像が親要素の幅に収まるように */
    height: auto; /* アスペクト比を保持 */
}




.reason-buttons {
    background-color: #fff;
    padding: 20px;
}

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

.reason-button {
    background-color: #fff;
    color: #c6a766;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    border: 2px solid #c6a766;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.reason-button img {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.reason-button:hover {
    background-color: #c6a766;
    color: #fff;
}

.before-after {
    padding: 20px;
    text-align: center;
}

.before-after-images {
    position: relative;
    margin: 20px 0;
}

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

.slider-controls {
    margin-top: 10px;
}

.before-button, .after-button {
    background-color: #444;
    color: #fff;
    border: none;
    padding: 10px;
    margin: 0 5px;
    border-radius: 5px;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.step img {
    width: 100%;
    height: auto;
    margin-right: 15px;
}

.step-description h3 {
    font-size: 18px;
    color: #c6a766;
    margin: 0 0 10px 0;
}

.step-description p {
    font-size: 14px;
    color: #444;
    margin: 0;
}

.footer {
    background-color: #333;
    color: #fff;
padding-bottom: 20px;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: space-around;
  /*  padding: 20px 0;*/
  /*  background-color: #000;*/
}

.footer-nav a {
    text-align: center;
    color: #c6a766;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-nav a img {
    width: 100%;

    transition: transform 0.3s ease;
}

.footer-nav a:hover img {
    transform: scale(1.1);
}

.footer-nav a span {
    font-size: 14px;
    color: #fff;
}

.footer p {
    margin: 10px 0 0;
    font-size: 12px;
    color: #bfaa67;
}

/**/

.reasons {
  text-align: center;
  margin: 20px 0;
}

.swiper-container {
  width: 100%;
  max-width: 600px;
  margin: auto;
}

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

.swiper-slide img {
  width: 100%;
  height: auto;
}

.slide-text {
  padding: 10px;
}

.slide-text h3 {
  font-size: 18px;
  margin: 10px 0 5px;
}

.slide-text p {
  font-size: 14px;
  margin: 0;
}

.procedure {
    max-width: 100%;
    width: 100%; /* 必要なら width を明示 */
    box-sizing: border-box; /* パディングやボーダー込みでサイズ計算 */
    margin: 0 auto;
    margin-top: 30px;
    counter-reset: chapter;
}

.procedure-container {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
    margin: 1rem 0;
}

.procedure-content {
    flex-basis: calc(100% - 250px);
    padding: 0.5rem 1rem 1rem 1rem;
}

.procedure-content h3 {
    font-size: 1.75rem;
    color: #e0bd5f;
    font-weight: bold;
    margin-bottom: 1em;
    font-family: sans-serif;
}

.procedure-content h3:before {
    counter-increment: chapter;
    content: counter(chapter);
    color: #000;
    margin-right: 0.5em;
}

.procedure-content p {
    margin-left: calc( 1.75rem + 0.15rem);
    font-family: sans-serif;
    line-height: 1.7;
}

.procedure-content p a {
    text-decoration: underline;
}

.procedure-img {
    flex-basis: 250px;
}

.procedure-img img {
    width: 100%;
    height: auto;
}

@media (max-width: 800px) {

    .procedure {
        padding: 0 10px;
    }

    .procedure-content {
        flex-basis: calc(100% - 100px);
        padding: 0 0.5rem 0.5rem 0.5rem;
    }

    .procedure-content h3 {
        font-size: 1.15rem;
        margin-bottom: 0.5rem;
    }

    .procedure-content p {
        margin-left: 0;
    }
    
    .procedure-img {
        flex-basis: 100px;
    }
}




@media (max-width: 600px) {
  .swiper-container {
    max-width: 100%;
  }
  .slide-text h3 {
    font-size: 16px;
  }
  .slide-text p {
    font-size: 12px;
  }
}



.floating-sns-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: none;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    z-index: 1000;
    /*メニュー箇所対応*/
    padding-right: 40px;
}

.floating-sns-bar a img {
  /*
    width: 30px;
    height: 30px;
    */
}

.menu-button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}


.cta-buttons {
    display: flex;
    justify-content: space-around;
/*    margin-top: 20px;
    margin-top: -120px;*/
    padding: 0 10px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.cta-button {
    text-align: center;
    flex: 0 0 auto;
}



.before-after {
    max-width: 100%;
    padding: 0 10px;
    margin: 0 auto;
}

.before-after-images {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slider img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.slider.img {
    width: 210px;
}


.slider-controls {
    display: flex;
    gap: 10px;
}

.slider-controls button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

/* Slider Styles */
    .slider {
        position: relative;
        max-width: 100%;
        margin: auto;
        overflow: hidden;
        white-space: nowrap;
    }

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

    .slides img {
        width: 100%;
        flex-shrink: 0;
    }

    .slider-controls {
        position: absolute;
        width: 100%;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        justify-content: space-between;
        pointer-events: none;
    }

    .slider-controls button {
        background: rgba(0, 0, 0, 0.5);
        border: none;
        color: white;
        padding: 10px;
        cursor: pointer;
        pointer-events: all;
    }
    .case_slider img {
        width: 48%; /* 画像が横に並ぶ場合に均等に配置されるよう設定 */
        height: auto; /* アスペクト比を維持 */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 画像に影を付ける */
        object-fit: cover; /* 画像が親要素にフィットするように調整 */
        transition: transform 0.3s ease; /* ホバーアニメーション用のトランジション */
    }
    .floating-sns-bar img {
width: 100%;
}


/* 基本スタイル */
.header-bottom {
display: flex;
justify-content: space-between; /* 子要素を左右に分ける */
align-items: center;
padding: 5px;
}

/* 左寄せ画像 */
.cta-girl-button {
margin-left: 0;
}
img.cta-girl-button {
width: 90%;
}

/* 右寄せ画像 */
.cta-tel-button {
margin-right: 0;
margin-left: 15px;
width: 95%;
}

h2.center {
  margin: 10px 0px 10px 0px;
text-align: center;
}

/* フローティングフッターのスタイル */
.floating-footer {
background-color: #333;
color: #fff;
position: fixed;
bottom: 0;
left: 0;
width: 100%;
/*    background: rgba(255, 255, 255, 0.95);*/
box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
z-index: 1000;
/*  padding: 10px 0;*/
transition: transform 0.3s ease; /* 非表示時のアニメーション */
text-align: center;
}

.floating-footer.hidden {
transform: translateY(100%); /* 非表示状態 */
}

/* フローティングフッター内のコンテンツ */
.floating-footer .footer-nav {
display: flex;
justify-content: space-around;
align-items: center;
}

.floating-footer .footer-nav a img {

height: auto;
margin: 0 10px;
}

.floating-footer .bottom-description img {
width: 100%;
}

/*メニュー箇所*/
/*
.q_custom_button1 {
width: 240px;
height: 50px;
line-height: 50px;
}
*/

h2.center img {
width: 40%;
}


.custom-slider {
position: relative;
max-width: 800px;
margin: 20px auto;
overflow: hidden;
touch-action: pan-y; /* スワイプの干渉を防ぐ */
}

.custom-slides {
display: flex;
transition: transform 0.5s ease-in-out;
}

.custom-slide {
flex: 0 0 100%;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}

.custom-slide img {
width: 100%;
height: auto;
}

.custom-slide-text {
padding: 10px;
}

.custom-slide-text h3 {
font-size: 18px;
margin: 10px 0 5px;
color: #333;
}

.custom-slide-text p {
font-size: 14px;
color: #555;
}

.custom-slider-controls {
position: absolute;
top: 50%;
width: 100%;
display: flex;
justify-content: space-between;
transform: translateY(-50%);
pointer-events: none;
}

.custom-slider-controls button {
background: rgba(0, 0, 0, 0.5);
color: white;
border: none;
padding: 10px;
cursor: pointer;
pointer-events: all;
}
/* お知らせスライダー全体のスタイリング */


.news-slide {
    flex: 0 0 50%; /* 横に2つ表示 */
    box-sizing: border-box;
    padding: 10px;
    text-align: center;
}

.news-thumbnail {
    width: 80%; /* 必要に応じて調整 */
    height: auto;
    border-radius: 5px;
    object-fit: cover;
  pointer-events: auto;
}





.news-prev, .news-next {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 10;
}

.news-link {
    position: relative;
    z-index: 8;
    display: block;
}


/**/
h5 {
    margin: 2em 0 1em;
}


.menu_top {
padding: 0.5rem 0.8rem
}

.menu_top {
  /*  padding: 5rem 1.8rem;*/
}


/* Before After スライダー */
/* スライダー全体 */
.before-after-slider {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden; /* スライド外を隠す */
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* スライドコンテナ */
.before-after-slides {
    display: flex; /* 横並び */
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

/* 各スライド */
.before-after-slide {
    flex: 0 0 100%; /* 各スライドを幅いっぱいに */
    display: flex;
    flex-direction: column; /* 縦方向に配置 */
    align-items: center;
    text-align: center;
}

/* スライド内の画像 */
.before-after-slide img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    padding: 10px;
}

/* テキスト部分 */
.before-after-text {
    margin-top: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    max-width: 80%;
}

/* コントロールボタン */
.before-after-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.before-after-controls button {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    transition: background 0.3s;
}

.before-after-controls button:hover {
    background: rgba(0, 0, 0, 0.8);
}


/*症例テキスト*/
h2.before-after-h2 {
    margin-bottom: 10px;
}
p.before-after-text2 {
    text-align: left;
    margin-bottom: 10px;
}


/**/


/* 他のスタイルと競合を避けるため、特異性を上げる */
html body #header #drawer_menu_button {
    position: fixed !important;
    top: 10px ;
    right: 5px ;
    z-index: 9999 !important;
    background: rgba(0, 0, 0, 0) !important;
}
/**/


#drawer_menu_button span {
    background: #bfaa67 !important;
}

.lst_ul {
margin-bottom: 0rem !important;
}

@media screen and (max-width: 800px) {
    body.home {
        padding: 0 !important;
    }
}


/*お知らせ箇所*/

.news-slides {
    display: flex;
    transition: transform 0.5s ease-in-out; /* スライドのアニメーション */
    width: 100%;
}

section.custom-section {
    margin-top: -90px;
}

.bottom-description p {
    font-size: 15px; /* フォントサイズを大きく */
    font-weight: bold; /* 太字で強調 */
    text-align: center; /* テキストを中央揃え */
    background: linear-gradient(90deg, #ffd700, #ffac33); /* 金色グラデーション */
    -webkit-background-clip: text; /* 背景クリップをテキストに適用 */
    -webkit-text-fill-color: transparent; /* テキストを透明にして背景を見せる */
    line-height: 1.8; /* 行間を調整 */
    margin: 5px 0; /* 上下の余白を設定 */
}




.news-slider-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 350px; /* 適切な幅に調整 */
    margin: 0 auto;
}

.custom-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    transform-style: preserve-3d;
}

.custom-slide {
    min-width: 100%;
    position: relative;
    transition: transform 0.5s ease-in-out, z-index 0.5s ease-in-out;
}

.custom-slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}


/*お知らせ*/
.news-slider-section {
    margin: 20px 0;
    text-align: center;
}

.news-custom-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 600px; /* スライダーの最大幅 */
    margin: 0 auto;
}

.news-custom-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    transform-style: preserve-3d;
    /*max-height: 300px;*/
    max-height: 240px;
}

.news-custom-slide {
    min-width: 100%; /* 各スライドを100%幅に設定 */
    transition: transform 0.5s ease-in-out, z-index 0.5s ease-in-out;
    transform-origin: center;
    position: relative;
}

.news-custom-slide img {
    display: block;
    width: 100%;
    height: 77%;
  /*  height: 45%;*/
    object-fit: cover;
    border-radius: 10px;
}

.news-title {
    margin-top: 10px;
    font-size: 13px;
    font-weight: bold;
    color: #333;
}

.news-slider-controls {
  pointer-events: none;
    position: absolute;
    top: 40%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.news-slider-controls button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 16px;
}


img.cta-head01-button {
    width: 100%;
}

section.top-description img {
    width: 100%;
}


section.bottom-description img {
    width: 100%;
}

.header-bottom {
    position: relative;
    display: inline-block;
}

.logo-container {
    position: relative;
    display: inline-block;
    width: 90%; /* 必要に応じて画像の親要素幅に合わせる */
}

.logo {
    display: block;
    width: 100%; /* 画像の幅を親要素に合わせる */
    height: auto;
}

.left-area,
.right-area {
    position: absolute;
    top: 0;
    bottom: 0;
}

.left-area {
  top: 46%;
  left: 0%;
  bottom: 15%;
  width: 57%;
  height: 55%;
}

.right-area {
    right: 0%;
    top: 5%;
    width: 33%;
    height: 33%;
}

/* リンク領域を有効にする */
.left-area a,
.right-area a {
    display: block;
    width: 100%;
    height: 100%;
}

.cta-button img {
    pointer-events: auto; /* クリックイベントを有効にする */
    z-index: 1; /* 他の要素より上に表示 */
}
/*
.q_custom_button1 {
    width: 150px;
    height: 50px;
    line-height: 50px;
    font-size: 12px;
}*/

.menu_top ul {
    justify-content: flex-start !important; /* 強制的に無効化 */
    display: grid !important;
}
.menu_top ul li {
    display: grid !important;
    width: 60%;
    grid-template-columns: 1fr 1fr;
}

@media screen and (max-width: 450px) {
    .menu_top ul {
        /* justify-content: center; */
        width: 100%;
    }
}

.men_menu_contents {
    position: relative;
    width: 100%;
    padding: 10px 0 10px 10px;
    box-sizing: border-box;
}


.menu_top ul li {
    margin: 10px 10px 0px 0px !important;
    width: 41%;
}


h5.men_menuh5 {
    /*font-family: "Noto Serif JP", 游明朝, YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", HG明朝E, "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;*/
    margin: 0em 0 0em;
}


.q_custom_button {
    font-size: 12px !important;;
}

#drawer_menu .close_button_area {
    background-color: #b1afae !important;
}


.cta-button {
    position: relative;
    z-index: 10; /* 他の要素より前面に配置 */
}



#beforeafter {
    scroll-margin-top: 500px; /* 固定ヘッダーや調整値に応じて変更 */
}


.special-information {
    padding: 5px;
}

.special {
    max-width: 100%;
    width: 100%; /* 必要なら width を明示 */
    box-sizing: border-box; /* パディングやボーダー込みでサイズ計算 */
    margin: 0 auto;
}

.special img.specialimg {
  margin-bottom: 10px;
    width: 100% !important;
    height: auto !important;
}

.reservation-method {
    padding: 5px;
}

.reservation {
    max-width: 100%;
    width: 100%; /* 必要なら width を明示 */
    box-sizing: border-box; /* パディングやボーダー込みでサイズ計算 */
    margin: 0 auto;
}
@media screen and (min-width:801px) {
    .reservation{
        display: flex !important;
    }
}

.reservation img.reservationimg {
    margin-bottom: 10px;
    width: 100% !important;
    height: auto !important;
}

.cursor-grid {
max-width: 400px;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2列のグリッド */
    grid-gap: 10px; /* グリッド間の間隔 */
    list-style: none; /* デフォルトのリストマーカーを非表示 */
    padding: 0;
    width: 80%;
    margin-inline: auto;
  }

  .cursor-grid li {
    position: relative; /* ::beforeの配置基準 */
    padding-left: 15px; /* カーソル画像の幅+余白 */
    margin-bottom: 10px; /* リスト項目間の間隔 */
    display: flex; /* 必要に応じてテキストとアイコンを揃える */
    align-items: center;
    text-align: center;
  }

  .cursor-grid li::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%); /* 垂直中央揃え */
    width: 20px; /* カーソル画像の幅 */
    height: 20px; /* カーソル画像の高さ */
  /*   background-image: url("下部リンクカーソル.png"); カーソル画像のURL */
    background-size: contain; /* 画像を要素内に収める */
    background-repeat: no-repeat;
  }


  #blog-slider {
    width: 96%;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
  }
  #blog-slider img {
    width: 100%;
    display: none; /* 初期状態では非表示 */
  }
  #blog-slider img.active {
    display: block; /* アクティブな画像のみ表示 */
  }
  #blog-prev, #blog-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
  }
  #blog-prev { left: 10px; }
  #blog-next { right: 10px; }


  .bg_original_con {
    background-color: #000;
    padding: 7% 4%;
    position: relative;
  }
  .bg_original_con::after{
    background-color: #c6a766;
    width: 10px;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
  }

  .original-contents-container {
    position: relative; /* 親要素にrelativeを指定 */
    display: inline-block; /* 必要に応じて */
  }

  .original-contents-container img {
    display: block; /* 画像の下の余白をなくす */
    max-width: 100%; /* 画像が親要素からはみ出さないように */
    height: auto;
  }

  .original-contents-latest-article {
    position: absolute; /* 絶対配置 */
    top: 35px;
    left: 10px;
  /*  background-color: rgba(255, 255, 255, 0.7); */
    padding: 5px;
    width: 70%;
    color: #fff;
  }

  .original-contents-latest-article a {
        color: white;
    }
    .original-contents-latest-article img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    .bg_original_con .article-thumbnail{
        margin: 4% 0% !important;
        width: 80%;
    }
    .bg_original_con .article-thumbnail a{
        color: #fff !important;
    }
    .bg_original_con .article-thumbnail img{
        width: 80% !important;
        height: 80% !important;
    }

  .original-contents-slider-area {
      position: absolute;
      top: 65%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: white;
      padding: 10px;
      width: 100%;
  }

  .original-contents-slider-area a:link,
  .original-contents-slider-area a:visited {
    color: #ffffff;
  }

  .original-contents-before-after-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
  }

  .original-contents-link-area {
    position: absolute;
    bottom: 10px;
    right: 10px;
  }

  .original-contents-link-area img {
    max-width: 100px;
    height: auto;
  }



  .ori-contents {
    padding: 0px;
    margin: -4px 0px;
  }

  .ori-container {
    position: relative; /* 親要素にrelativeを指定 */
    display: inline-block; /* 必要に応じて */
  }

  .ori-contents-container img {
    display: block; /* 画像の下の余白をなくす */
    max-width: 100%; /* 画像が親要素からはみ出さないように */
    height: auto;
  }


  .ori-slider-section {
    margin: 20px 0;
    text-align: center;
}

.ori-custom-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 600px; /* スライダーの最大幅 */
    margin: 0 auto;
}

.ori-custom-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    transform-style: preserve-3d;
    max-height: 300px;
}

.ori-custom-slide {
    min-width: 100%; /* 各スライドを100%幅に設定 */
    transition: transform 0.5s ease-in-out, z-index 0.5s ease-in-out;
    transform-origin: center;
    position: relative;
}

.ori-custom-slide img {
    display: block;
    width: 100%;
    height: 77%;
  /*  height: 45%;*/
    object-fit: cover;
    border-radius: 10px;
}

.ori-title {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

.ori-slider-controls {
    position: absolute;
    top: 40%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.ori-slider-controls button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 16px;
}

.ori-contents-link-area {
    position: absolute;
    bottom: 10px;
    right: 10px;
  }

  .ori-contents-link-area img {
    max-width: 100px;
    height: auto;
  }

.original-contents-container img-right {
    float: right;
  }

  .latest-cases {
    background-color: #000;
    position: relative;
}
    .case-thumbnail{
        margin: 5% 0;
        width: 80%;
    }
    .case-thumbnail a{
        color: #fff;
    }
    .case-thumbnail img{
        width: 90%;
        height: 90%;
}

  .latest-cases-container {
    position: relative; /* 親要素にrelativeを指定 */
    display: inline-block; /* 必要に応じて */
  }

  .latest-cases-container img {
    display: block; /* 画像の下の余白をなくす */
    max-width: 100%; /* 画像が親要素からはみ出さないように */
    height: auto;
  }

  .latest-cases-latest-article {
    position: absolute;
    top: 35px;
    left: 10px;
    padding: 5px;
    width: 70%;
    color: #fff;
}

.latest-cases-latest-article a{
  color: white;

}

.latest-cases-latest-article img {
width: 270px;
height: 150px;
object-fit: cover;
display: block;
}

/*
  .latest-cases-slider-area {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    width: 80%;
  }
  */
    .latest-cases-slider-area {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* background-color: rgba(0, 0, 0, 0.5); */
  color: white;
  padding: 10px;
  width: 100%;
}
.latest-cases-slider-area a:link,
.latest-cases-slider-area a:visited {
    color: #ffffff;
}


  .latest-cases-link-area {
    position: absolute;
    bottom: 10px;
    right: 10px;
  }

  .latest-cases-link-area img {
    max-width: 100px;
    height: auto;
  }

  .latest-cases-before-after-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
  }


.swiper-button-prev:after,
.swiper-button-next:after {
  content: ''; /* 擬似要素の中身を空にする */
}
/*
.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after {
    content: 'next'!important;
}
*/
.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after {
    content: ''!important;
}

/*
.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after {
    content: 'prev'!important;
}
*/
.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after {
    content: ''!important;
}

.swiper-button-next img{
    width: 13px;
    height: auto;
}

.access {
    padding: 0px;
    margin: -4px 0px;
}

.access-area-container {
    position: relative; /* 親要素にrelativeを指定 */
    display: inline-block; /* 必要に応じて */
  }

.access-area-container img {
    display: block; /* 画像の下の余白をなくす */
    max-width: 100%; /* 画像が親要素からはみ出さないように */
    height: auto;
  }


.access-area {
    position: absolute; /* 絶対配置 */
    top: 16px;
    left: 10px;
    background-color: rgba(255, 255, 255, 0.7); /* 半透明の背景 */
    padding: 5px;
    width: 70%;
  }

.access-map-container {
    width: 100%;
    aspect-ratio: 1 / 1; /* 正方形 */
    /* aspect-ratio: 16 / 9; /* 16:9の比率 */
  }

.access-map-container iframe {
      width: 100%;
      height: 100%;
  }

.access-link-area {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.access-link-area img {
    max-width: 100px;
    height: auto;
}


.docter-link-area {
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.docter-link-area img {
  margin-bottom: 50px;
  max-width: 100px;
  height: auto;
}

img.attachment-medium.size-medium.not-transparent.wp-post-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}


/* 背景画像全体のコンテナ */
.access-image-container {
    position: relative;
    width: 100%; /* 必要に応じて調整 */
    margin: 0 auto; /* 中央揃え */
    height: auto;
    padding-top: 133%; /* 背景画像のアスペクト比に応じて調整 */
}

/* リンクエリアのスタイル */
.link-area {
    position: absolute;
    display: block;
}

/* YouTubeリンクエリア */
.youtube-link {
    top: 0%;
    left: 0%;
    width: 74%;
    height: 17%;
}

/* 地図リンクエリア */
.map-link {
    top: 19%;
    left: 0%;
    width: 74%;
    height: 27%;
}

/* 詳細地図リンクエリア */
.detailed-map-link {
    top: 48%;
    left: 0%;
    width: 33%;
    height: 5%;
}
/* 電話番号リンクエリア */
.phone-link {
    top: 54%;
    left: 48%;
    width: 15%;
    height: 2%;
}

/* 駐車場詳細リンクエリア */
.parking-link {
    top: 82%;
    left: 76%;
    width: 10%;
    height: 3%;
}

.doctorcommentary {
    top: 86%;
    left: 70%;
    width: 30%;
    height: 5%;
}

.syourei {
    top: 87%;
    left: 70%;
    width: 30%;
    height: 4%;
}
ul.cursor-grid img {
    width: 100%;
}
span.article-date {
    display: block;
    color: #fff;
    font-size: 12px;
    margin-top: 5px;
}
span.article-title {
    display: block;
    color: #fff;
}

.slider-content {
    font-size: 14px;
}

.news-slider-controls button {
    pointer-events: auto; /* ボタン自体はクリック可能 */
}
@media screen and (max-width : 800px) {
    .pc{display: none !important;}
    .sp{display: block;}
    }


/* 250331追記 */
/* header-slide */
.home .language-btn{
    display: none!important;
}
#header{z-index: 80;}
#global_menu ul ul a{font-size: 14px;}
#header_slider_wrap{display: none!important;}
.menu ul{display: none;}
.main-banner .pc{display: block!important;}
.main-banner .sp{display: none!important;}
.menu-close{display: none;}
#global_menu>ul>li>a {
    color: #000 ;
    text-decoration: none;
    height: 80px;
    line-height: 80px;
    padding: 0 19px;
    display: block;
    position: relative;
    overflow: hidden;
}
@media screen and (min-width: 800px){
    html body #header #drawer_menu_button{
        top: 10px;
    }
}
@media screen and (max-width: 800px){
.main-banner .pc{display: none!important;}
.main-banner .sp{display: block!important;}
html body #header #drawer_menu_button{
    top: 10px !important;
    right: 5px !important;
}
}
/* p-oricon doctors_blog */
.swiper3{height: auto!important;}
.news-slider-section{
    padding: 0 8%;
}
.news-slider-section span.article-title{
    color: "#000"!important;
    margin-top: 5px;
    overflow: visible!important;
}

.home .original-contents .slider-container{
    width: 80%;
}
.doctors_title_img{
    position: absolute;
    top: 10%;
    right: 0;
    width: 23%;
    z-index: 1;
}
.doctors_title_img img{
    width: 100%;
}
/* p-oricon new-case */
.p-oricon{
    position: relative;
    background: #000;
    padding: 10%;
}
.menu_top ul li{width: 100%;}
.p-oricon .p-relative{
    position: relative;
    z-index: 2;
    color: #fff !important;
    font-size: 1rem;
    margin: 2% 0 !important;
}
.p-oricon::after{
    content: "";
    width: 11.95%;
    height: 100%;
    background: #a08447;
    position: absolute;
    top: 0;
    right: 0;
}
.latest-cases{
    font-size: 0;
}
.p-oricon .article-thumbnail{
    width: 80%!important;
    height: auto;
}
.p-oricon .article-thumbnail img{
    width: 100%!important;
    height: auto;
}
.p-oricon .case-thumbnail{
    margin: 0 0 1% 0 !important;
    width: 80% !important;
    position: relative;
    overflow: hidden;
    padding-top: 50%;
}
.p-oricon .case-thumbnail img{
    width: 100% !important;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.p-oricon span.article-title{
    color: #fff !important;
    font-size: 1rem;
    padding: 5px;
}
.home .latest-cases .slider-container2{
    width: 80%;
}
#drawer_menu_button{display: none;}

.menu_top ul li{
    width: 100%!important;
}
.news-slider-section span.article-title{
    color: #000;
}
.p-oricon.dr-post .button{
    width: 80%;
    display: flex;
    justify-content: center;
    margin-top: 5%;
}
.p-oricon.dr-post .swiper-wrapper{
    z-index: 0;
}
.p-oricon.dr-post .button a{
    position: relative;
    width: 260px;
    height: 50px;
    background: #a08447;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 16px;
}
.p-oricon.new-case .button{
    width: 80%;
    display: flex;
    justify-content: center;
    margin-top: 5%;
}
.p-oricon.new-case .button a{
    position: relative;
    width: 260px;
    height: 50px;
    background: #a08447;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 16px;
}
.p-oricon.dr-post .button a::after, .p-oricon.new-case .button a::after{
    content: "";
    display: inline-block;
    vertical-align: middle;
    color: #fff;
    line-height: 1;
    width: 12px;
    height: 12px;
    border: 1px solid currentColor;
    border-left: 0;
    border-bottom: 0;
    position: absolute;
    top: 50%;
    right: 20px;
    box-sizing: border-box;
    transform: translateY(-50%) rotate(45deg);
}
/* アクセス情報 */
.access_text{
    display: flex !important;
    position: relative !important;
}
.access_text_2{
    display: flex !important;
    position: relative !important;
}
.access_text img{
    width: 33% !important;
}
.access_text img{
    width: 100% !important;
}
.access-image-container{
    content: "";
    background: url('https://pro-clinic.jp/mens/wp-content/themes/serum_tcd096/img/common/access728.jpg') no-repeat center !important;
    background-size: cover !important;
    padding-top: 115% !important;
    position:  relative !important;
  }
.access_text_possition{
    position: absolute;
    bottom: 90px;
    left: 30px;
}
.access_text_possition_1{
    display: flex !important;
    justify-content: space-around !important;
    width: 75%;
    margin-bottom: 20px;
}
.access_text_possition_1 img{
    width: 100%;
    height: 100%;
    -moz-force-broken-image-icon: 1;
}
.access_text_possition_1 .sp{
    display: none;
}
.access_text_possition_2{
    display: flex !important;
    width: 100% !important;
    align-items: center;
}
.access_text_possition_2 .about_map_img{
    width: 28%;
    height: 60%;
    margin-right: 10px;
}
.access_text_possition_2 .about_map_img img{
    width: 100%;
    height: 100%;
}

.access_text_possition_2 .about_map_txt{
    width: 20%;
    height: 30%;
    margin-left: 3%;
}
.access_text_possition_2 .about_map_txt img{
    width: 100%;
    height: 100%;
}

.slider-container3{
    position: relative;
}
.slider-container3 .swiper-button-next.swiper-button-next3{
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, .6);
    border-radius: 30px;
    right: -20px;
}
.slider-container3 .swiper-button-prev.swiper-button-prev3{
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, .6);
    border-radius: 30px;
    left: -20px;
}
.slider-container3 .swiper-button-next.swiper-button-next3::after{
    content: "";
    display: inline-block;
  vertical-align: middle;
  color: #fff;
  line-height: 1;
  width: 10px;
  height: 10px;
  border: 1px solid currentColor;
  border-left: 0;
  border-bottom: 0;
  position: absolute;
  top: 50%;
  left: 45%;
  box-sizing: border-box;
  transform: translate(-50%, -50%) rotate(45deg);
}
.slider-container3 .swiper-button-prev.swiper-button-prev3::after{
    content: "";
    display: inline-block;
  vertical-align: middle;
  color: #fff;
  line-height: 1;
  width: 10px;
  height: 10px;
  border: 1px solid currentColor;
  border-left: 0;
  border-bottom: 0;
  position: absolute;
  top: 50%;
  left: 55%;
  box-sizing: border-box;
  transform: translate(-50%, -50%) rotate(-135deg);
}


/* 下層 */
/* .design_content_wrap .design_content{
    width: 930px!important;
    margin-right: auto!important;
    margin-left: auto!important;
}
#bread_crumb ul {
    width: 930px!important;
    margin: 0 auto;
    height: 60px;
    line-height: 60px;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    visibility: visible;
}
#blog_list{
    width: 930px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
} */
#single_post_image{
    display: none!important;
}

.page-id-2666 .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:nth-last-of-type(1) {
    display: none;
}
.page-id-2666 .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:nth-last-of-type(2) {
    display: none;
}
.page-id-2666 .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:nth-last-of-type(3) {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.page-id-2666 .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:nth-last-of-type(3) .wp-block-image{
    width: 33%;
}

@media screen and (max-width: 1200px){
    .menu {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 70%;
        height: 100%;
        background-color: #fff;
        box-shadow: -2px 0 5px rgba(0, 0, 0, .5);
        z-index: 1001;
        padding: 20px;
    }
    #drawer_menu_button{display: block!important;}
    #header_logo2 img.mobile{transform: scale(1.3)!important;}
    #header_logo2 .text_image{height: auto!important;}
    #header{position: fixed; z-index: 1010;}
    .menu ul{display: block;}
    .menu-close{display: block;}
}
@media screen and (max-width: 1201px){
    body {
        padding: 60px 0 0;
    }
}
@media screen and (max-width: 1000px){
    .home .original-contents{
        width: 100%;
        margin-left: 0;
    }
    .home .latest-cases{
        width: 100%;
        margin-left: 0;
    }
    .home .access{
        width: 100%;
        margin-left: 0;
    }
    .reservation-method{
        width: 100%;
        margin-left: 0;
    }
    .cursor-grid{
        width: 100%;
        margin-left: 0;
    }
    .menu_top ul{
        display: flex!important;
        width: 100%!important;
    }
    .menu_top ul li{
        width: 45%!important;
    }
    .menu_top {
        padding: 1rem 20px !important;
    }
    .q_custom_button{
        font-size: 11px!important;
    }
    .p-oricon {
        padding: 6% 8% 6% 20px;
    }
}
@media screen and (min-width: 1000px){
/* 左サイドバー */
#site_desc{
    z-index:79 !important;
    width: 80px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
body.home #site_desc.animate{
    opacity: 1;
    transition: opacity 1.4sease 2s;
    background-color: #fff;
    width: 80px;
    border-right: #ddd solid 1px;
    position: fixed;
    z-index: 2;
    height: 100%;
}
}

@media screen and (max-width: 1200px){
    #site_desc{
        display: none;
    }
}
@media screen and (max-width: 810px){
    .slider-container3 .swiper-button-next.swiper-button-next3{right: -10px;}
    .slider-container3 .swiper-button-prev.swiper-button-prev3{left: -10px;}
    .news-slider-section{padding: 0 10px;}
    
}
@media screen and (max-width: 650px){
    .page-id-2666 .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:nth-last-of-type(3) .wp-block-image{width: 48%;}
    
}
@media screen and (max-width: 500px){
    .access_text_possition{
        bottom: 10px;
        left: 10px;
        display: flex;
        width: 77%;
    }
    .access_text_possition_1{
        display: block !important;
        width: 89%;
        height: 100%;
        margin-right: 10px;
    }
    .access_text_possition_2{
        display: block !important;
        width: 100% !important;
        align-items: center;
        height: 100%;
    }
    .access_text_possition_2 .about_map_img{
        width: 88%;
        height: 80%;
    }
    .access_text_possition_2 .about_map_txt{
        width: 70%;
        height: 30%;
    }
    h2.center img{width: 45%!important;}
    .swiper-button-next, .swiper-button-prev{top: 45%!important;}
    .dr-post .swiper-button-next, .dr-post .swiper-button-prev{top: 45%!important;}

    .doctors_title_img{top: 10%; }
    .p-oricon{padding: 20% 0px 6% 0px;}
    .p-oricon .article-thumbnail{width: 70%!important;}
    .p-oricon .case-thumbnail{width: 70% !important;}
    .swiper1{height: auto!important;}
    .men_menu_contents.last-item{border: none!important;}
    .men_menu_contents.last-item .q_button_wrap{width: 100%!important;}
    .home .original-contents .slider-container{width: 100%;}
    .home .latest-cases .slider-container2{width: 100%;}
    .dr-post .doctors_title_img{top: 4%;}
    .access_text_possition_1 .pc{
        display: none;
    }
    .access_text_possition_1 .sp{
        display: block;
    }

}

.supervisor_wrapper {
    max-width: calc(100% - (100px + 2rem));
    margin: 1rem auto 2rem auto;
    border: solid 2px #ddd;
    padding: 1rem;
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
}

.supervisor_image {
    flex-basis: calc(80px + 1rem);
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.supervisor_image .supervisor_picture {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50%;
    object-fit: cover;
}

.supervisor_content {
    flex-basis: calc(100% - (80px + 1rem));
}

.supervisor_content span{
    display: block;
    font-weight: bold;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.supervisor_content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.7;
    font-weight: normal;
}

@media screen and (max-width: 800px) {
    
    .supervisor_wrapper {
        max-width: calc(100% - 40px);
        padding: 0.75rem 0.5rem;
    }

    .supervisor_image {
        flex-basis: calc(50px + 0.75rem);
    }

    .supervisor_image .supervisor_picture {
        width: 50px !important;
        height: 50px !important;
    }

    .supervisor_content {
        flex-basis: calc(100% - (50px + 0.75rem));
    }

}