:root {
    --blue: #075eb5;
    --blue2: #2e9dd8;
    --cyan: #63cbe8;
    --ink: #333;
    --line: #e4e8ec;
    --soft: #f7fafc;
    --green: #7bbb34
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    line-height: 1.75;
    background: #fff
}

a {
    text-decoration: none;
    color: inherit
}

.inner {
    width: min(1120px, calc(100% - 44px));
    margin: auto
}

img {
    max-width: 100%;
    display: block
}

.site-header {
    background: #fff
}

.header-main {
    height: 112px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px
}

.logo img {
    width: 520px;
    max-height: 88px;
    object-fit: contain;
    object-position: left center
}

.header-info {
    display: flex;
    align-items: center;
    gap: 28px;
    color: #000;
    font-size: 15px
}

.phone {
    padding-left: 25px;
    border-left: 1px solid #d8dde1
}

.phone span {
    font-size: 15px;
    color: #000
}

.phone strong {
    display: block;
    font-family: Georgia, serif;
    font-size: 25px;
    font-weight: 500;
    color: #0b62b7;
    letter-spacing: .02em;
    line-height: 1.25
}

.phone small {
    display: block
}

.menu-btn {
    display: none;
    border: 0;
    background: #0b62b7;
    color: #fff;
    padding: 12px 16px
}

.global-nav {
    border-top: 1px solid #edf0f2;
    border-bottom: 1px solid #dce2e7;
    background: #fff
}

body.home .global-nav {
    display: none
}

.nav-inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr)
}

.global-nav a {
    position: relative;
    padding: 17px 10px 14px;
    text-align: center;
    font-size: 15px;
    color: #4a5158;
    border-right: 1px solid #edf0f2
}

.global-nav a:first-child {
    border-left: 1px solid #edf0f2
}

.global-nav a:after {
    content: "";
    position: absolute;
    left: 28%;
    right: 28%;
    bottom: 0;
    height: 3px;
    background: #5aaed8;
    transform: scaleX(0);
    transition: .2s
}

.global-nav a:hover:after {
    transform: scaleX(1)
}

.global-nav small {
    display: block;
    color: #000;
    text-transform: lowercase;
    font: 14px Georgia, serif;
    letter-spacing: .08em;
    margin-top: 2px
}

.mv {
    position: relative;
    height: 485px;
    overflow: hidden;
    background: #eef8fc
}

.mv-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity .7s
}

.mv-slide.active {
    opacity: 1
}

.mv-inner {
    height: 100%;
    display: flex;
    align-items: center
}

.mv-copy {
    width: 625px;
    max-width: 100%;
    padding: 34px 40px;
    background: rgba(255, 255, 255, .88);
    border-left: 5px solid #63b7e2;
    box-shadow: 0 10px 35px rgba(56, 78, 92, .08)
}

.mv-copy .open {
    color: #0872bf;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: .08em;
    margin: 0 0 10px
}

.mv-copy h1 {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 31px;
    line-height: 1.65;
    font-weight: 500;
    color: #3d5361;
    margin: 0 0 10px
}

.mv-copy p:last-child {
    margin: 0;
    color: #000
}

.dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3
}

.dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: #c7d2d8;
    padding: 0
}

.dots .on {
    background: #0b67b5
}

.shortcut {
    position: relative;
    margin-top: -1px;
    background: #f7f9fa;
    border-bottom: 1px solid #e6eaed
}

.shortcut-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr)
}

.shortcut-card {
    min-height: 130px;
    padding: 22px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    border-right: 1px solid #e0e5e8;
    background: #fff
}

.shortcut-card:first-child {
    border-left: 1px solid #e0e5e8
}

.shortcut-card:hover {
    background: #f5fbfe
}

.shortcut-card .icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid #9ed3ea;
    color: #1481c5;
    display: grid;
    place-items: center;
    font-size: 22px;
    flex-shrink: 0;
}

.shortcut-card strong {
    display: block;
    font-size: 16px;
    color: #4d555b
}

.shortcut-card small {
    display: block;
    font: 14px Georgia, serif;
    color: #000;
    letter-spacing: .08em
}

.section {
    padding: 66px 0
}

.soft {
    background: #f7fafb
}

.section-label span {
    display: block;
    font: italic 19px Georgia, serif;
    color: #5aaad5;
    text-transform: lowercase;
    letter-spacing: .02em
}

.section-label h2 {
    margin: 2px 0 26px;
    font-size: 25px;
    font-weight: 500;
    color: #50565b;
    letter-spacing: .06em
}

.section-label.center {
    text-align: center
}

.news-wrap {
    display: grid;
    grid-template-columns: 170px 1fr 100px;
    gap: 28px;
    align-items: start
}

.news-list {
    border-top: 1px solid #dfe5e8
}

.news-row {
    display: grid;
    grid-template-columns: 100px 92px 1fr;
    gap: 14px;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px dotted #cfd7db;
    font-size: 15px
}

.news-row time {
    color: #000
}

.news-row span {
    border: 1px solid #71b4d8;
    color: #398bb8;
    text-align: center;
    font-size: 14px;
    padding: 2px 5px
}

.news-row p {
    margin: 0;
    color: #50575c
}

.news-row.muted {
    opacity: .62
}

.more {
    font-size: 15px;
    color: #287fae;
    border-bottom: 1px solid #8bbfdb;
    padding-bottom: 4px;
    margin-top: 10px
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px
}

.blog-grid article {
    background: #fff;
    border: 1px solid #e2e7e9
}

.thumb {
    height: 170px;
    background-size: cover;
    background-position: center
}

.endo-thumb {
    background-image: url('endo.png')
}

.doctor-thumb {
    background-image: url('doctor.png');
    background-position: 70% center
}

.simple-thumb {
    display: grid;
    place-items: center;
    background: #eaf5fa;
    color: #3991bd;
    font: italic 23px Georgia, serif
}

.blog-grid article time,
.blog-grid article h3,
.blog-grid article p {
    margin-left: 18px;
    margin-right: 18px
}

.blog-grid article time {
    display: block;
    margin-top: 16px;
    color: #000;
    font-size: 14px
}

.blog-grid article h3 {
    font-size: 17px;
    color: #4d555b;
    margin-top: 6px;
    margin-bottom: 8px
}

.blog-grid article p {
    font-size: 15px;
    color: #000;
    margin-top: 0;
    margin-bottom: 20px
}

