@charset "uft-8";

/* 全体設定 */
.zen-maru-gothic-light {
    font-family: "Zen Maru Gothic", serif;
    font-weight: 300;
    font-style: normal;
}

.zen-maru-gothic-regular {
    font-family: "Zen Maru Gothic", serif;
    font-weight: 400;
    font-style: normal;
}

.zen-maru-gothic-medium {
    font-family: "Zen Maru Gothic", serif;
    font-weight: 500;
    font-style: normal;
}

.zen-maru-gothic-bold {
    font-family: "Zen Maru Gothic", serif;
    font-weight: 700;
    font-style: normal;
}

.zen-maru-gothic-black {
    font-family: "Zen Maru Gothic", serif;
    font-weight: 900;
    font-style: normal;
    text-shadow: 1px 2px 0 var(--white);
}

:root {
    --main-color: #401F1F;
    --white: #fffdf9;
    --acnt-color1: #FE7D7B;
    --acnt-color2: #93E44C;
    --acnt-color3: #FFB31F;
    --acnt-color4: #6FE5FF;
    --base-color: #E9FADB;
    --base-color-a: rgba(233, 250, 219, 0.9);
    --base-color2: #ffe5e5;
    --base-color3: #fff5e0;
    --header-height: 140px;
    --border-color: var(--main-color);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: var(--white);
    font-size: 100%;
    font-family: "Zen Maru Gothic", serif;
    font-weight: 400;
    font-style: normal;
    color: var(--main-color);
    scroll-padding-top: var(--header-height);
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--main-color);
}

img {
    max-width: 100%;
}

.wrapper {
    margin: 32px auto 48px;
    width: 90%;
}

@media screen and (min-width:620px) {
    .wrapper {
        margin: 64px auto 96px;
        max-width: 960px;
    }
}

@media screen and (min-width:825px) {
    main {
        margin-top: 106px;
    }

    main.top {
        margin-top: 138px;
    }
}

.red {
    color: var(--acnt-color1);
}

.green {
    color: var(--acnt-color2);
}

.yellow {
    color: var(--acnt-color3);
}

.blue {
    color: var(--acnt-color4);
}


/** common button **/
.button a {
    width: 180px;
    height: 44px;
    margin: 0 auto;
    display: block;
    text-align: center;
    position: relative;
    transition: 0.4s;
    font-weight: bold;
    border: 3px solid var(--main-color);
    border-radius: 32px;
    padding: 8px 32px;
    background-color: var(--base-color3);
}

.button a:after {
    font-family: 'remixicon';
    font-style: normal;
    content: "\EA6C";
    vertical-align: middle;
    position: absolute;
    right: 20px;
    top: 9px;
    transition: 0.4s;
}

.button a:hover {
    background-color: var(--acnt-color3);
    border: 3px solid var(--main-color);
}

.button a:hover::after {
    right: 15px;
}

/* newsページのTopへ戻る */
.news .button a:after {
    content: "\EA58";
}

.news .button a:hover::after {
    right: 20px;
}

@media screen and (min-width:620px) {
    .button a {
        width: 196px;
        height: 56px;
        font-size: 20px;
        line-height: 36px;
    }
}

/********************************************/
/*        common 下層ページビジュアル         */
/********************************************/
#title {
    height: 20vh;
    width: 100％;
    background: url("../img/doctor_mv.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    z-index: -1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
}

/** common 下層ページタイトル **/
h1.title {
    font-size: 8vw;
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 16px 32px;
}

@media screen and (min-width:620px) {
    #title {
        height: 30vh;
        margin-bottom: 64px;
    }

    h1.title {
        font-size: 3rem;
    }
}

/********************************************/

/** common caption **/
.caption {
    height: 64px;
    margin-bottom: 2rem;
}

h2.caption {
    position: relative;
    /* 疑似要素の配置基準となるように */
    z-index: 1;
    /* テキストや他のコンテンツのスタッキング順を定義 */
    padding: 20px;
    /* レイアウトに合わせた余白（必要に応じて調整） */
}

.caption h2 span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: var(--acnt-color1);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    padding: 0;
    color: var(--white);
}

.cap1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-112px) translateY(-50%);
}

.cap2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-70px) translateY(-50%);
}

.cap3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.cap4 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(14px) translateY(-50%);
}

.cap5 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(56px) translateY(-50%);
}

.four.cap1 {
    transform: translateX(-93px) translateY(-50%);
}

.four.cap2 {
    transform: translateX(-51px) translateY(-50%);
}

.four.cap3 {
    transform: translateX(-5px) translateY(-50%);
}

.four.cap4 {
    transform: translateX(37px) translateY(-50%);
}

