.main.article {
  position: relative;
  overflow: hidden;
}
.main.article::before {
    content:"";
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    top:0;
    width:120%;
    height:480px;
    border-radius:0 0 50% 50%;
    z-index:-1;
    pointer-events:none;
      background-image:linear-gradient(to bottom, rgb(255 255 255 / 84%), rgb(255 255 255 / 84%)), url(../img/common/first-bg.jpg);
    background-size: cover, cover;
    background-position: center top, center top;
    background-repeat: no-repeat, no-repeat;
  }
  .first-container {
        display: grid;
    gap: 12px;
justify-items: center;
    margin-top: 40px;
  }
    .page-meta-cat {
background: var(--color-grey);
    padding: 2px 6px;
    font-size: 0.7rem;
    margin-right: 8px;
  }
h1 {
    font-size: clamp(1.375rem, 1.101rem + 1.12vw, 2rem);
    font-weight: 700;
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 8px;
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}
.lead { 
margin: 20px 0;
  }
h3 {
    font-size: clamp(1.25rem, 1.031rem + 0.9vw, 1.75rem);
    font-weight: 700;
    scroll-margin-top: 40px;
}
h2 {
    font-size: clamp(1.125rem, 0.961rem + 0.67vw, 1.5rem);
        font-weight: 700;
padding-left: 16px;
position: relative;
margin: 48px 0 16px;
}
h2::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
    height: 80%;
    width: 1px;
    background: var(--color-surface);
}
h2::after {
    content: "";
    height: 100%;
    width: 4px;
    top: 0;
    left: 0;
    position: absolute;
    background: var(--color-surface);
}
h3 {
    font-size: clamp(1rem, 0.89rem + 0.45vw, 1.25rem);
    font-weight: 700;
    position: relative;
    padding-bottom: 4px;
    margin: 28px 0px 12px;
}
h3::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 160px;
    height: 2px;
    background: var(--color-surface);
    }
h5 {font-size: clamp(1rem, 0.89rem + 0.45vw, 1.25rem);
font-weight: 700;
    margin: 28px 0 12px;
    }