.blog-grid article a {
    display: block;
    height: 100%;
    transition: background .2s
}

.blog-grid article a:hover {
    background: #f5fbfe
}

.blog-grid .thumb {
    background-color: #eaf5fa
}

.blog-grid .thumb.thumb-noimg {
    display: flex;
    align-items: center;
    justify-content: center
}

.blog-grid .thumb.thumb-noimg img {
    width: 50%;
    max-width: 150px;
    height: auto
}

.blog-empty {
    text-align: center;
    padding: 20px 0;
    color: #000;
    font-size: 15px
}

.dep-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 54px;
    align-items: center
}

.dep-left p {
    font-size: 16px;
    color: #000
}

.dep-names {
    display: flex;
    gap: 12px;
    margin: 8px 0 18px
}

.dep-names span {
    border-left: 4px solid #5eb5dc;
    background: #f4fafc;
    padding: 11px 24px;
    color: #4a5963;
    font-size: 18px
}

.blue-link {
    display: inline-block;
    margin-top: 15px;
    color: #267ea9;
    border-bottom: 1px solid #76b7d5;
    font-size: 15px
}

.hours-panel {
    border: 1px solid #dfe7eb;
    padding: 28px 32px;
    background: #fff
}

.hours-panel h3 {
    font-size: 21px;
    font-weight: 500;
    margin: 0 0 16px;
    color: #4e5a61
}

.hours-panel h4 {
    font-size: 15px;
    margin: 20px 0 8px;
    color: #4e5a61
}

.time-lines {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.time-lines p {
    margin: 0;
    background: #f1f8fb;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between
}

.time-lines b {
    font-size: 15px;
    font-weight: 500
}

.time-lines strong {
    font-size: 16px;
    color: #1674ae
}

.time-lines.reception p {
    background: #f8fafb
}

.hours-panel table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    text-align: center;
    font-size: 15px
}

.hours-panel th,
.hours-panel td {
    padding: 8px;
    border-bottom: 1px solid #e8edef
}

.hours-panel th {
    background: #f7f9fa;
    font-weight: 500
}

.note {
    font-size: 15px;
    color: #000;
    margin: 10px 0 0
}

.endo-banner {
    height: 380px;
    background: url('endo.png') center/cover no-repeat;
    position: relative
}

.endo-banner:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .86) 42%, rgba(255, 255, 255, .12) 70%)
}

.endo-inner {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative
}

.endo-text {
    max-width: 500px
}

.endo-text>span {
    font: italic 18px Georgia, serif;
    color: #55a6d1
}

.endo-text h2 {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 28px;
    font-weight: 500;
    color: #45565f;
    line-height: 1.6;
    margin: 5px 0 12px
}

.endo-text p {
    font-size: 15px;
    color: #333
}

.endo-text a {
    display: inline-block;
    margin-top: 12px;
    border: 1px solid #4e9dcc;
    color: #2d83b1;
    padding: 9px 30px;
    font-size: 15px
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px
}

.mini-grid a {
    padding: 26px 28px;
    border: 1px solid #dde5e8;
    position: relative;
    background: #fff
}

.mini-grid a:after {
    content: "";
    position: absolute;
    right: 26px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-top: 2px solid #56a8d3;
    border-right: 2px solid #56a8d3;
    transform: translateY(-50%) rotate(45deg)
}

.mini-grid strong {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #4b555b
}

.mini-grid span {
    font-size: 14px;
    color: #000
}

.ig-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px
}

.ig-grid div {
    aspect-ratio: 1;
    background: #eaf4f8;
    border: 1px solid #dae6eb;
    display: grid;
    place-items: center;
    text-align: center;
    font-size: 12px;
    color: #000
}

.access-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 40px
}

.access-grid h3 {
    font-weight: 500;
    color: #50595f
}

.access-tel b {
    font-size: 26px;
    color: #0f66ad;
    font-family: Georgia, serif;
    font-weight: 500
}

.small-note {
    font-size: 15px;
    color: #000
}

.small-note a {
    color: #0b62b7;
    text-decoration: underline
}

.parking {
    margin-top: 56px;
    padding-top: 44px;
    border-top: 1px solid #dfe7eb;
    scroll-margin-top: 20px
}

.parking h3 {
    font-size: 19px;
    font-weight: 500;
    color: #2c6f97;
    border-left: 4px solid #5eb5dc;
    padding-left: 14px;
    margin: 0 0 24px
}

.parking-grid {
    display: flex;
    gap: 24px;
    align-items: flex-start
}

.parking-image {
    flex: 1 1 0;
    min-width: 0;
    margin: 0
}

.parking-image img {
    width: 100%;
    height: auto;
    border: 1px solid #dfe7eb;
    background: #fff
}

@media(max-width:700px) {
    .parking-grid {
        flex-direction: column;
        gap: 16px
    }

    .parking-image {
        flex: none;
        width: 100%
    }
}

.google-map {
    min-height: 300px;
    border: 1px solid #dce4e8;
}

footer {
    border-top: 4px solid #4a9fd0;
    background: #f7f9fa;
    padding-top: 38px
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px
}

.footer-top img {
    width: 390px
}

.footer-top p {
    font-size: 15px;
    color: #000;
    margin: 4px 0
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    margin-top: 30px;
    border-top: 1px solid #e1e6e9;
    padding: 18px 0
}

.footer-links a:last-child {
    border-right: none
}

.footer-links a {
    font-size: 15px;
    color: #000;
    padding: 0 14px;
    border-right: 1px solid #d4dade
}

.footer-sublinks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    margin-top: -12px;
    padding-bottom: 18px
}

.footer-sublinks a:last-child {
    border-right: none
}

.footer-sublinks a {
    font-size: 13px;
    color: #000;
    padding: 0 14px;
    border-right: 1px solid #d4dade
}

.copy {
    text-align: center;
    background: #0d67a8;
    color: #dbeef8;
    font-size: 14px;
    padding: 9px;
    margin-top: 10px
}