@media screen and (min-width:620px) {
    .caption {
        height: 80px;
        margin-bottom: 4rem;
    }

    .caption h2 span {
        width: 72px;
        height: 72px;
        font-size: 36px;
    }

    .cap1 {
        left: 50%;
        transform: translateX(-148px) translateY(-50%);
    }

    .cap2 {
        left: 50%;
        transform: translateX(-92px) translateY(-50%);
    }

    .cap3 {
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
    }

    .cap4 {
        left: 50%;
        transform: translateX(20px) translateY(-50%);
    }

    .cap5 {
        left: 50%;
        transform: translateX(76px) translateY(-50%);
    }

    .four.cap1 {
        transform: translateX(-120px) translateY(-50%);
    }

    .four.cap2 {
        transform: translateX(-64px) translateY(-50%);
    }

    .four.cap3 {
        transform: translateX(-8px) translateY(-50%);
    }

    .four.cap4 {
        transform: translateX(48px) translateY(-50%);
    }

}

/* ヘッダー */
header {
    background-color: var(--base-color);
    border-style: solid;
    border-bottom-color: var(--acnt-color2);
    border-width: 0 0 8px;
}

.illust {
    position: relative;
}

.fujisan {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 64px;
}

.clinic {
    position: absolute;
    bottom: 0;
    right: 0;
}

.header-inner {
    max-width: 95vw;
    width: 95%;
    padding-top: 16px;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: block;
}

.header-inner1 {
    width: 73px;
    margin-right: auto;
    margin-left: auto;
}

.header-upper {
    font-size: 24px;
}

.header-lower {
    font-size: 14px;
}

/** ハンバーガーメニュー **/
.navbtn {
    position: fixed;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 50px;
    background: var(--acnt-color2);
    color: var(--white);
    font-size: 11px;
    border: none;
    z-index: 3;
    display: block;
    border-radius: 8px;
}

.navbtn span,
.navbtn:before,
.navbtn:after {
    width: 30px;
    height: 2px;
    background-color: var(--white);
    position: absolute;
    top: 40%;
    left: 5px;
    transition: transform .4s;
}

.navbtn:before {
    content: '';
}

.navbtn:before {
    transform: translateY(-8px);
}

.navbtn:after {
    height: 0px;
    transform: translateY(10px);
    content: 'MENU';
    font-weight: bold;
}


