﻿/* ==========================================================================
   共通ユーティリティ (必要に応じて)
   ========================================================================== */
:root {
    --ark-font_family: "Noto Sans JP", "Helvetica Neue", "Arial", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
    --touyama-font_family--serif: "Noto Serif JP", "Hiragino Mincho ProN", serif;
    --ark-font_size: clamp(14px, 13.333px + 0.208vw, 16px);
    --ark-width--container: 1280px;
    --touyama-color--primary: #005d8c;
    --touyama-color--accent: #a18f76;
    --touyama-color--text: #222;
    --touyama-color--border: #dcdcdc
}
body {
  font-feature-settings: "palt";
}
/* レイアウト調整 */
.mt-10 {margin-top: 10px;}
.mt-20 {margin-top: 20px;}
.mt-30 {margin-top: 30px;}
.mt-50 {margin-top: 50px;}
.mt-80 {margin-top: 80px;}

.mb-10 {margin-bottom: 10px;}
.mb-20 {margin-bottom: 20px;}
.mb-30 {margin-bottom: 30px;}
.mb-50 {margin-bottom: 50px;}
.mb-80 {margin-bottom: 80px;}

.ml-10 {margin-left: 10px;}
.ml-20 {margin-left: 20px;}
.ml-30 {margin-left: 30px;}

.mr-10 {margin-right: 10px;}
.mr-20 {margin-right: 20px;}
.mr-30 {margin-right: 30px;}

.p-breadcrumb {
    max-width: 1280px;
}

.l-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
@media screen and (max-width: 767px) {
  .u-pc-only { display: none !important; }
  .l-inner.fv-parts {
    display: flex;
    flex-wrap: wrap;
    padding: 0 20px;
  }
}
@media screen and (min-width: 768px) {
  .u-sp-only { display: none !important; }
}