@media(max-width:920px) {
    .header-main {
        height: 86px
    }

    .logo img {
        width: 360px
    }

    .header-info {
        display: none
    }

    .menu-btn {
        display: block;
        position: relative;
        z-index: 110
    }

    .global-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        max-width: 80%;
        background: #fff;
        border-top: 0;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform .3s ease;
        z-index: 100
    }

    body.home .global-nav {
        display: block
    }

    body.nav-open .global-nav {
        transform: translateX(0)
    }

    .nav-inner {
        display: block;
        padding: 86px 0 30px
    }

    .global-nav a {
        display: block;
        border-right: 0;
        border-left: 0 !important;
        border-bottom: 1px solid #edf0f2;
        text-align: left;
        padding: 16px 24px
    }

    .global-nav a:after {
        display: none
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .4);
        z-index: 90
    }

    body.nav-open .nav-overlay {
        display: block
    }

    body.nav-open {
        overflow: hidden
    }

    .mv {
        height: 400px
    }

    .mv-copy {
        width: 520px
    }

    .shortcut {
        display: none
    }

    .news-wrap {
        grid-template-columns: 1fr
    }

    .news-list {
        margin-top: -15px
    }

    .more {
        justify-self: start
    }

    .dep-grid,
    .access-grid {
        grid-template-columns: 1fr
    }

    .blog-grid {
        grid-template-columns: 1fr 1fr
    }

    .mini-grid {
        grid-template-columns: 1fr
    }

    .ig-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:600px) {
    .inner {
        width: min(100% - 28px, 1120px)
    }

    .header-main {
        height: 76px
    }

    .logo img {
        width: 275px
    }

    .mv {
        height: 360px
    }

    .mv-slide {
        background-position: 67% center
    }

    .mv-copy {
        width: 92%;
        padding: 22px;
        background: rgba(255, 255, 255, .91)
    }

    .mv-copy h1 {
        font-size: 23px
    }

    .news-row {
        grid-template-columns: 78px 70px 1fr;
        font-size: 11px
    }

    .blog-grid {
        grid-template-columns: 1fr
    }

    .time-lines {
        grid-template-columns: 1fr
    }

    .hours-panel {
        padding: 20px 14px;
        overflow-x: auto
    }

    .endo-banner {
        height: 390px
    }

    .endo-banner:before {
        background: rgba(255, 255, 255, .86)
    }

    .endo-text h2 {
        font-size: 24px
    }

    .footer-top {
        display: block
    }

    .footer-top img {
        width: 320px;
        margin-bottom: 14px
    }

    .footer-links {
        display: block
    }

    .footer-links a {
        display: block;
        border: 0;
        padding: 5px 0
    }

    .footer-sublinks {
        display: block;
        margin-top: 0
    }

    .footer-sublinks a {
        display: block;
        border: 0;
        padding: 4px 0
    }

    .ig-grid {
        grid-template-columns: 1fr 1fr
    }
}

.instagram-simple {
    text-align: center
}

.instagram-button {
    display: inline-block;
    min-width: 260px;
    padding: 14px 42px;
    border: 1px solid #4e9dcc;
    color: #1e72aa;
    background: #fff;
    font-size: 16px;
    letter-spacing: .06em;
    transition: .2s
}

.instagram-button:hover {
    background: #eef8fc
}

.director-grid {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 58px;
    align-items: center;
    max-width: 980px
}

.director-photo {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    background: #edf6fa
}

.director-photo img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    object-position: center center
}

.director-message h3 {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 27px;
    line-height: 1.65;
    font-weight: 500;
    color: #3f5664;
    margin: 0 0 18px
}

.director-message>p {
    font-size: 14px;
    color: #000;
    line-height: 2
}

.director-name {
    margin-top: 20px !important;
    color: #53616a !important
}

.director-name strong {
    font-size: 18px;
    font-weight: 500;
    margin-left: 8px
}

.director-link {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 30px;
    border: 1px solid #4e9dcc;
    color: #267fae;
    font-size: 12px
}

.director-link:hover {
    background: #eef8fc
}

@media(max-width:920px) {
    .director-grid {
        grid-template-columns: 1fr 1.15fr;
        gap: 32px
    }

    .director-photo {
        min-height: 330px
    }

    .director-photo img {
        height: 370px
    }
}

@media(max-width:600px) {
    .director-grid {
        grid-template-columns: 1fr
    }

    .director-photo {
        min-height: 0
    }

    .director-photo img {
        height: 360px
    }

    .director-message h3 {
        font-size: 23px
    }
}

/* v7: 院長紹介写真を少し引き気味に表示。元写真は変更せず、全身側の余白を見せる */
.director-photo {
    background: #f4f8fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 34px;
    min-height: 390px
}

.director-photo img {
    width: auto;
    height: auto;
    max-width: 82%;
    max-height: 380px;
    object-fit: contain;
    object-position: center center
}

@media(max-width:920px) {
    .director-photo {
        padding: 18px 24px;
        min-height: 330px
    }

    .director-photo img {
        width: auto;
        height: auto;
        max-width: 84%;
        max-height: 330px
    }
}

@media(max-width:600px) {
    .director-photo {
        padding: 18px;
        min-height: 0
    }

    .director-photo img {
        width: auto;
        height: auto;
        max-width: 78%;
        max-height: 330px
    }
}

/* v8: ユーザー提示イメージに合わせ、院長紹介は横長の元写真をそのまま使用。人物を引き気味に見せる */
.director-grid {
    grid-template-columns: 1fr 1.12fr;
    gap: 52px;
    max-width: 1120px
}

.director-photo {
    padding: 0;
    min-height: 0;
    height: 355px;
    background: #f4f8fa;
    overflow: hidden;
    display: block
}

.director-photo img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center center
}

@media(max-width:920px) {
    .director-grid {
        grid-template-columns: 1fr 1.1fr;
        gap: 30px
    }

    .director-photo {
        padding: 0;
        min-height: 0;
        height: 320px
    }

    .director-photo img {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none
    }
}

@media(max-width:600px) {
    .director-grid {
        grid-template-columns: 1fr
    }

    .director-photo {
        padding: 0;
        height: auto;
        aspect-ratio: 2/1
    }

    .director-photo img {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: cover
    }
}

/* v10: keep the approved director block image without cropping */
.director-photo {
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
    background: transparent !important;
}

.director-photo img {
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
}

@media(max-width:920px) {
    .director-photo {
        min-height: 0 !important;
        height: auto !important
    }

    .director-photo img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important
    }
}

@media(max-width:600px) {
    .director-photo {
        aspect-ratio: auto !important;
        height: auto !important;
        padding: 0 !important
    }

    .director-photo img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important
    }
}