nav {
    background-color: var(--base-color-a);
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    transform: translateX(100%);
    z-index: 2;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li:not(:last-child) {
    margin-right: 0;
    margin-bottom: 1.5em;
}

nav li {
    margin-left: 0;
}

nav ul li a {
    text-decoration: none;
    position: relative;
    font-size: 1.5rem;
    text-shadow: 2px 2px 0 var(--white);
}

nav ul li a:hover {
    color: var(--acnt-color3);
}

nav ul {
    height: 100%;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

body.is-nav-open .navbtn::before {
    transform: translateY(0) rotate(45deg);
}

body.is-nav-open .navbtn span {
    transform: translateY(0) rotate(-45deg);
}

body.is-nav-open nav {
    transform: translateX(0);
    transition: transform .6s;
}

body.is-nav-open .navbtn:after {
    content: 'close';
}

@media screen and (min-width:620px) {
    .navbtn {
        display: none;
    }

    header.is-animation .navbtn {
        display: block;
    }

    .header-inner {
        padding-top: 0px;
        margin-bottom: 0;
    }


    .header-inner {
        width: 960px;
        display: block;
        padding: 16px 0;
        max-width: 90vw;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .header-inner2 {
        display: block;
        width: 100%;
    }

    .header-inner2 .header-upper {
        margin-top: 8px;
        display: block;
    }

    .header-inner2 .header-upper .left {
        font-size: 32px;
        letter-spacing: -0.15em;
    }

    nav.is-animation {
        position: unset;
        width: unset;
        height: unset;
        transform: unset;
        transition: unset;
        padding: 0px;
    }

    nav.is-animation ul.nav-box {
        display: flex;
        flex-direction: row;
        margin-bottom: 0;
    }

    nav.is-animation ul.nav-box li {
        margin-left: 16px;
    }

    nav.is-animation ul.nav-box li:first-child {
        margin-left: 0px;
    }

    nav.is-animation ul li:not(:last-child) {
        margin-right: 0;
        margin-bottom: 0;
    }

    nav.is-animation ul.nav-box li a {
        font-size: 18px;
    }

    nav.is-animation ul.nav-box li a:hover {
        color: var(--acnt-color3);
    }

    .header-inner2 .header-lower {
        margin-top: 8px;
        display: flex;
        justify-content: center;
        font-size: 14px;
    }

    .header-inner2 .header-lower .lower {
        margin-right: 16px;
    }

}

@media screen and (min-width:825px) {
    header {
        position: fixed;
        width: 100%;
        z-index: 2;
        top: 0;
        left: 0;
        right: 0;
    }

    header.is-animation .header-inner {
        display: flex;
    }

    .header-inner {
        width: 960px;
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        max-width: 90vw;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .header-inner1 {
        width: 80px;
        margin-top: auto;
        margin-left: 0;
        margin-right: 0;
        display: unset;
    }

    .header-inner2 {
        margin-left: 8px;
    }

    .header-inner2 .header-upper {
        margin-top: 8px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .header-inner2 .header-upper .left {
        font-size: 28px;
    }

    .header-inner2 .header-lower {
        justify-content: flex-start;
        font-size: 16px;
    }

    .illust {
        display: none;
    }


    .navbtn {
        display: none;
    }

    header.is-animation .navbtn {
        display: none;
    }

    nav {
        position: unset;
        width: unset;
        height: unset;
        transform: unset;
        transition: unset;
        padding: 0px;
    }

    nav ul.nav-box {
        display: flex;
        flex-direction: row;
        margin-bottom: 0;
    }

    nav.is-animation ul.nav-box li:first-child,
    nav.is-animation ul.nav-box li,
    nav ul.nav-box li {
        margin-left: 12px;
    }

    nav ul li:not(:last-child) {
        margin-right: 0;
        margin-bottom: 0;
    }

    nav.is-animation ul.nav-box li a,
    nav ul.nav-box li a {
        font-size: 16px;
    }

    nav ul.nav-box li a:hover {
        color: var(--acnt-color3);
    }
}


/******************/
/*     footer     */
/******************/
footer {
    background-color: var(--base-color);
    position: relative;
    margin-top: 160px;
}

/** footer 境界線**/
footer::before {
    content: '';
    border-top-left-radius: 50% 100%;
    border-top-right-radius: 50% 100%;
    position: absolute;
    top: -8%;
    width: 100%;
    background-color: var(--base-color);
    height: 8%;
    z-index: -1;
}

/** footer 本文**/
footer .footer-box {
    width: 100%;
    display: block;
}

footer .box1,
footer .box2,
footer .box3,
footer .box4,
footer .box5 {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding-bottom: 16px;
}

/** footer ロゴ**/
footer .box1 {
    width: 100px;
}

/** footer クリニック名**/
footer .box2 .logo.zen-maru-gothic-black {
    font-size: 28px;
}

footer .box2 .address {
    font-size: 14px;
}

/** footer nav **/
footer .box3 {
    width: 70%;
    font-size: 18px;
}

footer .box3 ul {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    line-height: 2;
}

footer .box3 ul li {
    padding: 4px 8px;
    text-shadow: 2px 2px 0 var(--white);
}

footer .box3 ul li a:hover {
    color: var(--acnt-color3);
}

/** footer 診療内容 **/
footer .box4 {
    display: block;
}

footer .box4 .medical ul li {
    padding: 4px;
    display: list-item;
    list-style: circle;
    list-style-position: inside;
    max-width: 120px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

footer .box4 .reserve,
footer .box4 .tel {
    font-weight: bold;
    font-size: 18px;
}

/** footer 予約 **/
footer .box4 .reserve a {
    color: unset;
    display: block;
}

footer .box4 .reserve {
    width: 130px;
    background-color: var(--acnt-color1);
    padding: 4px 8px;
    margin: 8px auto;
    border-radius: 8px;
    color: var(--white);
}

footer .box4 .reserve:hover {
    color: var(--acnt-color1);
    background-color: var(--white);
}

/** footer 電話 **/
footer .box4 .tel {
    width: 130px;
    background-color: var(--acnt-color3);
    margin-left: auto;
    margin-right: auto;
    padding: 4px 8px;
    border-radius: 8px;
    vertical-align: middle;
    color: var(--white);
}

/** footer 診療時間 **/
footer .box5 .time {
    max-width: 330px;
    background-color: var(--white);
    font-size: 16px;
    margin: 0 auto 16px;
    border-radius: 8px;
}

.meno {
    font-size: 14px;
}

footer .box5 .footer-table {
    margin-left: auto;
    margin-right: auto;
}

footer .box5 .footer-table th,
footer .box5 .footer-table td {
    padding: 6px 6px;
}

footer .box5 .footer-table tr:first-child td {
    font-weight: bold;
}

footer .box5 .footer-table span.time {
    font-size: 10px;
}

footer .box5 .footer-table span.morning {
    color: var(--acnt-color1);
}

footer .box5 .footer-table span.check {
    color: var(--acnt-color2);
}

footer .box5 .footer-table span.afternoon {
    color: var(--acnt-color3);
}


/** footer 地図 **/

footer .box5 .map {
    width: 90%;
    overflow: hidden;
    object-fit: cover;
    margin: 0 auto;
}

footer .box5 .map iframe {
    max-width: 320px;
    width: 100%;
}

/** footer イラスト **/
footer .box6 {
    position: relative;
    height: 128px;
}

footer .box6 .footer-fujisan {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 30%;
    max-width: 400px;
}

footer .box6 .footer-clinic {
    position: absolute;
    right: 5%;
    bottom: 0;
    width: 15%;
}

/** footer コピーライト **/
footer .box7 {
    background-color: var(--acnt-color2);
    color: var(--white);
    text-align: center;
}

@media screen and (min-width:620px) {
    footer .box1 {
        width: 120px;
    }

    footer .box4 {
        display: flex;
        justify-content: center;
        width: 500px;
        padding-bottom: 32px;
    }

    footer .box4 .reserve,
    footer .box4 .tel {
        margin: auto 0 auto 16px;
    }

    footer::before {
        top: -8%;
        height: 8%;
    }

    /** footer 地図 **/
    footer .box5 {
        position: relative;
        display: flex;
        z-index: 1;
        justify-content: center;
        max-width: 610px;
        width: 90%;
    }


    footer .box5 .time {
        margin: 0 0 auto;
        width: 59%;
    }

    footer .box5 .map {
        margin: 0 0 0 8px;
        width: 41%;
    }

}

@media screen and (min-width:825px) {
    footer .box1 {
        width: 140px;
    }

    footer .box3 {
        font-size: 20px;
    }

    footer .box4 {
        font-size: 20px;
    }

    footer .box4 .medical ul li {
        width: 160px;
        max-width: 160px;
    }

    footer .box4 .tel {
        width: 240px;
    }

    footer .box5 {
        max-width: 960px;
    }

    footer .box5 .time {
        max-width: 412px;
        margin: 0 0 auto;
        font-size: 18px;
        border-radius: 16px;
    }

    .meno {
        font-size: 16px;
    }

    footer .box5 .footer-table th,
    footer .box5 .footer-table td {
        padding: 10px 10px;
    }

    footer .box5 .footer-table span.time {
        font-size: 10px;
    }

    footer .box5 .map {
        margin: 0 0 0 24px;
    }

    footer .box6 .footer-clinic {
        position: absolute;
        right: 3%;
        bottom: 0;
        width: 15%;
    }
}

/* Web予約・電話 フロート */
.reservefloat {
    width: 80px;
    height: 66px;
    position: fixed;
    z-index: 2000;
    right: 0px;
    top: 196px;
    background-color: var(--acnt-color1);
    font-size: 1.1rem;
    text-align: center;
    border-radius: 20% 0 0 20%;
    cursor: pointer;
    margin: auto;
}

.reservefloat:hover {
    opacity: 0.7;
}

.telfloat {
    width: 80px;
    height: 66px;
    position: fixed;
    z-index: 2000;
    right: 0px;
    top: 280px;
    background-color: var(--acnt-color3);
    font-size: 1.1rem;
    text-align: center;
    border-radius: 20% 0 0 20%;
    cursor: pointer;
    margin: auto;
    color: var(--white);
}

.reservefloat a {
    color: var(--white);
    position: absolute;
    top: 8px;
    left: 0px;
    font-weight: bold;
    line-height: 1.1;
    width: 100%;
}

.telfloat p {
    color: var(--white);
    font-weight: bold;
    line-height: 1;
    width: 100%;
    margin: 2px auto;
}

.reservefloat i:before,
.telfloat i:before {
    font-size: 1.4rem;
    font-weight: normal;
}

@media screen and (min-width:620px) {
    .reservefloat {
        top: 240px;
    }

    .telfloat {
        top: 324px;
    }
}

@media screen and (min-width:825px) {
    .reservefloat {
        top: 196px;
    }

    .telfloat {
        top: 280px;
    }
}


/* 電話番号 フロート */

/* ページトップ */
.pagetop {
    width: 50px;
    height: 50px;
    position: fixed;
    z-index: 2000;
    right: 30px;
    bottom: 50px;
    background-color: var(--acnt-color2);
    color: var(--white);
    font-size: 1.6rem;
    text-align: center;
    border-radius: 20%;
    cursor: pointer;
    opacity: .7;
    animation: toparrow 1s linear infinite;
}

.pagetop:hover {
    opacity: 1;
}

@keyframes toparrow {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0px);
    }
}

.ri-arrow-up-double-line:before {
    vertical-align: top;
}

.pagetop:after {
    font-size: 12px;
    font-weight: bold;
    content: "TOP\3078";
    position: absolute;
    margin: auto;
    text-align: center;
    width: 100%;
    transform: translateX(-75%) translateY(150%);
}

/******************/
/*     メイン     */
/*  index.html   */
/******************/


/* メインビジュアル */
#mainvisual .mv-inner {
    position: relative;
    margin-top: 1rem;
    overflow: hidden;
}

/** slick slider **/
.mv_box {
    background-color: var(--white);
    padding: 0;
    margin: 0;
}

.mv_box div img {
    max-height: 80vh;
    width: 100%;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    object-fit: cover;
}

.slider {
    max-width: 960px;
    margin: 0 auto;
}

.slick-slide {
    margin: 0 4px;
}

.slick-prev {
    left: 8px;
    /* 数値で調整 */
    z-index: 1;
}

.slick-next {
    right: 8px;
    /* 数値で調整 */
    z-index: 1;
}

/** copy **/

.copy {
    width: 80vw;
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    bottom: 2.5rem;
    left: 53%;
    text-shadow: 2px 2px 10px var(--white), -2px 2px 10px var(--white), 2px -2px 10px var(--white), -2px -2px 10px var(--white);
    transform: translateX(-50%);
    line-height: 1;

}

.copy strong {
    opacity: 0;
    filter: blur(10px);
    animation: letter-glow 0.7s 0s ease both, blur 2s 0s ease both;
    animation-delay: 1.5s;
    text-shadow: 2px 2px 10px var(--white), -2px 2px 10px var(--white), 2px -2px 10px var(--white), -2px -2px 10px var(--white);
}

@keyframes letter-glow {
    0% {
        opacity: 0;
        text-shadow: 0px 0px 1px rgba(255, 255, 255, 0.1);
    }

    66% {
        opacity: 1;
        text-shadow: 0px 0px 20px rgba(255, 255, 255, 0.9);
    }

    77% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        text-shadow: 2px 2px 10px var(--white), -2px 2px 10px var(--white), 2px -2px 10px var(--white), -2px -2px 10px var(--white);
    }
}

@keyframes blur {
    0% {
        opacity: 0;
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        filter: blur(0);
    }
}

.copy span {
    font-size: 28px;
    color: var(--acnt-color3);
}

.copy small {
    font-size: 9.5px;
}

.copy.text__slideIn {
    animation: slideIn 1.6s;
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(-40%);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%);
    }
}