.speaker {
    font-weight: bold;
    padding-right: 12px;
}
.hero-sec {
    margin-bottom: clamp(2.5rem, 1.952rem + 2.25vw, 3.75rem);
}
.toc {
    margin: 20px 0;
}
.time-table{width:100%; border-collapse:collapse}
.time-table tr th:not(:first-child) {
    background: var(--color-surface);
    color: var(--color-white);
}
.time-table tr td {
border-bottom: 1px solid var(--color-surface);
}
.time-table tr > *:first-child {
    padding: 8px 24px 8px 0;
    white-space: nowrap;
}
.time-table tr > *:not(:first-child) {
    padding: 8px 24px;
    text-align: center;
}
.review {
    padding:clamp(0.75rem, 0.64rem + 0.45vw, 1rem);
    margin-bottom: 20px;
    border-left: 1px solid var(--color-surface);
    background: #F3F0EC;
}
.review > dt {
display: flex;
    align-items: center;
    gap: clamp(0.75rem, 0.531rem + 0.9vw, 1.25rem);
    flex-wrap: wrap;
    font-weight: normal;
    margin-bottom: 8px;
    font-size: clamp(0.75rem, 0.64rem + 0.45vw, 1rem);
}
.review > dd {
font-size: clamp(0.875rem, 0.82rem + 0.22vw, 1rem);
}
.review-name > span:nth-child(2)::before {
content: "/";
padding: 0 8px 0 4px;
}
.googleReviews .note {
font-size: 14px;
}
.googleReviews .note a {
color: var(--color-surface);
text-decoration: underline;
}
.rating-stars {
font-size: clamp(0.875rem, 0.765rem + 0.45vw, 1.125rem);
display: inline-block;
}
.star {
display: inline-block;
position: relative;
color: #ddd;
}
.star.filled {
color: var(--color-surface);
}
.star.empty {
color: #ddd;
}
.star.half::before {
content: '\2605';
position: absolute;
left: 0;
top: 0;
width: 50%;
overflow: hidden;
color: #ffd700;
}
.map-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.map-sec > iframe{
    margin-bottom: 20px;
    width: 100%;
    height: 280px;
}
.basic-info > dl {
    display: grid;
        grid-template-columns: 1fr;
        border-bottom: 1px solid var(--color-grey);
        gap: clamp(0.5rem, 0.39rem + 0.45vw, 0.75rem);
}
.basic-info > dl > dt {
    font-weight: 700;
    font-size: clamp(1rem, 0.945rem + 0.22vw, 1.125rem);
}
.basic-info > dl > dt:not(:first-child) {
    padding-top: clamp(0.75rem, 0.421rem + 1.35vw, 1.5rem);
}
.basic-info > dl > dd {
 padding-bottom: 12px;
 border-bottom: 1px solid var(--color-grey);
}
.vertical-flow ul,.paymaent-list ul {
    display: flex;
    flex-wrap: wrap;
}
.vertical-flow ul li,.paymaent-list ul li {
    margin: 0;
    margin-left: 0;
    list-style-type: none;
}
.vertical-flow ul li::before {
content: "・";
}
.paymaent-list ul li:not(:first-child)::before {
content: "/";
margin: 0 8px;
}
.timeremarks {
font-size: 14px;
margin-top: 10px;
white-space: nowrap;
}
.timeremarks > ul > li {
list-style-type: none;
margin-left: 0;
margin-bottom: 5px;
white-space: normal;
}
.blockquote {
position: relative;
padding: clamp(1.875rem, 1.591rem + 1.21vw, 2.5rem) clamp(1.25rem, 0.682rem + 2.42vw, 2.5rem) clamp(0.625rem, 0.341rem + 1.21vw, 1.25rem);
background-color: #ededed;
margin-bottom: 20px;
}
.blockquote::before {
display: inline-block;
position: absolute;
top: clamp(0.625rem, 0.341rem + 1.21vw, 1.25rem);
left: clamp(0.625rem, 0.341rem + 1.21vw, 1.25rem);
width: 30px;
height: 30px;
background-color: var(--main-color); /* ここで色を変更 */
-webkit-mask-image: url("../img/blockquote.svg");
mask-image: url("../img/blockquote.svg");
-webkit-mask-repeat: no-repeat;
mask-repeat: no-repeat;
-webkit-mask-size: cover;
mask-size: cover;
content: '';
}
.blockquote figcaption {
color: #737373;
font-size: 14px;
text-align: right;
}
.googleMap {
text-align: center;
margin: 40px 0;
font-weight: bold;
}
.doctor-list {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-end;
}
.doctor-list a {
    white-space: nowrap;
    text-decoration: underline;
    color: var(--color-surface);
    display: flex;
        align-items: center;
        padding-right: 4px;
}
.doctor-list a::after {
    content: "";
    top: 50%;
    right: 0;
    transform: translateY(1px) rotate(45deg);
    width: 8px;
    height: 8px;
    border-right: 1px solid var(--color-surface);
    border-top: 1px solid var(--color-surface);
}
.interview-sec {
    display: grid;
    grid-template-columns: 80px 1fr;
    row-gap: 40px;
    column-gap: clamp(0.5rem, -0.102rem + 2.47vw, 1.75rem);
}
.interview-sec dt {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    font-weight: 800;
    align-items: center;
}
.interview-sec dt img {
width: 60px;
    border-radius: 40px;
}
.interview-sec dd {
    padding: clamp(1rem, 0.88rem + 0.49vw, 1.25rem) clamp(0.75rem, 0.389rem + 1.48vw, 1.5rem);
    background: linear-gradient(145deg, var(--color-white), #f9f9f9);
    border-radius: 4px;
    box-shadow: 8px 4px 16px rgba(209, 175, 130, 0.15), -8px -8px 16px rgba(255, 255, 255, 0.9), inset 0 0 0 1px rgba(209, 175, 130, 0.1);
    font-weight: 600;
    border: 1px solid rgba(209, 175, 130, 0.2);
}
.interview-movie-sec {
     text-align: center;
    margin: 60px 0;   
}
.interview-movie-sec dt {
font-weight: 600;
    font-size: 24px;
    position: relative;
    padding-bottom: 4px;
}
.interview-movie-sec dt::after {
    content: "";
    display: flex;
    width: 40%;
    margin: auto;
    height: 4px;
    background: var(--color-surface);
    position: relative;
    bottom: 0;
    margin-top: 4px;
}
.interview-movie-sec dd p {
margin: 12px 0 16px;
}
.interview-movie-sec iframe {
    width: 100%;
    max-width: 560px;
}

.profile-card {
        border: 1px solid var(--color-surface);
    padding: 12px;
    margin-bottom: 24px;
}
.profile-card dt {
    display: flex;
    gap: 8px;
}
.profile-card dt > span {
        display: flex;
    flex-direction: column;
    font-weight: 600;
}
.profile-card dt > span span:first-child {
font-size: 14px;
}
.profile-card dt > span span:last-child {
font-size: 18px;
}
.profile-card dd {
    margin-top: 8px;
}
.link a {
    text-decoration: underline;
    color: var(--color-surface);
}
@media screen and (max-width: 768px) {
    .main.recommend::before {
        height:340px;
      }
    .first-container {
    gap: 8px;
    margin-top: 20px;
  }
.clinic-excerpt {
    padding: 20px 12px;
    margin-bottom: 34px;
}
.clinic-excerpt::after {
        height: 28px;
        bottom: -14px;
}
.tab-btn{
    padding: 10px 4px;
}
.content .basic-info > li {
grid-template-columns: 1fr;
}
.content .basic-info > li:first-child {
padding: 0 0 10px;
}
.content .basic-info > li:not(:first-child) {
padding: 10px 0;
}
.content .basic-info > li > span:first-child {
margin-bottom: 8px;
}
.content .basic-info .map div {
margin-top: 10px;
}
.time-table tr > *:first-child {
    padding: 4px 0;
}
.time-table tr > *:not(:first-child) {
    padding: 4px 8px;   
    font-size: 14px;
}
.basic-info > dl > dd {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.doctor-list {
    grid-template-columns: 1fr;
}
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-wrap table{ min-width: 768px; }
.table-wrap table tr > * { 
   padding: 4px;
font-size: 14px; }
}