/* page-greeting.php */
.page-template-page-greeting-php .sub-hero {
    padding: 58px 0 45px;
    background: #f2f8fb;
    border-bottom: 1px solid #e1e9ed
}

.page-template-page-greeting-php .sub-hero span {
    font: italic 18px Georgia, serif;
    color: #5aaad5
}

.page-template-page-greeting-php .sub-hero h1 {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 34px;
    font-weight: 500;
    color: #455963;
    margin: 3px 0
}

.page-template-page-greeting-php .breadcrumb {
    font-size: 11px;
    color: #000;
    margin-top: 12px
}

.greeting-wrap {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 60px;
    align-items: start
}

.greeting-photo img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    object-position: center top
}

.greeting-body h2 {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 27px;
    font-weight: 500;
    line-height: 1.65;
    color: #405764;
    margin: 0 0 22px
}

.greeting-body h3 {
    font-size: 17px;
    font-weight: 500;
    color: #247fac;
    border-left: 4px solid #66b8dd;
    padding-left: 13px;
    margin: 30px 0 12px
}

.greeting-body p {
    font-size: 14px;
    line-height: 2.05;
    color: #000
}

.signature {
    text-align: right;
    margin-top: 30px !important
}

.signature strong {
    font-size: 20px;
    font-weight: 500;
    margin-left: 10px
}

.qualifications {
    margin-top: 55px;
    padding: 30px 36px;
    background: #f7fafb;
    border-top: 2px solid #67b4d8
}

.qualifications h2 {
    font-size: 20px;
    font-weight: 500;
    color: #4b5b63;
    margin: 0 0 14px
}

.qualifications ul {
    margin: 0;
    padding-left: 1.3em;
    font-size: 13px;
    line-height: 2;
    color: #000
}

@media(max-width:700px) {
    .greeting-wrap {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .page-template-page-greeting-php .sub-hero h1 {
        font-size: 29px
    }

    .greeting-photo img {
        max-height: 430px
    }
}

/* page-endoscopy.php */
.page-template-page-endoscopy-php .sub-hero {
    background: #f2f8fb;
    border-bottom: 1px solid #e1e9ed
}

.page-template-page-endoscopy-php .sub-hero .inner {
    position: relative;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 46px;
    background: linear-gradient(90deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .8) 40%, rgba(255, 255, 255, .05) 70%), url('endoscopy_fv.png') no-repeat center top/cover;
    text-align: left
}

.page-template-page-endoscopy-php .sub-hero span {
    font: italic 18px Georgia, serif;
    color: #5aaad5
}

.page-template-page-endoscopy-php .sub-hero h1 {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 34px;
    font-weight: 500;
    color: #455963;
    margin: 3px 0
}

.page-template-page-endoscopy-php .breadcrumb {
    font-size: 11px;
    color: #000;
    margin-top: 12px
}

.endo-lead-section {
    padding-bottom: 0
}

.endo-lead {
    text-align: center;
    margin: 0 auto 80px;
}

.endo-lead h2 {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 45px;
    font-weight: 500;
    color: #2c6f97;
    margin: 0 0 12px
}

.endo-lead p {
    font-size: 15px;
    color: #333;
    margin: 0
}

.endo-btn-section {
    padding-top: 60px;
    padding-bottom: 60px;
    background: #f2f8fb;
    border-top: 1px solid #e1e9ed;
    border-bottom: 1px solid #e1e9ed;
}

.endo-btn-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto
}

.endo-btn-grid a {
    display: block;
    transition: transform .2s, opacity .2s
}

.endo-btn-grid a:hover {
    opacity: .85;
    transform: translateY(-3px)
}

.endo-btn-grid img {
    width: 100%;
    height: auto;
    display: block
}

.endo-block {
    scroll-margin-top: 20px
}

.endo-page-inner {
    max-width: 860px;
    margin: 0 auto
}

.endo-block {
    margin-top: 52px;
    padding-top: 40px;
    border-top: 1px solid #e4e8ec
}

.endo-block:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: 0
}

.endo-block h3 {
    font-size: 19px;
    font-weight: 500;
    color: #2c6f97;
    border-left: 4px solid #5eb5dc;
    padding-left: 14px;
    margin: 0 0 18px
}

.endo-block>p {
    font-size: 15px;
    line-height: 1.95;
    color: #333;
    margin: 0 0 14px
}

.endo-checklist,
.endo-list {
    list-style: none;
    margin: 18px 0;
    padding: 0
}

.endo-checklist li,
.endo-list li {
    position: relative;
    padding: 10px 0 10px 30px;
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    border-bottom: 1px dotted #e2e7ea
}

.endo-checklist li:before {
    content: "";
    position: absolute;
    left: 2px;
    top: 15px;
    width: 13px;
    height: 13px;
    border: 1px solid #7cbcdd;
    background: #fff
}

.endo-list li:before {
    content: "";
    position: absolute;
    left: 6px;
    top: 19px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #5eb5dc
}

.endo-steps {
    counter-reset: endo-step;
    list-style: none;
    margin: 18px 0;
    padding: 0
}

.endo-steps li {
    position: relative;
    padding: 4px 0 18px 40px;
    font-size: 14px;
    line-height: 1.85;
    color: #333
}

.endo-steps li:before {
    counter-increment: endo-step;
    content: counter(endo-step);
    position: absolute;
    left: 0;
    top: 2px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #0b62b7;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center
}

.endo-note {
    margin-top: 22px;
    padding: 20px 24px;
    background: #f2f8fb;
    border-left: 4px solid #5eb5dc
}

.endo-note strong {
    display: block;
    font-size: 14px;
    color: #2c6f97;
    margin-bottom: 8px
}

.endo-note p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.85;
    color: #333
}

.endo-symptoms {
    list-style: none;
    margin: 18px 0;
    padding: 0
}

.endo-symptoms li {
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    background: #fbf3f2;
    border-left: 4px solid #c1554f;
    margin-bottom: 8px
}

.endo-symptoms li strong {
    display: inline-block;
    color: #b0413a;
    margin-right: 8px
}

.endo-symptoms-note {
    background: transparent !important;
    border-left: 4px solid #d9dee1 !important;
    color: #000
}

.endo-faq {
    margin: 18px 0 0
}

.endo-faq>div {
    padding: 18px 0;
    border-bottom: 1px solid #e4e8ec
}