/** common 診療時間 **/
.timetable .time {
    max-width: 330px;
    background-color: var(--base-color);
    font-size: 16px;
    margin: 0 auto 16px;
    border-radius: 8px;
}

.timetable .meno {
    font-size: 14px;
    text-align: center;
}

.timetable .table {
    margin-left: auto;
    margin-right: auto;
}

.timetable .table th,
.timetable .table td {
    padding: 6px 6px;
}

.timetable .table tr:first-child td {
    font-weight: bold;
}

.timetable .table span.time {
    font-size: 10px;
}

.timetable .table span.morning {
    color: var(--acnt-color1);
}

.timetable .table span.check {
    color: var(--acnt-color2);
}

.timetable .table span.afternoon {
    color: var(--acnt-color3);
}

/* tablet */
@media screen and (min-width:620px) {
    #mainvisual .mv-inner {
        margin-top: 2rem;
    }

    .mv_box {
        width: 100%;
    }

    .mv_box div img {
        max-height: 70vh;
    }

    /** slick slider **/
    .slick-prev {
        width: 40px;
        height: 40px;
    }

    .slick-prev:before {
        font-size: 40px;
    }

    .slick-next {
        width: 40px;
        height: 40px;
    }

    .slick-next:before {
        font-size: 40px;
    }

    .slick-slide {
        margin: 0 16px;
    }


    /** copy **/
    .copy {
        font-size: 28px;
        bottom: 2.5rem;
        left: 55%;
    }

    .copy span {
        font-size: 40px;
    }

    .copy small {
        font-size: 16px;
    }

    .timetable .time {
        margin: 16px auto;
    }

}