header.l-header {
    position: fixed;
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.25));
}
.u-font-serif {
    font-family: var(--touyama-font_family--serif)
}
.l-header .l-header__searchBtn {
    display: none !important
}
@media(min-width: 999px) {
    .l-header__body {
        display: flex !important;
        align-items: stretch;
        height: 70px;
    }
    .l-header__left {
        display: none
    }
    .l-header__drawerBtn {
        display: none !important
    }
    .l-header__center {
        overflow: hidden;
        width: 0;
        height: 0;
        padding: 0;
    }
    .l-header__right {
        height: 100%;
        margin-left: auto;
    }
}
@media(min-width: 1080px) {
    .l-header__center {
        width: 12%;
        max-width: 160px;
        height: auto;
        max-height: 150px;
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        padding: 20px 15px 15px;
        margin-right: auto;
        border-radius: 0 0 25% 0;
        background-color: white;
    }
    .l-header__logo {
        justify-content: center !important;
    }
    .c-headLogo__img {
        width: 100%;
    }
}
@media not all and (min-width: 999px) {
    .l-header {
        background: rgba(0, 0, 0, 0);
        box-shadow: none
    }
    .l-header__body {
        display: flex;
        align-items: flex-start;
        justify-content: flex-end;
        height: 0;
        padding: 0;
    }
    .l-header__center {
        display: none
    }
    .l-header__drawerBtn {
        width: auto;
        height: auto;
        margin-left: auto;
        padding: 10px 8px 15px;
        color: #fff;
        background-color: var(--touyama-color--primary, #005d8c);
        border-radius: 0 0 0 25px;
    }
}
.l-footer {
    color: #fff;
    background: var(--touyama-color--primary, #005d8c)
}
.l-footer :is(a, span) {
    text-decoration: none
}
.l-footer__main {
    padding: 3.5rem 0 2rem
}
.l-footer__mainInner {
    display: grid;
    grid-row-gap: 2rem;
    grid-template-columns: 1fr;
	text-align: left;
	width: calc(100% - 40px);
	max-width: 560px;
	margin: auto;
}
@media(min-width: 999px) {
    .l-footer__mainInner {
        grid-template-columns: 22% 18% 2fr;
        column-gap: 1.5rem;
		max-width: 100%;
    }
}
.l-footer__about {
    text-align: center
}
/* @media(min-width: 999px) {
    .l-footer__about {
        text-align: left
    }
} */
.c-footLogo {
    display: inline-block;
    max-width: 160px;
    margin: 0 20px;
}
.c-footLogo__img {
    width: 100%;
    height: auto
}
.l-footer__clinicName {
    margin-top: .75rem;
    font-size: 1.1rem;
    font-weight: 700
}
.l-footer__clinicDept {
    margin-top: .25rem;
    font-size: .85rem;
    opacity: .85
}
.l-footer__address {
    margin-top: .5rem;
    font-size: .8rem;
    font-style: normal;
    text-decoration: none;
    line-height: 1.6;
    text-align: center
}
.l-footer__nav {
    margin-bottom: 0
}
.c-footNav {
    display: grid;
    gap: .6rem;
    grid-template-columns: 1fr 1fr;
    list-style: none;
}
@media(min-width: 999px) {
    .c-footNav {
        grid-template-columns: 1fr;
        text-align: left
    }
}
.c-footNav a {
    font-size: 1rem;
    font-weight: 500;
    color: inherit;
    padding: 0;
}
.c-footNav .sub-menu {
    display: block;
    margin-top: .5em;
    font-size: .85rem;
    font-weight: normal;
    list-style: none
}
.c-footNav .sub-menu a {
    font-size: .85rem;
    font-weight: normal
}
.l-footer__medical {
	width: 100%;
	text-align: left;
}
.c-footNav__heading {
    margin-bottom: .9rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
}
.c-footMedical {
    display: grid;
    gap: .6rem;
    grid-template-columns: 1fr 1fr;
    list-style: none;
    padding: 0;
}
@media(min-width: 600px) {
    .c-footMedical {
        grid-template-columns: repeat(2, 1fr)
    }
}
@media(min-width: 1280px) {
    .c-footMedical {
        grid-template-columns: repeat(3, 1fr)
    }
}
.c-footMedical a {
    font-size: .9rem;
    color: inherit;
    text-decoration: none
	width: 100%;
}
.c-footMedical a::before {
    margin-right: .4em;
    content: "・"
}
.l-footer__foot {
    padding: 0 0 60px;
}
.c-copyright {
    font-size: .8rem;
    color: #fff
}
.c-copyright__privacy {
    margin-left: 1em
}
.c-copyright__privacy a {
    color: inherit;
}
.admin-bar .p-drawer {
    top: 0 !important;
}
.p-drawer {
    padding-top: 0;
    color: var(--touyama-color--text, #222);
    background: #fff;
    height: 100vh !important;
}
@media(min-width: 999px) {
    .p-drawer {
        max-width: 100%;
        padding-top: 110px
    }
}
@media not all and (min-width: 999px) {
    [data-drawer=opened] .l-header__drawerBtn {
        color: #222 !important;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 999;
        background-color: transparent !important;
    }
}
.p-drawer__close {
    display: none
}
.c-drawerNav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 0
}
.c-drawerNav>li {
    border-bottom: 1px solid var(--touyama-color--border, #ddd)
}
.c-drawerNav>li:last-child {
    border-bottom: none;
}
.c-drawerNav>li:nth-child(odd) {
    padding-right: 2vw
}
.c-drawerNav>li:nth-child(even) {
    padding-left: 2vw
}
.c-drawerNav>li:last-child:nth-child(odd) {
    grid-column: 1/-1;
    padding-right: 0
}
.c-drawerNav .c-gnav__a, .c-drawerNav a {
    display: flex;
    align-items: center;
    padding: 1em 0;
    font-size: 1.05rem;
    font-weight: 500;
    color: inherit;
    text-decoration: none
}
.c-drawerNav .c-gnav__a::before, .c-drawerNav a::before {
    margin-right: .5em;
    color: var(--touyama-color--primary, #005d8c);
    content: "▶";
    font-size: .7em
}
.c-drawerNav .sub-menu {
    display: none
}
.p-drawer__body {
	padding-bottom: 50px;
}
.p-drawerMedical {
    margin-top: 1.5rem
}
.p-drawerMedical__label {
    margin-bottom: .5em;
    font-size: 1rem;
    color: inherit
}
.p-drawerMedical__heading {
    margin-top: 1.25em;
    margin-bottom: .5em;
    font-size: 1.08rem;
    font-weight: 500;
    color: var(--touyama-color--primary, #005d8c)
}
.p-drawerMedical__heading a {
	text-decoration: none;
    color: var(--touyama-color--primary, #005d8c)
}
.p-drawerMedical__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 4vw;
    list-style: none
}
.p-drawerMedical__list.-single {
    grid-template-columns: 1fr
}
.p-drawerMedical__list li {
    padding: .35em 0
}
.p-drawerMedical__list a {
    display: flex;
    align-items: flex-start;
    font-size: .98rem;
    color: inherit;
    text-decoration: none
}
.p-drawerMedical__list a::before {
    margin-right: .5em;
    color: var(--touyama-color--primary, #005d8c);
    font-size: .7em;
    line-height: 1.8;
    content: "▶"
}
.c-cta {
    --cta-primary: var(--touyama-color--primary, #005d8c);
    --cta-accent: var(--touyama-color--accent, #a18f76)
}
.c-cta a {
    text-decoration: none
}
.c-cta__icon {
    display: block;
    flex-shrink: 0;
    width: 20px;
    height: 20px
}
@media(min-width: 999px) {
    .c-cta.-header {
        display: flex;
        align-items: stretch;
        height: 100%
    }
    .c-cta.-header .c-cta__tel {
        display: flex;
        align-items: center;
        gap: .5em;
        padding: 0 1.2rem 0 0.8rem;
        color: var(--touyama-color--text, #222);
    }
    .c-cta.-header .c-cta__tel .c-cta__icon {
        color: var(--cta-accent)
    }
    .c-cta.-header .c-cta__telInner {
        display: flex;
        flex-direction: column;
        line-height: 1.3;
        text-align: left
    }
    .c-cta.-header .c-cta__telNum {
        font-size: 1.35rem;
        font-weight: 500;
        letter-spacing: .02em
    }
    .c-cta.-header .c-cta__telHours {
        font-size: .7rem;
        color: #666;
        white-space: nowrap
    }
    .c-cta.-header .c-cta__web {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 160px;
        height: 100px;
        padding: 0 1rem;
        color: #fff;
        text-align: center;
        background: var(--cta-primary);
        border-radius: 0 0 0 25px;
		border: 1px var(--cta-primary) solid;
		transition: 0.4s;
    }
	.c-cta.-header .c-cta__web img.white{
		display: inline-block;
		transition: 0.4s;
	}
	.c-cta.-header .c-cta__web img.blue{
		display: none;
		transition: 0.4s;
	}
	.c-cta.-header .c-cta__web:hover {
		background-color: white;
        color: var(--cta-primary);
	}
	.c-cta.-header .c-cta__web:hover img.white{
		display: none;
	}
	.c-cta.-header .c-cta__web:hover img.blue{
		display: inline-block;
	}
	.c-cta.-header .c-cta__web .c-cta__icon {
        width: 40px;
        height: auto;
    }
    .c-cta.-header .c-cta__webLabel {
        font-size: .95rem;
        font-weight: 700;
        margin-left: 0.4em;
    }
    .c-cta.-header .c-cta__webLabel small {
        display: block;
        font-size: .65rem;
        font-weight: normal
    }
}
.c-cta.-drawer {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    margin-top: 2rem
}
.c-cta.-drawer a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6em;
    padding: 1em 1.2em;
    color: #fff;
    border-radius: 999px
}
.c-cta.-drawer .c-cta__tel {
    background: var(--cta-accent)
}
.c-cta.-drawer .c-cta__web {
    background: var(--cta-primary)
}
.c-cta.-drawer .c-cta__telInner {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    column-gap: .6em
}
.c-cta.-drawer .c-cta__telNum {
    font-size: 1.2rem;
    font-weight: 700
}
.c-cta.-drawer .c-cta__telHours {
    font-size: .75rem
}
.c-cta.-drawer .c-cta__webLabel {
    font-weight: 700
}
.c-cta.-drawer .c-cta__webLabel small {
    margin-left: .4em;
    font-size: .8em;
    font-weight: normal
}
.js-cta-fix-fv.c-cta.-fixbar {
	pointer-events: none;
	opacity: 0;
	transition: 0.4s;
}
.js-cta-fix-fv.is-visible.c-cta.-fixbar {
	pointer-events: initial;
	opacity: 1;
	transition: 0.4s;
}
.c-cta.-fixbar {
    display: none;
}
@media not all and (min-width: 999px) {
    .c-cta.-fixbar {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 40;
        display: flex;
        padding-bottom: env(safe-area-inset-bottom)
    }
}
.c-cta.-fixbar a {
    display: flex;
    flex: 1 1 50%;
    align-items: center;
    justify-content: center;
    gap: .5em;
    padding: 0.8em .5em 0.8em 0;
    color: #fff
}
.c-cta.-fixbar .c-cta__tel {
    background: var(--cta-accent)
}
.c-cta.-fixbar .c-cta__web {
    background: var(--cta-primary)
}
.c-cta.-fixbar .c-cta__telInner {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    text-align: left
}
.c-cta.-fixbar .c-cta__telNum {
    font-size: 1.15rem;
    font-weight: 700
}
.c-cta.-fixbar .c-cta__telHours {
    font-size: .65rem
}
.c-cta.-fixbar .c-cta__webLabel {
    font-size: 1.2rem;
    font-weight: 700
}
.c-cta.-fixbar .c-cta__webLabel small {
    display: block;
    font-size: .75rem;
    font-weight: normal
}
@media not all and (min-width: 999px) {
    body {
        padding-bottom: 64px
    }
    .p-fixBtnWrap {
        bottom: calc(64px + 6%)
    }
}
@media(min-width: 999px) {
    .c-gnavWrap {
        height: 100%;
        display: flex;
        align-items: center;
    }
    .c-gnav {
        height: 25px;
        font-size: 1rem;
        font-weight: 500;
        color: var(--touyama-color--text, #222)
    }
    .c-gnav__li:not(:last-child) {
        border-right: 1px solid var(--touyama-color--border, #ddd)
    }
    .c-gnav__li>.c-gnav__a {
        font-size: clamp(0.8rem, 1.5vw, 1rem);
        padding: 0 0.8rem;
        position: relative;
    }
    .c-gnav__li.-current>.c-gnav__a, .c-gnav__li[aria-current=page]>.c-gnav__a, .c-gnav__li:hover>.c-gnav__a {
        color: var(--touyama-color--primary, #005d8c)
    }
    .c-gnav__li.menu-item-has-children>.c-gnav__a::after {
        position: absolute;
        bottom: -20px;
        left: 0;
        right: 0;
        margin: auto;
        content: "▾";
        opacity: .6
    }
    .c-gnav__depth1.c-gnavMega {
        top: 85px;
        right: 10%;
        width: 70%;
        min-width: 920px;
        padding: 0;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .22);
        transform: translateX(-50%);
        position: fixed
    }
    .c-gnav__depth1.c-gnavMega::before {
        display: none
    }
    .c-gnavMega__inner {
        display: flex;
        gap: 50px;
        justify-content: space-between;
        width: 100%;
        padding: 2.25rem 2.55rem 3rem;
    }
    .c-gnavMega__heading {
        text-align: left;
        padding-bottom: .35em;
        margin-bottom: .7em;
        font-size: 1rem;
        font-weight: 500;
        color: var(--touyama-color--primary, #005d8c);
        border-bottom: 1px solid var(--touyama-color--primary, #005d8c)
    }
	.c-gnavMega__heading a {
		text-decoration: none;
        color: var(--touyama-color--primary, #005d8c);
	}
    .c-gnavMega__list {
        list-style: none
    }
    .c-gnavMega__list li:not(:first-child) {
        margin-top: .65em
    }
    .c-gnavMega__list a {
        display: flex;
        align-items: flex-start;
        font-size: .9rem;
        text-align: left;
        line-height: 1.5;
        color: var(--touyama-color--text, #222);
        text-decoration: none;
        transition: color .2s
    }
    .c-gnavMega__list a::before {
        flex-shrink: 0;
        margin-right: .5em;
        color: var(--touyama-color--primary, #005d8c);
        font-size: .7em;
        line-height: 1.9;
        content: "▶"
    }
    .c-gnavMega__list a:hover {
        color: var(--touyama-color--primary, #005d8c);
    }
}

/* ==========================================================================
   最下部CTA (p-home-bottom-cta)
   ========================================================================== */
.p-home-bottom-cta {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}
.p-home-bottom-cta__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.p-home-bottom-cta__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.35);
    /* 背景写真を暗くして文字の視認性を確保 */
}
.p-home-bottom-cta__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8%;
}
.p-home-bottom-cta__message {
    width: fit-content;
}
.p-home-bottom-cta__text {
    font-family: "Hiragino Mincho ProN", "Shippori Mincho", Georgia, serif;
    font-size: 32px;
    font-weight: 500;
    color: #fff;
    line-height: 1.6;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.p-home-bottom-cta__btns {
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.p-home-bottom-cta__btn {
    background-color: #fff;
    border-radius: 6px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-decoration: none;
    color: #006699;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s, box-shadow 0.2s;
}
.p-home-bottom-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}
.p-home-bottom-cta__icon img {
    width: 32px;
    height: auto;
    display: block;
}
.p-home-bottom-cta__btn-text {
    display: flex;
    flex-direction: column;
}
.p-home-bottom-cta__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}
.p-home-bottom-cta__sub {
    font-size: 14px;
    font-weight: normal;
    text-align: center;
    color: #006699;
}
/* ==========================================================================
   レスポンシブ (SP)
   ========================================================================== */
@media screen and (max-width: 998px) {
    .p-home-bottom-cta {
        padding: 60px 0;
    }
    .p-home-bottom-cta__inner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .p-home-bottom-cta__text {
        font-size: 22px;
    }
    .p-home-bottom-cta__btns {
        max-width: 100%;
    }
    .p-home-bottom-cta__btn {
        padding: 14px 20px;
        gap: 12px;
    }
    .p-home-bottom-cta__title {
        font-size: 16px;
    }
    .p-home-bottom-cta__sub {
        font-size: 12px;
    }
}

/* ==========================================================================
   クリニック情報・アクセス (p-home-access)
   ========================================================================== */
.p-home-access {
  padding: 60px 0 100px;
}

.p-home-access__inner {
  display: flex;
  gap: 50px;
  align-items: center;
}

.p-home-access__info {
    width: 35%;
}

.p-home-access__sub {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin-bottom: 6px;
}

.p-home-access__name {
  font-size: 28px;
  font-weight: 700;
	font-family: serif;
	margin-bottom: 20px;
}

.p-home-access__station,
.p-home-access__address {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 16px;
}

.p-home-access__tel-box {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.p-home-access__tel {
  font-size: 28px;
  font-weight: 700;
  color: #000;
  text-decoration: none;
  font-family: sans-serif;
}

.p-home-access__tel-note {
  font-size: 12px;
  color: #666;
}

.p-home-access__btns {
  display: flex;
  gap: 15px;
}

.c-btn-blue {
  display: inline-block;
  flex: 1;
  width: 100%;
  max-width: 220px;
  text-align: center;
  background-color: #006699;
  color: #fff;
  padding: 12px 10px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
	border: 1px solid #006699;
	transition: 0.3s;
}

.c-btn-blue:hover {
  background-color: #fff;
  color: #006699;
}

/* Googleマップ iframeレスポンシブ枠 */
.p-home-access__map {
    width: calc(65% - 30px);
    max-height: 430px;
    margin-right: -20px;
}

.p-home-access__iframe-wrap {
  position: relative;
  width: 100%;
  padding-top: 55%; /* アスペクト比 3:2 */
  border-radius: 20px 0 0 20px;
  box-shadow: 0 0 12px rgba(0,0,0,0.08);
}
@media screen and (max-width: 1080px) {
    .p-home-access__iframe-wrap {
        padding-top: 70%; /* アスペクト比 3:2 */
    }
}
@media screen and (min-width: 1280px) {
    .p-home-access__iframe-wrap {
        border-radius: 20px;
    }
}

.p-home-access__iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media screen and (max-width: 767px) {
  .p-home-access__inner {
    flex-direction: column-reverse; /* SPではマップを上、テキストを下に配置 */
    gap: 30px;
  }
  .p-home-access__map,
  .p-home-access__info {
    width: 100%;
  }
  .p-home-access__map {
    margin-right: 0;
  }
  .p-home-access__tel-box {
    flex-direction: column;
    gap: 4px;
  }
  .p-home-access__btns {
    max-width: 100%;
  }
  .c-btn-blue {
    max-width: 100%;
  }
}