.endo-faq dt {
    font-size: 14.5px;
    font-weight: 500;
    color: #2c6f97;
    margin: 0 0 8px
}

.endo-faq dt:before {
    content: "Q. ";
    color: #5eb5dc
}

.endo-faq dd {
    margin: 0;
    padding-left: 22px;
    font-size: 13.5px;
    line-height: 1.85;
    color: #333
}

.endo-cta {
    margin-top: 60px;
    padding: 38px;
    text-align: center;
    background: #f7fafb;
    border-top: 2px solid #67b4d8
}

.endo-cta p {
    margin: 0 0 16px;
    font-size: 15px;
    color: #333
}

.endo-cta-link {
    display: inline-block;
    padding: 12px 34px;
    border: 1px solid #4e9dcc;
    color: #267fae;
    font-size: 14px
}

@media(max-width:700px) {
    .page-template-page-endoscopy-php .sub-hero .inner {
        min-height: 220px;
        padding: 0 24px
    }

    .page-template-page-endoscopy-php .sub-hero h1 {
        font-size: 24px
    }

    .page-template-page-endoscopy-php .sub-hero span {
        font-size: 15px
    }

    .endo-lead {
        padding: 24px 22px
    }

    .endo-lead h2 {
        font-size: 22px
    }

    .endo-btn-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px
    }

    .endo-block {
        margin-top: 38px;
        padding-top: 30px
    }

    .endo-block h3 {
        font-size: 17px
    }

    .endo-cta {
        padding: 30px 20px
    }
}

/* page-contact.php */
.page-template-page-contact-php .sub-hero {
    background: #f2f8fb;
    border-bottom: 1px solid #e1e9ed
}

.page-template-page-contact-php .sub-hero .inner {
    position: relative;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 46px;
    background: linear-gradient(90deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .8) 40%, rgba(255, 255, 255, .05) 70%), url('contact_fv.png') no-repeat center top/cover;
    text-align: left
}

.page-template-page-contact-php .sub-hero span {
    font: italic 18px Georgia, serif;
    color: #5aaad5
}

.page-template-page-contact-php .sub-hero h1 {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 34px;
    font-weight: 500;
    color: #455963;
    margin: 3px 0
}

.page-template-page-contact-php .breadcrumb {
    font-size: 11px;
    color: #000;
    margin-top: 12px
}

.contact-form-inner {
    max-width: 680px;
    margin: 0 auto
}

.contact-lead {
    font-size: 14.5px;
    line-height: 1.9;
    color: #333;
    margin: 0 0 40px
}

.contact-lead p {
    margin: 0
}

.contact-tel-box {
    margin: 16px 0;
    padding: 16px 24px;
    background: #f2f8fb;
    border: 1px solid #cfe3ee;
    text-align: center;
}

.contact-urgent {
    display: inline-block;
    position: relative;
    padding-left: 26px;
    font-size: 15.5px;
    font-weight: 700;
    color: #c1554f;
    background: linear-gradient(transparent 62%, #fde9c8 62%)
}

.contact-urgent:before {
    content: "!";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #c1554f;
    color: #fff;
    font-size: 12px;
    line-height: 18px;
    text-align: center
}

.contact-tel a {
    font-family: Georgia, serif;
    font-size: 22px;
    color: #0b62b7;
    letter-spacing: .02em
}

.contact-tel span {
    margin-left: 18px;
    font-size: 14px
}

.contact-privacy-link {
    color: #c1554f;
    font-weight: 700;
    text-decoration: underline
}

.contact-form-wrap .wpcf7-form p {
    margin: 0 0 24px
}

.contact-form-wrap .wpcf7-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #4a5158;
    margin-bottom: 8px
}

.contact-form-wrap .wpcf7-form input[type=text],
.contact-form-wrap .wpcf7-form input[type=email],
.contact-form-wrap .wpcf7-form input[type=tel],
.contact-form-wrap .wpcf7-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d8dde1;
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    background: #fff
}

.contact-form-wrap .wpcf7-form textarea {
    min-height: 160px;
    resize: vertical
}

.contact-form-wrap .wpcf7-form input:focus,
.contact-form-wrap .wpcf7-form textarea:focus {
    outline: none;
    border-color: #5eb5dc
}

.contact-form-wrap .wpcf7-submit {
    display: block;
    margin: 36px auto 0;
    padding: 14px 60px;
    background: #0b62b7;
    color: #fff;
    border: 0;
    font-size: 16px;
    letter-spacing: .06em;
    cursor: pointer
}

.contact-form-wrap .wpcf7-submit:hover {
    background: #0a559f
}

.contact-form-wrap .wpcf7-spinner {
    margin: 10px auto 0;
    display: block
}

.contact-form-wrap .wpcf7-not-valid-tip {
    color: #c1554f;
    font-size: 12.5px;
    margin-top: 6px
}

.contact-form-wrap .wpcf7-response-output {
    margin: 26px 0 0;
    padding: 14px 18px;
    border: 1px solid #d8dde1;
    font-size: 14px;
    text-align: center
}

@media(max-width:700px) {

    .page-template-page-contact-php .sub-hero .inner {
        min-height: 220px;
        padding: 0 24px
    }

    .page-template-page-contact-php .sub-hero h1 {
        font-size: 24px
    }

    .page-template-page-contact-php .sub-hero span {
        font-size: 15px
    }
}

/* page-guide.php */
.page-template-page-guide-php .sub-hero {
    background: #f2f8fb;
    border-bottom: 1px solid #e1e9ed
}

.page-template-page-guide-php .sub-hero .inner {
    position: relative;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 46px;
    background: linear-gradient(90deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .8) 40%, rgba(255, 255, 255, .05) 70%), url('guide_fv.png') no-repeat center top/cover;
    text-align: left
}

.page-template-page-guide-php .sub-hero span {
    font: italic 18px Georgia, serif;
    color: #5aaad5
}

.page-template-page-guide-php .sub-hero h1 {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 34px;
    font-weight: 500;
    color: #455963;
    margin: 3px 0
}

.page-template-page-guide-php .breadcrumb {
    font-size: 11px;
    color: #000;
    margin-top: 12px
}

.guide-lead-section {
    padding-bottom: 0
}

.guide-lead {
    text-align: center
}

.guide-lead h2 {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 32px;
    font-weight: 500;
    color: #2c6f97;
    margin: 0 0 20px
}