/* tablet end */

/* pc */
@media screen and (min-width:825px) {

    /** copy **/
    .copy {
        font-size: 36px;
        bottom: 3.5rem;
        line-height: 1.2;
    }

    .copy span {
        font-size: 56px;
    }

    .copy small {
        font-size: 22px;
    }

    .timetable {
        position: absolute;
        top: 120px;
        left: 5vw;
        opacity: 0.9;
    }

    .timetable .time {
        margin: 0 auto 16px;
    }

}

/* pc end*/


/** お知らせ **/
#news {
    background-color: var(--base-color2);
    width: 90%;
    max-width: 960px;
    padding: 16px;
    position: relative;
}

#news:before,
#news:after {
    content: '';
    /* 擬似要素の内容なし */
    width: 30px;
    /* カッコの幅 */
    height: 30px;
    /* カッコの高さ */
    position: absolute;
    /* 絶対位置指定 */
}


#news::before {
    border-left: 5px solid var(--acnt-color1);
    /* 左上のカッコ線 */
    border-top: 5px solid var(--acnt-color1);
    /* 上部線 */
    top: 0;
    /* 上端に配置 */
    left: 0;
    /* 左端に配置 */
}

#news::after {
    border-right: 5px solid var(--acnt-color1);
    /* 右下のカッコ線 */
    border-bottom: 5px solid var(--acnt-color1);
    /* 下部線 */
    bottom: 0;
    /* 下端に配置 */
    right: 0;
    /* 右端に配置 */
}

#news .cap {
    height: unset;
    margin-bottom: 0.5rem;
}

#news .cap .cap-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

#news .cap .cap-inner .btn {
    vertical-align: middle;
}

#news .cap .cap-inner .btn a {
    background-color: var(--white);
    padding: 8px 16px;
    font-weight: bold;
    border-radius: 32px;
}

#news .cap .cap-inner .btn a:hover {
    background-color: var(--acnt-color1);
    color: var(--white);
}

#news .cap:after {
    background-color: var(--main-color);
    border-radius: 3px;
    content: "";
    display: block;
    height: 3px;
}

#news .news-inner dl {
    border-bottom: 1px dotted var(--main-color);
    margin: 8px;
}

#news .news-inner dd a:hover {
    color: var(--acnt-color1);
}

@media screen and (min-width:620px) {
    #news {
        padding: 16px 32px;
    }

    #news .news-inner dl {
        display: flex;
        margin: 16px;
    }

    #news .news-inner dl dt {
        width: 20%;
    }

    #news .news-inner dl dd {
        width: 80%;
    }
}



/** ごあいさつ **/
#greeting {
    width: 90%;
}

.greeting-box {
    margin-bottom: 32px;

    /* カッコの色 */
    margin: 0 auto 2em;
    /* 外側の余白（上下と中央配置） */
    padding: 2em;
    /* 内側余白 */
    position: relative;
    /* 相対位置指定（擬似要素の基準） */
}


.greeting-box::before,
.greeting-box::after {
    content: '';
    /* 擬似要素の内容なし */
    width: 20px;
    /* カッコの幅 */
    height: 30px;
    /* カッコの高さ */
    position: absolute;
    /* 絶対位置指定 */
}

.greeting-box::before {
    border-left: 1px solid var(--border-color);
    /* 左上のカッコ線 */
    border-top: 1px solid var(--border-color);
    /* 上部線 */
    top: 0;
    /* 上端に配置 */
    left: 0;
    /* 左端に配置 */
}

.greeting-box::after {
    border-right: 1px solid var(--border-color);
    /* 右下のカッコ線 */
    border-bottom: 1px solid var(--border-color);
    /* 下部線 */
    bottom: 0;
    /* 下端に配置 */
    right: 0;
    /* 右端に配置 */
}

.greeting-box .sentence {
    margin-bottom: 2rem;
}

.greeting-box .picture {
    max-width: 342px;
    width: 80%;
    margin: 0 auto;
}

.greeting-box .picture .pic1 {
    margin: auto;
    text-align: right;
    display: block;
}

.greeting-box .picture .pic1 img {
    border-radius: 2rem;
}

.greeting-box .picture .pic1 p {
    line-height: 2;
}

@media screen and (min-width:620px) {
    #greeting {
        max-width: 960px;
    }

    #greeting .cap {
        font-size: 28px;
        margin-bottom: 64px;
    }

    .greeting-box {
        display: flex;
    }

    .greeting-box .sentence {
        width: 50%;
    }

    .greeting-box .picture {
        max-width: 342px;
        width: 50%;
        margin: 0 auto;
    }

    .greeting-box .picture .pic1 {
        margin-left: 2rem
    }
}

/** 診療内容 **/
#medical {
    width: 90%;
}

#medical .sentence {
    padding-bottom: 1rem;
    text-align: center;
}

.medical-box {
    margin-bottom: 32px;
    display: flex;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    color: var(--white);
}

.medical-box .medical {
    width: 120px;
    margin: 0 4px;
    border-radius: 16px;
    transform: translateY(0);
}

.medical-box .medical:hover {
    transform: translateY(-2px);

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.medical-box .medical a {
    display: block;
    width: 100%;
    color: var(--white);
    padding: 8px 0;
}


.medical-box .medical p {
    padding-top: 4px;
}

.medical.m1 {
    background-color: var(--acnt-color1);
}

.medical.m2 {
    background-color: var(--acnt-color2);
}

.medical.m3 {
    background-color: var(--acnt-color3);
}

.medical-box img {
    max-width: 100%;
    height: 64px;
    margin: 0 auto;
}

@media screen and (min-width:620px) {
    #medical {
        max-width: 960px;
    }

    #medical .sentence {
        padding-bottom: 2rem;
        font-size: 20px;
    }

    .medical-box {
        margin-bottom: 64px;
        font-size: 24px;
    }

    .medical-box .medical {
        width: 200px;
        /* padding: 1.5rem; */
        margin: 0 8px;
        border-radius: 16px;
    }

    .medical-box .medical a {
        padding: 1.5rem;
    }

    .medical-box .medical p {
        padding-top: 8px;
    }

}


/******************/
/*     医師紹介    */
/*  doctor.html   */
/******************/
/* ビジュアル */
/* -> common 下層ページビジュアル */
/* #title.doctor {
    background: url("../img/doctor_mv.jpg");
} */

/* ごあいさつ */

/* 経歴・資格 */
#intro {
    width: 90%;
}

#intro .intro-box {
    display: block;
}

#intro .intro-box .intro {
    border: solid 2px var(--main-color);
    padding: 16px;
    margin: 32px auto;
    border-radius: 16px;
}