.guide-lead p {
    font-size: 15px;
    line-height: 2;
    color: #333;
    margin: 0 0 12px
}

.overview-table {
    width: 100%;
    max-width: 860px;
    margin: 10px auto 0;
    border-collapse: collapse
}

.overview-table th {
    width: 180px;
    text-align: left;
    padding: 16px 20px;
    background: #f7fafb;
    color: #4e5a61;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid #e8edef;
    vertical-align: top
}

.overview-table td {
    padding: 16px 20px;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #e8edef
}

.philosophy-box {
    max-width: 860px;
    margin: 50px auto 0;
    padding: 40px;
    background: #f2f8fb;
    border-top: 2px solid #67b4d8;
    text-align: center
}

.philosophy-box h3 {
    font-size: 16px;
    font-weight: 500;
    color: #4b5b63;
    margin: 0 0 18px;
    letter-spacing: .06em
}

.philosophy-box p {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.9;
    color: #2c6f97;
    margin: 0
}

.contact-hours-panel {
    max-width: 760px;
    margin: 0 auto
}

.guide-cta {
    text-align: center
}

.guide-cta p {
    margin: 0 0 16px;
    font-size: 15px;
    color: #333
}

.guide-cta-link {
    display: inline-block;
    padding: 12px 34px;
    border: 1px solid #4e9dcc;
    color: #267fae;
    font-size: 14px
}

@media(max-width:700px) {

    .page-template-page-guide-php .sub-hero .inner {
        min-height: 220px;
        padding: 0 24px
    }

    .page-template-page-guide-php .sub-hero h1 {
        font-size: 24px
    }

    .page-template-page-guide-php .sub-hero span {
        font-size: 15px
    }

    .overview-table th {
        width: 110px;
        padding: 12px 14px;
        font-size: 13px
    }

    .overview-table td {
        padding: 12px 14px;
        font-size: 13px
    }

    .philosophy-box {
        padding: 26px 22px
    }

    .philosophy-box p {
        font-size: 16px
    }

    .guide-lead h2 {
        font-size: 23px
    }

    .guide-lead p {
        text-align: left
    }

    .guide-lead br {
        display: none
    }
}

/* archive-private_practice.php / single-private_practice.php */
.post-type-archive-private_practice .sub-hero,
.single-private_practice .sub-hero {
    background: #f2f8fb;
    border-bottom: 1px solid #e1e9ed
}

.post-type-archive-private_practice .sub-hero .inner,
.single-private_practice .sub-hero .inner {
    position: relative;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 46px;
    background: linear-gradient(90deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .8) 40%, rgba(255, 255, 255, .05) 70%), url('jiyushinryou_fv.png') no-repeat center top/cover;
    text-align: left
}

.post-type-archive-private_practice .sub-hero span,
.single-private_practice .sub-hero span {
    font: italic 18px Georgia, serif;
    color: #5aaad5
}

.post-type-archive-private_practice .sub-hero h1,
.single-private_practice .sub-hero h1 {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 34px;
    font-weight: 500;
    color: #455963;
    margin: 3px 0
}

.post-type-archive-private_practice .breadcrumb,
.single-private_practice .breadcrumb {
    font-size: 11px;
    color: #000;
    margin-top: 12px
}

.treatment-lead {
    text-align: center;
    margin: 0 0 50px
}

.treatment-lead p {
    font-size: 15px;
    color: #000
}

.treatment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px
}

.treatment-card {
    display: block;
    background: #fff;
    border: 1px solid #e2e7e9
}

.treatment-card .thumb {
    height: 170px;
    background-size: cover;
    background-position: center;
    background-color: #eaf5fa
}

.treatment-card .thumb.thumb-noimg {
    display: flex;
    align-items: center;
    justify-content: center
}

.treatment-card .thumb.thumb-noimg img {
    width: 50%;
    max-width: 150px;
    height: auto;
    display: block
}

.treatment-card h3 {
    font-size: 17px;
    color: #4d555b;
    margin: 16px 18px 4px
}

.treatment-card .excerpt {
    font-size: 14px;
    color: #000;
    margin: 0 18px 18px
}

.treatment-empty {
    text-align: center;
    padding: 40px 0;
    color: #000;
    font-size: 15px
}

.treatment-single-thumb {
    margin-bottom: 34px
}

.treatment-single-thumb img {
    width: 100%;
    max-height: 420px;
    object-fit: cover
}

.treatment-single-inner {
    max-width: 820px;
    margin: 0 auto
}

.treatment-body {
    font-size: 15px;
    line-height: 2;
    color: #333
}

.treatment-body h2 {
    font-size: 22px;
    font-weight: 500;
    color: #3d5361;
    margin: 34px 0 14px
}

.treatment-body h3 {
    font-size: 18px;
    font-weight: 500;
    color: #2c6f97;
    border-left: 4px solid #5eb5dc;
    padding-left: 14px;
    margin: 30px 0 12px
}

.treatment-body p {
    margin: 0 0 16px
}

.treatment-body img {
    max-width: 100%;
    height: auto
}

.treatment-back {
    display: inline-block;
    margin-top: 46px;
    padding: 12px 34px;
    border: 1px solid #4e9dcc;
    color: #267fae;
    font-size: 14px
}

@media(max-width:900px) {
    .treatment-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:700px) {

    .post-type-archive-private_practice .sub-hero .inner,
    .single-private_practice .sub-hero .inner {
        min-height: 220px;
        padding: 0 24px
    }

    .post-type-archive-private_practice .sub-hero h1,
    .single-private_practice .sub-hero h1 {
        font-size: 24px
    }

    .post-type-archive-private_practice .sub-hero span,
    .single-private_practice .sub-hero span {
        font-size: 15px
    }
}

@media(max-width:600px) {
    .treatment-grid {
        grid-template-columns: 1fr
    }
}

/* 404.php */
.not-found {
    padding: 120px 0;
    text-align: center
}

.not-found-inner {
    max-width: 560px;
    margin: 0 auto
}

.not-found-code {
    font: italic 64px Georgia, serif;
    color: #9dcce6;
    margin: 0 0 6px;
    letter-spacing: .04em
}

.not-found h1 {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 25px;
    font-weight: 500;
    color: #455963;
    margin: 0 0 20px
}

.not-found>.inner>p {
    font-size: 15px;
    line-height: 1.9;
    color: #000;
    margin: 0 0 34px
}