#intro .intro-box .intro dl {
    margin: 8px;
}

#intro .intro.m2 h4 {
    padding-top: 16px;
}

#intro .intro-box .intro .m2 dl dt {
    font-weight: bold;
}

#intro .intro-box h3 {
    background: linear-gradient(transparent 70%, var(--base-color2) 70%);
}

/* pc */
@media screen and (min-width:620px) {
    #intro {
        max-width: 960px;
    }

    #intro .intro-box {
        display: flex;
    }

    #intro .intro-box .intro dl {
        display: flex;
        margin: 16px;
    }

    #intro .intro-box .intro {
        width: 48%;
        margin-top: 0;
    }

    #intro .intro dl dt {
        width: 30%;
    }

    #intro .intro dl dd {
        width: 70%;
    }

    #intro .intro.m2 dl dt {
        width: 0%;
    }

    #intro .intro.m2 dl dd {
        width: 100%;
    }
}


/******************/
/*     診療内容    */
/*  medical.html  */
/******************/
/** ビジュアル **/
/* -> common 下層ページビジュアル */
#title.medical {
    background: url("../img/medical_mv_sp.jpg");
    background-size: 100%;
    background-position: 50% 55%;
}

/** ナビゲーション **/
#medical-nav {
    width: 80%;
    margin: 0 auto;
}

#medical-nav ul {
    display: block;
}

#medical-nav li {
    padding: 0;
    margin: 8px;
}

#medical-nav li a {
    display: block;
    width: 100%;
    color: var(--main-color);
    font-size: 16px;
    background-color: var(--base-color);
    border: 1px solid var(--main-color);
    text-align: center;
    padding: 8px 0;
}

#medical-nav li a:hover {
    color: var(--white);
    background-color: var(--acnt-color2);
}

/*** pc ***/
@media screen and (min-width:620px) {

    /* ビジュアル */
    #title.medical {
        background: url("../img/medical_mv.jpg");
        background-position: 20% 55%;
        background-size: cover;
    }

    /* ナビゲーション */
    #medical-nav {
        max-width: 960px;
    }

    #medical-nav ul {
        display: flex;
        justify-content: space-between;
    }

    #medical-nav li {
        width: 25%;
        margin: 0;
    }

    #medical-nav li a {
        font-size: 20px;
    }
}

/*** pc end***/


/**　小児科 **/
.md .box .sentence {
    margin-bottom: 2rem;

    /* カッコの色 */
    margin: 0 auto 2em;
    /* 外側の余白（上下と中央配置） */
    padding: 2em;
    /* 内側余白 */
    position: relative;
    /* 相対位置指定（擬似要素の基準） */
}

.md .box .sentence::before,
.md .box .sentence::after {
    content: '';
    /* 擬似要素の内容なし */
    width: 20px;
    /* カッコの幅 */
    height: 30px;
    /* カッコの高さ */
    position: absolute;
    /* 絶対位置指定 */
}

.md .box .sentence::before {
    border-left: 1px solid var(--border-color);
    /* 左上のカッコ線 */
    border-top: 1px solid var(--border-color);
    /* 上部線 */
    top: 0;
    /* 上端に配置 */
    left: 0;
    /* 左端に配置 */
}

.md .box .sentence::after {
    border-right: 1px solid var(--border-color);
    /* 右下のカッコ線 */
    border-bottom: 1px solid var(--border-color);
    /* 下部線 */
    bottom: 0;
    /* 下端に配置 */
    right: 0;
    /* 右端に配置 */
}

.md .box .picture {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 16px;
}

.md .box .picture img {
    /* border-radius: 50%; */
    border-radius: 41% 59% 41% 59% / 52% 30% 70% 48%;
    border: 2px solid var(--acnt-color2);
    box-shadow: 10px 10px 0px 0px var(--acnt-color2);
    width: 250px;
    height: 250px;
    object-fit: cover;
}

@media screen and (min-width:620px) {
    .md .box {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .md .box.b2 {
        flex-direction: row-reverse;
    }

    .md .box .sentence {
        width: 50%;
        margin: 0 auto;
    }

    .md .box .picture {
        width: 50%;
        padding-bottom: 0;
    }

    .md .box .picture img {
        width: 40vw;
        height: 40vw;
        max-width: 300px;
        max-height: 300px;
        /* margin-right: 10px;
        margin-left: 2rem; */
    }

    /* .md .box.b2 .picture img {
        margin-right: 2rem;
        margin-left: 0;
    } */
}

/****************************/
/*     診療時間・アクセス    */
/*      clinic.html        */
/****************************/
/* ビジュアル */
/* -> common 下層ページビジュアル */
#title.clinic_title {
    background: url("../img/clinic_mv.jpg");
    background-size: 100%;
    background-position: 50% 65%;
}

/*** pc ***/
@media screen and (min-width:620px) {

    /* ビジュアル */
    #title.clinic_title {
        background-position: 50% 50%;
    }

}

/*** pc end***/


/** ナビゲーション **/
.cl #medical-nav ul {
    justify-content: space-evenly;
}


/* 診療時間 */
/** common 診療時間 -> **/

/* sp */
#time .timetable .time {
    padding: 16px 0 0;
}

#time .timetable .time .table {
    padding: 0 0;
    background-color: var(--white);
    box-shadow: 6px 6px 3px -4px #777777;
}

#time .timetable .time .table tr:first-child td {
    font-weight: bold;
}

#time .timetable .time .table tr:nth-child(even) {
    background-color: var(--base-color3);
}

#time .timetable .time .table tr:nth-child(odd) {
    background-color: var(--base-color2);
}

#time .timetable .time .table span.time {
    padding: 1px;
    background-color: var(--base-color2);
}

#time .timetable .meno {
    font-size: 14px;
    text-align: left;
    padding: 16px;
}

/* tablet */
@media screen and (min-width:620px) {
    #time .timetable {
        display: flex;
        justify-content: center;
    }

    #time .timetable .time {
        max-width: 960px;
        font-size: 20px;
        border-radius: 16px;
        margin-bottom: 64px;
        padding: 32px 0 0;
    }

    #time .timetable .time .table th,
    #time .timetable .time .table td {
        padding: 16px 16px;
    }

    #time .timetable .time .table span.time {
        font-size: 10px;
    }

    #time .timetable .meno {
        font-size: 16px;
        padding: 32px;
    }
}

/* tablet end */

/* pc */
@media screen and (min-width:825px) {
    #time .timetable {
        position: unset;
    }


    #time .timetable .meno {
        font-size: 20px;
    }

}

/* pc end */

/* アクセス */
#access .map {
    display: block;
    margin: 0 auto;
}

#access .map .memo table {
    padding: 8px 0;
    width: 100%;
}

#access .map .memo tr {
    padding: 8px;
    display: block;
}

#access .map .memo th {
    width: 100%;
    text-align: left;
    /* vertical-align: top; */
    display: block;
    border-bottom: 1px dashed var(--main-color);
}

#access .map .memo td {
    width: 70%;
    vertical-align: top;

}

#access .map iframe {
    max-width: 100%;
    width: 100%;
    height: 50vh;
}

@media screen and (min-width:825px) {
    #access .map {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #access .map .memo {
        width: 40%;
    }

    #access .map .memo tr {
        display: flex;
    }

    #access .map .memo th {
        display: table-cell;
        width: 35%;
        padding: 0 8px 4px;
    }

    #access .map .memo td {
        display: table-cell;
        border-bottom: 1px dashed var(--main-color);
        padding: 0 8px 4px;
    }

    #access .map .memo tr:first-child th,
    #access .map .memo tr:first-child td {
        border-top: 1px dashed var(--main-color);
        padding-top: 8px;
    }

    #access .map .memo tr:not(:first-child) {
        padding-top: 0;
    }

    #access .map iframe {
        width: 50%;
        height: 50vh;
        margin: 0 auto;
    }
}

/* pc end */

/******************/
/*     お知らせ一覧    */
/*  news.html   */
/******************/
/* ビジュアル */
/* -> common 下層ページビジュアル */
#title.news {
    background: url("../img/news_mv.jpg");
    background-size: 100%;
    background-position: 50% 50%;
}

.accordion-box {
    margin-bottom: 32px;
}

.accordion-002 {
    max-width: 100%;
    margin-bottom: 8px;
    border: 2px solid var(--acnt-color2);
    border-radius: 25px;
}

.accordion-002 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2028%2028%22%3E%0A%20%20%20%20%3Ccircle%20cx%3D%2214%22%20cy%3D%2214%22%20r%3D%2214%22%20style%3D%22fill%3A%2393e44c%3B%22%2F%3E%0A%3C%2Fsvg%3E');
    background-position: right calc(2em - 7px) center;
    background-size: 22px;
    background-repeat: no-repeat;
    color: var(--main-color);
    font-weight: 600;
    cursor: pointer;
}

.accordion-002 summary dl {
    width: 100%
}

.accordion-002 summary dl dd {
    width: 95%
}

.accordion-002 summary::-webkit-details-marker {
    display: none;
}

.accordion-002 summary::after {
    transform: translateX(0%) translateY(-5%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-bottom: 3px solid #fff;
    border-right: 3px solid #fff;
    content: '';
    transition: transform .3s;
}

.accordion-002[open] summary::after {
    transform: translateX(0%) translateY(-5%) rotate(225deg);
}

.accordion-002 p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: 0 2em 1.5em;
    color: #333333;
    transition: transform .5s, opacity .5s;
}

.accordion-002[open] p {
    transform: none;
    opacity: 1;
}

@media screen and (min-width:620px) {

    .accordion-box {
        margin-bottom: 64px;
    }

    .accordion-002 {
        margin-bottom: 16px;
    }
}