.not-found-link {
    display: inline-block;
    padding: 14px 44px;
    background: #0b62b7;
    color: #fff;
    font-size: 15px
}

.not-found-links {
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid #e4e8ec;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0
}

.not-found-links a {
    font-size: 14px;
    color: #000;
    padding: 0 16px;
    border-right: 1px solid #d4dade
}

.not-found-links a:last-child {
    border-right: 0
}

@media(max-width:600px) {
    .not-found {
        padding: 80px 0
    }

    .not-found-code {
        font-size: 50px
    }

    .not-found h1 {
        font-size: 21px
    }

    .not-found-links {
        display: block
    }

    .not-found-links a {
        display: block;
        border: 0;
        padding: 6px 0
    }
}

/* page-health_check.php */
.page-template-page-health_check-php .sub-hero {
    background: #f2f8fb;
    border-bottom: 1px solid #e1e9ed
}

.page-template-page-health_check-php .sub-hero .inner {
    position: relative;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 46px;
    background: linear-gradient(90deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .8) 40%, rgba(255, 255, 255, .05) 70%), url('health_check_fv.png') no-repeat center top/cover;
    text-align: left
}

.page-template-page-health_check-php .sub-hero span {
    font: italic 18px Georgia, serif;
    color: #5aaad5
}

.page-template-page-health_check-php .sub-hero h1 {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 34px;
    font-weight: 500;
    color: #455963;
    margin: 3px 0
}

.page-template-page-health_check-php .breadcrumb {
    font-size: 11px;
    color: #000;
    margin-top: 12px
}

.hc-inner {
    max-width: 900px;
    margin: 0 auto
}

.hc-intro {
    text-align: center;
    font-size: 15px;
    color: #333;
    margin: 0 0 30px
}

.hc-jump {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 34px
}

.hc-jump a {
    display: block;
    text-align: center;
    padding: 14px 10px;
    background: #fff;
    border: 1px solid #cfe3ee;
    color: #267fae;
    font-size: 14px;
    font-weight: 700
}

.hc-jump a:hover {
    background: #f2f8fb
}

.hc-notice {
    margin: 0;
    padding: 26px 30px;
    background: #fdf1e6;
    border: 2px solid #e8ab5e;
    border-radius: 10px
}

.hc-notice strong {
    display: block;
    font-size: 16px;
    color: #b06a1f;
    margin-bottom: 12px
}

.hc-notice p {
    margin: 0;
    font-size: 14px;
    line-height: 1.9;
    color: #333
}

.hc-inner h2 {
    font-size: 22px;
    font-weight: 500;
    color: #2c6f97;
    border-left: 4px solid #5eb5dc;
    padding-left: 16px;
    margin: 0 0 18px
}

.hc-inner h3 {
    font-size: 17px;
    font-weight: 500;
    color: #2c6f97;
    margin: 34px 0 16px
}

.hc-lead {
    font-size: 15px;
    color: #333;
    margin: 0 0 14px
}

.hc-inner>p {
    font-size: 15px;
    line-height: 1.95;
    color: #333;
    margin: 0 0 14px
}

.hc-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 22px 0
}

.hc-card {
    padding: 26px;
    background: #fff;
    border: 1px solid #e2e7e9
}

.hc-badge {
    display: inline-block;
    background: #0b62b7;
    color: #fff;
    border-radius: 20px;
    padding: 2px 12px;
    font-size: 12px;
    margin-bottom: 10px
}

.hc-card h3 {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    font-size: 16px
}

.hc-card p {
    font-size: 13.5px;
    line-height: 1.8;
    margin: 0 0 14px
}

.hc-price {
    font-size: 22px;
    font-weight: 600;
    color: #2c6f97
}

.hc-table-scroll {
    overflow-x: auto;
    border: 1px solid #e2e7e9
}

.hc-table {
    border-collapse: collapse;
    width: 100%;
    min-width: 640px;
    font-size: 13.5px;
    background: #fff
}

.hc-table th,
.hc-table td {
    padding: 12px 14px;
    border-right: 1px solid #e2e7e9;
    border-bottom: 1px solid #e2e7e9;
    text-align: left;
    vertical-align: top
}

.hc-table th {
    background: #f2f8fb;
    color: #2c6f97;
    font-weight: 500;
    text-align: center;
}

.hc-table td.hc-center {
    text-align: center;
}

.hc-table tr:last-child td {
    border-bottom: 0
}

.hc-table td:last-child,
.hc-table th:last-child {
    border-right: 0
}

.hc-list {
    counter-reset: hc-step;
    list-style: none;
    margin: 18px 0;
    padding: 0
}

.hc-list li {
    position: relative;
    padding: 4px 0 18px 40px;
    font-size: 14px;
    line-height: 1.85;
    color: #333
}

.hc-list li:before {
    counter-increment: hc-step;
    content: counter(hc-step);
    position: absolute;
    left: 0;
    top: 2px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #0b62b7;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center
}

.hc-note-text {
    display: block;
    font-size: 13.5px;
    color: #000;
    margin-top: 6px
}

p.hc-note-text {
    margin: 14px 0 0
}

.hc-contact-box {
    margin-top: 20px;
    padding: 26px 30px;
    background: #f2f8fb;
    border: 1px solid #cfe3ee;
    border-radius: 10px
}

.hc-contact-box h3 {
    font-size: 16px;
    font-weight: 500;
    color: #2c6f97;
    margin: 0 0 14px !important;
    text-align: center
}

.hc-contact-box p {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    text-align: center
}

.hc-contact-box p:last-child {
    margin-bottom: 0
}

.hc-hours {
    margin-top: 14px !important
}

.hc-cta {
    margin-top: 34px;
    padding: 34px;
    text-align: center;
    background: #fff;
    border: 1px solid #cfe3ee
}

.hc-cta p {
    margin: 0 0 16px;
    font-size: 14px;
    color: #333
}

.hc-cta a {
    display: inline-block;
    padding: 12px 34px;
    background: #0b62b7;
    color: #fff;
    font-size: 14px
}

.hc-cta a:hover {
    background: #0a559f
}

@media(max-width:700px) {
    .page-template-page-health_check-php .sub-hero .inner {
        min-height: 220px;
        padding: 0 24px
    }

    .page-template-page-health_check-php .sub-hero h1 {
        font-size: 24px
    }

    .page-template-page-health_check-php .sub-hero span {
        font-size: 15px
    }

    .hc-jump {
        grid-template-columns: 1fr 1fr
    }

    .hc-cards {
        grid-template-columns: 1fr
    }

    .hc-notice {
        padding: 20px
    }

    .hc-contact-box {
        padding: 20px
    }

    .hc-cta {
        padding: 24px 20px
    }
}

/* page-privacy.php */
.privacy-hero {
    background: #f2f8fb;
    border-bottom: 1px solid #e1e9ed
}

.privacy-hero .inner {
    position: relative;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 46px;
    background: linear-gradient(90deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .8) 40%, rgba(255, 255, 255, .05) 70%), url('contact_fv.png') no-repeat center top/cover;
    text-align: left
}

.privacy-hero span {
    font: italic 18px Georgia, serif;
    color: #5aaad5
}

.privacy-hero h1 {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 34px;
    font-weight: 500;
    color: #455963;
    margin: 3px 0
}

.privacy-hero .breadcrumb {
    font-size: 11px;
    color: #000;
    margin-top: 12px
}

.privacy-inner {
    max-width: 860px
}

.privacy-lead {
    font-size: 15px;
    line-height: 1.95;
    color: #333;
    margin: 0 0 10px
}

.privacy-block {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #e4e8ec
}

.privacy-block h2 {
    font-size: 18px;
    font-weight: 500;
    color: #2c6f97;
    border-left: 4px solid #5eb5dc;
    padding-left: 14px;
    margin: 0 0 16px
}

.privacy-block h3 {
    position: relative;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    padding-left: 18px;
    margin: 22px 0 8px
}

.privacy-block h3:before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 9px;
    height: 9px;
    background: #5eb5dc
}

.privacy-block p {
    font-size: 15px;
    line-height: 1.95;
    color: #333;
    margin: 0 0 12px
}

.privacy-block .privacy-note {
    font-size: 14px;
    color: #000;
    margin-bottom: 6px
}

.privacy-list,
.privacy-olist {
    margin: 10px 0 16px;
    padding-left: 1.6em;
    font-size: 14.5px;
    line-height: 1.9;
    color: #333
}

.privacy-list li,
.privacy-olist li {
    margin-bottom: 4px
}

.privacy-contact {
    margin-top: 14px;
    padding: 22px 26px;
    background: #f2f8fb;
    border: 1px solid #cfe3ee
}

.privacy-block .privacy-contact p {
    margin: 0;
    font-size: 15px
}

.privacy-contact a {
    color: #0b62b7;
    font-weight: 600
}

.privacy-date {
    margin: 44px 0 0;
    text-align: right;
    font-size: 15px;
    line-height: 1.9;
    color: #333
}

@media(max-width:700px) {
    .privacy-hero .inner {
        min-height: 220px;
        padding: 0 24px
    }

    .privacy-hero h1 {
        font-size: 24px
    }

    .privacy-hero span {
        font-size: 15px
    }

    .privacy-block {
        margin-top: 30px;
        padding-top: 24px
    }

    .privacy-block h2 {
        font-size: 16px
    }

    .privacy-contact {
        padding: 18px
    }
}

/* page-required-notice.php */
.notice-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line)
}

.notice-list li {
    border-bottom: 1px solid var(--line)
}

.notice-list a {
    position: relative;
    display: block;
    padding: 18px 60px 18px 20px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink);
    transition: background .2s, color .2s
}

.notice-list a:after {
    content: "PDF";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    background: #d9534f;
    border-radius: 3px
}

.notice-list a:hover {
    background: #f2f8fb;
    color: #2c6f97
}

@media(max-width:700px) {
    .notice-list a {
        padding: 14px 56px 14px 12px;
        font-size: 14px
    }
}


/* KMSグループ（footer.php） */
.kms-groups {
    background: #fff;
    border-top: 1px solid var(--line)
}

.kms-groups-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 20px;
    margin: 0;
    padding: 0;
    list-style: none
}

.kms-groups-list li {
    width: calc((100% - 60px) / 4)
}

.kms-groups-list a {
    display: block;
    height: 100%;
    background: #fff;
    border: 1px solid #e1e9ed;
    transition: border-color .2s, box-shadow .2s
}

.kms-groups-list img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: opacity .2s
}

.kms-groups-list p {
    margin: 0;
    padding: 12px 14px 14px;
    border-top: 3px solid #5eb5dc;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    color: #455963
}

.kms-groups-list p span {
    display: block;
    margin-bottom: 2px;
    font-size: 12px;
    font-weight: 400;
    color: #2c6f97
}

.kms-groups-list a:hover {
    border-color: #5eb5dc;
    box-shadow: 0 6px 18px rgba(44, 111, 151, .12)
}

.kms-groups-list a:hover img {
    opacity: .85
}

@media(max-width:920px) {
    .kms-groups-list li {
        width: calc((100% - 40px) / 3)
    }
}

@media(max-width:700px) {
    .kms-groups-list {
        gap: 14px 12px
    }

    .kms-groups-list li {
        width: calc((100% - 12px) / 2)
    }

    .kms-groups-list p {
        padding: 10px 10px 12px;
        font-size: 13px
    }

    .kms-groups-list p span {
        font-size: 11px
    }
}


/* page-health_check.php コース一覧表 */
.hc-table-legend {
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
    font-size: 13.5px;
    line-height: 1.8;
    color: #000
}

.hc-course-table {
    min-width: 720px
}

.hc-course-table thead th {
    vertical-align: middle;
    line-height: 1.5
}

.hc-course-table thead th:nth-child(n+3) {
    width: 20%
}

.hc-course-table thead th:first-child {
    width: 15%
}

.hc-course-table tbody th.hc-cat {
    background: #f7fafb;
    color: #455963;
    vertical-align: middle;
    white-space: nowrap
}

.hc-course-table td.hc-sub {
    color: #455963;
    vertical-align: middle;
    white-space: nowrap
}

.hc-course-table td.hc-center {
    vertical-align: middle
}

.hc-course-table .hc-mark-feature {
    color: #2c6f97
}

.hc-course-table tbody tr:last-child td {
    border-bottom: 1px solid #e2e7e9
}

.hc-course-table tfoot th,
.hc-course-table tfoot td {
    background: #f2f8fb;
    border-top: 2px solid #cfe3ee;
    border-bottom: 0;
    color: #2c6f97;
    font-size: 15px;
    font-weight: 600
}
