/*
Theme Name: TSUYAMA CLINIC
Author: WADA DESIGN
Description: TSUYAMA CLINIC　ORIGINAL THEME
Version: 0.1.3
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: tsuyama-clinic
*/
@font-face{font-family:ClinicBody;src:url('assets/noto-original-C2_1.woff2') format('woff2');font-weight:100;font-display:swap}
@font-face{font-family:ClinicHeading;src:url('assets/noto-original-C2_0.woff2') format('woff2');font-weight:100;font-display:swap}
@font-face{font-family:ClinicNumbers;src:url('assets/noto-original-C2_2.woff2') format('woff2');font-weight:100;font-display:swap}
@font-face{font-family:ClinicPhone;src:url('assets/noto-original-C2_3.woff2') format('woff2');font-weight:100;font-display:swap}
@font-face{font-family:ClinicLatin;src:url('assets/noto-original-TT0.woff2') format('woff2');font-weight:100;font-display:swap}
@font-face{font-family:ClinicLatinAlt;src:url('assets/noto-original-TT1.woff2') format('woff2');font-weight:100;font-display:swap}
@font-face{font-family:ClinicAdded;src:url('assets/noto-added-navigation.woff2') format('woff2');font-weight:100;font-display:swap}
:root{--paper:#f8f7f4;--ink:#4d4d4d;--pink:#f3ebe8;--soft-gray:#f0f0f0;--green:#eaece8;--body-font:ClinicBody,ClinicHeading,ClinicLatin,ClinicLatinAlt,ClinicNumbers,ClinicPhone,ClinicAdded,sans-serif;--latin-font:ClinicLatin,ClinicLatinAlt,ClinicBody,ClinicAdded,sans-serif;--number-font:ClinicNumbers,ClinicPhone,ClinicLatin,ClinicBody,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:86px}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--body-font);font-size:18px;font-weight:100;line-height:1.75;letter-spacing:.1em;font-synthesis:none}p,h1,h2{margin:0;font-weight:100}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a:focus-visible,button:focus-visible{outline:2px solid #6d526d;outline-offset:7px}img{max-width:100%;height:auto;display:block}svg{display:block}a[aria-disabled=true]{cursor:not-allowed}section{scroll-margin-top:86px}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-100px;left:20px;z-index:1000;background:white;padding:12px}.skip-link:focus{top:12px}.sp-only{display:none}.layout{margin-left:12.04%;margin-right:6.3%}.wide{margin-left:8.34%;margin-right:6.3%}main,.site-header,.footer{max-width:1440px;margin-inline:auto}
.site-header{position:absolute;inset:0 0 auto;height:410px;z-index:30;pointer-events:none}.header-brand{position:absolute;left:11.8%;top:140px;width:370px;pointer-events:auto}.header-actions{position:absolute;right:6.3%;top:52px;display:flex;align-items:center;gap:62px;pointer-events:auto}.instagram-icon{display:block;width:40px;height:40px}.instagram-icon svg{width:100%;height:100%;fill:none;stroke:#383b40;stroke-width:1.5}.instagram-icon .icon-dot{fill:#383b40;stroke:none}.menu-toggle{position:relative;width:44px;height:44px;border:0;background:none;padding:0;z-index:33}.menu-toggle span{position:absolute;left:3px;width:38px;height:2px;background:#383b40;transition:transform .2s,top .2s}.menu-toggle span:first-child{top:13px}.menu-toggle span:last-child{top:29px}.global-menu{position:absolute;right:6.3%;top:119px;display:flex;gap:28px;font-size:14px;line-height:1.5;letter-spacing:.06em;pointer-events:auto}.global-menu[hidden]{display:none!important}.global-menu a{padding-block:8px;white-space:nowrap;transition:opacity .18s}.global-menu a:hover{opacity:.6}.site-header.is-scrolled{position:fixed;height:74px}.site-header.is-scrolled .header-brand,.site-header.is-scrolled .header-actions{visibility:hidden;pointer-events:none}.site-header.is-scrolled .global-menu{top:19px}.site-header.is-open .menu-toggle span:first-child{top:21px;transform:rotate(45deg)}.site-header.is-open .menu-toggle span:last-child{top:21px;transform:rotate(-45deg)}
.hero{height:954px;position:relative}.hero-art{position:absolute;right:6.3%;top:136px;width:55.46%;aspect-ratio:1328/1184}.hero-art>img{width:100%;height:100%;object-fit:cover}.opening{position:absolute;left:12.04%;top:548px;z-index:2}.opening-date{display:flex;align-items:center;white-space:nowrap;line-height:1.15}.opening-date time{font-family:var(--number-font);font-size:72px;letter-spacing:.1em}.opening-date>span{font-family:var(--latin-font);font-size:30px;letter-spacing:.1em;margin-left:34px}.opening-word{font-size:46px;line-height:1.4;margin-top:10px}.hero-intro{position:absolute;left:12.04%;top:736px;font-size:18px;line-height:1.75;z-index:2;width:370px}.hero-intro>p:first-child{margin-bottom:16px}.reserve{width:193px;height:193px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1.35;letter-spacing:.1em}.hero-art>.reserve{position:absolute;right:45px;bottom:45px}.reserve-light{background:white}.reserve-dark{background:#4d4d4d;color:white}.reserve>span{font-family:var(--latin-font);font-size:22px;margin-bottom:6px}.reserve>strong{font-family:ClinicPhone,var(--body-font);font-size:36px;font-weight:100}.departments{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px}.department{height:252px;display:flex;flex-direction:column;align-items:center;justify-content:center}.department>span{font-family:var(--latin-font);font-size:17.3px;letter-spacing:.08em;margin-bottom:26px}.department>p{font-family:ClinicHeading,var(--body-font);font-size:44px;line-height:1.4;letter-spacing:.1em}.plastic{background:var(--green)}.dermatology{background:var(--soft-gray)}.aesthetic{background:var(--pink)}
.about{padding-top:78px;padding-bottom:150px}.eyebrow{display:flex;align-items:center;gap:32px;font-family:var(--latin-font);font-size:26px;line-height:1.2;letter-spacing:.07em}.eyebrow:before{content:"";width:70px;height:1px;background:var(--ink);flex:none}.section-heading h1,.section-heading h2{font-family:ClinicHeading,var(--body-font);font-size:46px;line-height:1.4;letter-spacing:.1em;margin-top:30px}.section-heading{margin-bottom:32px}.about-intro{font-size:18px;line-height:1.75}.about-visual{display:grid;grid-template-columns:461px minmax(0,1fr);gap:70px;align-items:center;margin-top:90px;margin-left:-53px}.about-visual>img{width:461px;height:auto}.concept{font-size:34px;line-height:1.75;letter-spacing:.1em}.doctor-message{margin-top:58px;font-size:18px;line-height:1.75}.signature{display:flex;align-items:center;justify-content:flex-end;gap:32px;padding-right:156px;margin-top:36px}.signature-rule{width:70px;height:1px;background:var(--ink)}.signature>strong{font-size:24px;font-weight:100;letter-spacing:.12em}
.hours{background:white;padding:90px 0 80px}.hours>.layout{position:relative}.hours-reserve{position:absolute;right:45px;top:28px}.hours-intro{font-size:18px;line-height:1.75;margin-bottom:50px;max-width:85%}.schedule{width:100%;table-layout:fixed;border-collapse:collapse;border:1px solid #383b40;text-align:center;letter-spacing:.05em}.schedule .time-col{width:18.75%}.schedule th,.schedule td{border:1px solid #383b40;padding:8px 4px;font-weight:100;font-size:22px;height:83px;vertical-align:middle}.schedule thead th{height:76px;font-size:24px}.schedule thead th:first-child{font-size:18px}.time-range{font-family:var(--number-font);white-space:nowrap;font-size:23px;letter-spacing:.065em}.schedule .sunday{color:#e60012}.saturday-fill{background:var(--soft-gray)}.sunday-fill{background:var(--pink)}.table-asterisk{display:block;font-size:18px;line-height:1}.dot{display:inline-block;width:32px;height:32px;background:var(--ink);border-radius:50%;vertical-align:middle}.cross{display:inline-block;position:relative;width:31px;height:31px;vertical-align:middle}.cross:before,.cross:after{content:"";position:absolute;width:32px;height:2px;background:#383b40;left:0;top:15px;transform:rotate(45deg)}.cross:after{transform:rotate(-45deg)}.schedule-note{font-size:18px;line-height:1.75;margin-top:16px}.schedule-mobile{display:none}
.access{padding-top:112px}.access-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.0768fr);gap:40px;margin-top:88px}.access-information address{font-style:normal}.postal{display:block;font-family:var(--number-font);font-size:18px;line-height:1.75}.street{display:block;font-size:24px;line-height:1.5;margin-top:10px}.telephone{display:inline-block;font-family:ClinicPhone,var(--number-font);font-size:44px;letter-spacing:.08em;line-height:1.35;margin-top:50px;white-space:nowrap}.telephone-note{font-size:16px;line-height:1.5;margin-top:6px}.parking{margin-top:58px}.bicycles{margin-top:22px}.parking-description{font-size:16px;line-height:1.4;padding-left:26px;margin-top:6px}.map-placeholder{background:#999;aspect-ratio:588.9/443.1;display:flex;align-items:center;justify-content:center;align-self:start;font-family:var(--latin-font);font-size:46px;letter-spacing:.1em;line-height:1.2}.contact{margin-top:166px;padding:60px 54px 65px;display:grid;grid-template-columns:minmax(0,1fr) 365px;align-items:center;gap:40px;background:var(--pink)}.contact h2{font-family:ClinicHeading,var(--body-font);font-size:46px;line-height:1.4;letter-spacing:.1em;white-space:nowrap}.contact h2>span{font-size:24px;letter-spacing:.1em}.contact-lead{font-size:21px;line-height:1.75;margin-top:40px}.contact-description{font-size:18px;line-height:1.75;margin-top:25px}.contact-note{font-size:14px;line-height:1.75;margin-top:4px}.instagram-button{display:flex;align-items:center;justify-content:center;gap:28px;height:128px;border:1px solid #383b40;font-family:var(--latin-font);font-size:36px;letter-spacing:.1em;white-space:nowrap}.arrow{position:relative;display:block;width:42px;height:42px;flex:none}.arrow:before{content:"";position:absolute;left:0;bottom:0;width:57px;height:1px;transform-origin:left center;transform:rotate(-45deg);background:#383b40}.arrow:after{content:"";position:absolute;right:0;top:0;width:35px;height:35px;border-top:1px solid #383b40;border-right:1px solid #383b40}.footer{margin-top:138px;padding:0 4.875% 40px}.footer:before{content:"";display:block;height:1px;background:#383b40}.footer-brand{width:540px;margin:110px auto 0}.copyright{font-family:var(--latin-font);font-size:18px;line-height:1.5;letter-spacing:.1em;text-align:right;margin-top:70px;margin-right:20px}
@media(min-width:900px) and (max-width:1199px){body{font-size:16px}.hero{height:790px}.header-brand{width:290px;top:125px}.hero-art{top:125px}.opening{top:440px}.opening-date time{font-size:56px}.opening-date>span{font-size:23px;margin-left:24px}.opening-word{font-size:36px}.hero-intro{top:600px;font-size:15px;width:31%}.reserve{width:146px;height:146px}.reserve>span{font-size:18px}.reserve>strong{font-size:28px}.hero-art>.reserve{right:24px;bottom:24px}.department{height:215px}.department>p{font-size:34px}.departments{gap:26px}.about-visual{grid-template-columns:36% minmax(0,1fr);gap:45px;margin-left:-36px}.about-visual>img{width:100%}.concept{font-size:26px}.about-intro,.doctor-message,.hours-intro{font-size:16px}.signature{padding-right:60px}.hours-reserve{right:0}.schedule th,.schedule td{font-size:17px}.time-range{font-size:17px}.schedule thead th{font-size:20px}.dot{width:24px;height:24px}.access-grid{gap:30px}.telephone{font-size:34px}.street{font-size:20px}.telephone-note,.parking-description{font-size:14px}.contact{grid-template-columns:minmax(0,1fr) 245px;gap:26px;padding-inline:38px}.contact h2{font-size:34px}.contact h2>span{font-size:18px}.contact-lead{font-size:17px}.contact-description{font-size:15px}.instagram-button{font-size:25px;height:96px;gap:20px}.arrow{width:30px;height:30px}.arrow:before{width:40px}.arrow:after{width:25px;height:25px}}
@media(max-width:899px){
  html{scroll-padding-top:92px}body{font-size:15px;line-height:28px}section{scroll-margin-top:92px}.sp-only{display:initial}.layout,.wide{margin-inline:32px}main{max-width:600px}.site-header{position:absolute;max-width:600px;height:150px}.header-brand{left:32px;top:32px;width:148px}.header-actions{right:32px;top:30px;gap:24px}.instagram-icon{width:24px;height:24px}.menu-toggle{width:28px;height:36px}.menu-toggle span{left:2px;width:24px;height:1px}.menu-toggle span:first-child{top:12px}.menu-toggle span:last-child{top:24px}.site-header.is-scrolled{height:76px}.site-header.is-scrolled .header-actions{visibility:visible;pointer-events:auto;top:24px}.site-header.is-scrolled .header-brand{visibility:hidden}.global-menu{position:fixed;inset:0;max-width:600px;margin-inline:auto;padding:185px 32px 70px;display:flex;flex-direction:column;align-items:flex-end;gap:36px;background:var(--paper);font-size:17px;line-height:36px;letter-spacing:.1em;z-index:31}.global-menu a{padding:0;min-height:36px}.site-header.is-scrolled .global-menu{top:0}.site-header.is-open .header-actions{position:fixed;top:30px;right:max(32px,calc((100vw - 600px)/2 + 32px));z-index:33}.site-header.is-open .instagram-icon{visibility:hidden}.site-header.is-open .header-brand{position:fixed;left:max(32px,calc((100vw - 600px)/2 + 32px));top:32px;visibility:visible;z-index:32}.site-header.is-open .menu-toggle span:first-child,.site-header.is-open .menu-toggle span:last-child{top:18px}.menu-is-open{overflow:hidden}
  .hero{height:auto;display:flex;flex-direction:column;padding-top:182px;margin-inline:32px}.opening{position:static;order:0}.opening-date{line-height:48px}.opening-date time{font-size:40px;letter-spacing:.1em}.opening-date>span{font-size:15px;margin-left:24px;line-height:22px}.opening-word{font-size:22px;line-height:30px;margin-top:10px}.hero-art{position:relative;inset:auto;order:1;width:100%;height:auto;aspect-ratio:1328/1184;margin-top:32px}.hero-art>.reserve{right:12px;bottom:14px}.reserve{width:88px;height:88px}.reserve>span{font-size:10.5px;line-height:15px;margin-bottom:6px}.reserve>strong{font-size:18px;line-height:25px}.hero-intro{position:static;order:2;width:auto;font-size:14px;line-height:26px;margin-top:36px}.hero-intro>p:first-child{margin-bottom:16px}.departments{display:grid;grid-template-columns:1fr;gap:20px;margin-top:56px}.department{height:88px}.department>span{font-size:11px;line-height:17px;margin-bottom:12px}.department>p{font-size:20px;line-height:28px}.about{padding-top:84px;padding-bottom:72px}.eyebrow{font-size:11.5px;line-height:18px;gap:14px;letter-spacing:.07em}.eyebrow:before{width:34px}.section-heading h1,.section-heading h2{font-size:26px;line-height:36px;margin-top:18px}.section-heading{margin-bottom:32px}.about-intro{font-size:15px;line-height:28px}.about-intro>p{margin-bottom:10px}.about-visual{display:block;margin-left:0;margin-top:44px}.about-visual>img{width:240px;max-width:100%;height:auto}.concept{font-size:20px;line-height:35px;margin-top:48px}.doctor-message{font-size:15px;line-height:28px;margin-top:44px}.doctor-message>p{margin-bottom:12px}.signature{padding:0;gap:24px;margin-top:24px;font-size:11px;line-height:24px}.signature-rule{display:none}.signature>strong{font-size:16px;line-height:24px}
  .hours{padding:36px 0 58px}.hours .section-heading{margin-bottom:74px}.hours-reserve{right:0;top:29px}.hours-intro{max-width:none;font-size:14px;line-height:26px;margin-bottom:34px}.hours-intro>p:first-child{margin-bottom:14px}.schedule-desktop{display:none}.schedule-mobile{display:block}.schedule th,.schedule td{font-size:11.5px;letter-spacing:.02em;height:54px;padding:5px 1px;border-color:#777;line-height:1.4}.schedule{border-color:#777}.schedule thead th{height:40px;font-size:13px}.schedule thead th:first-child{font-size:11.5px}.time-range{font-size:12px;letter-spacing:.03em}.dot{width:10.4px;height:10.4px}.cross{width:10px;height:10px}.cross:before,.cross:after{top:4.5px;width:12px;height:1px;left:-1px}.weekend-table{margin-top:28px}.schedule-note{font-size:12px;line-height:23px;margin-top:26px;letter-spacing:.05em}
  .access{padding-top:58px}.access-grid{display:flex;flex-direction:column;gap:0;margin-top:0}.access-information{width:100%}.postal{font-size:13px;line-height:23px}.street{font-size:17px;line-height:30px;margin-top:7px}.telephone{font-size:28px;line-height:40px;margin-top:30px;letter-spacing:.07em}.telephone-note{font-size:12px;line-height:23px;margin-top:10px}.parking{margin-top:40px;font-size:14px;line-height:28px}.bicycles{font-size:14px;line-height:28px;margin-top:28px}.parking-description{font-size:13.5px;line-height:25px;padding-left:22px;margin-top:0}.map-placeholder{width:100%;font-size:25.5px;letter-spacing:.1em;margin-top:42px}.contact{display:flex;flex-direction:column;align-items:stretch;gap:0;margin-top:64px;padding:32px 22px 42px}.contact h2{font-size:23px;line-height:32px;letter-spacing:.1em}.contact h2>span{font-size:12px;letter-spacing:.1em}.contact-lead{font-size:15px;line-height:28px;margin-top:40px}.contact-description{font-size:13.5px;line-height:26px;margin-top:24px}.contact-note{font-size:12px;line-height:23px;margin-top:16px}.instagram-button{width:100%;height:64px;min-height:64px;font-size:18px;line-height:1.3;letter-spacing:.1em;gap:18px;margin-top:36px}.arrow{width:18px;height:18px}.arrow:before{width:25.46px}.arrow:after{width:18px;height:18px}.footer{max-width:536px;margin:68px auto 0;padding:0 0 65px;width:calc(100% - 64px)}.footer-brand{width:264px;max-width:100%;margin-top:68px}.copyright{text-align:center;font-size:10px;line-height:15px;margin:44px 0 0;letter-spacing:.1em}
}
@media(max-width:359px){.opening-date time{font-size:34px}.opening-date>span{font-size:13px;margin-left:15px}.contact h2{font-size:20px}.contact h2>span{font-size:10.5px}.time-range{font-size:10px}.schedule th,.schedule td{font-size:10px}.schedule thead th:first-child{font-size:10px}.schedule thead th{font-size:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

/* WordPressログイン時だけ管理バーの高さを避ける。 */
body.admin-bar .site-header{top:32px}
@media(max-width:782px){body.admin-bar .site-header{top:46px}}
@media(min-width:601px) and (max-width:899px){body.admin-bar .global-menu{top:46px}body.admin-bar .site-header.is-open .header-brand{top:78px}body.admin-bar .site-header.is-open .header-actions{top:76px}}
@media(max-width:600px){body.admin-bar .site-header.is-scrolled{top:0}body.admin-bar .site-header.is-open{position:fixed;top:0}body.admin-bar .site-header.is-open .header-brand{top:32px}body.admin-bar .site-header.is-open .header-actions{top:30px}}
/* TOP以外のWordPress標準ページ用。既存TOPのレイアウトには適用しない。 */
.page-shell{padding-top:430px;min-height:70vh}.page-shell>.layout{padding-block:50px}.page-title{font-family:ClinicHeading,var(--body-font);font-size:36px;margin-bottom:36px}.entry-content>*+*{margin-top:1.5em}.entry-content a,.post-summary a,.return-home{text-decoration:underline;text-underline-offset:.2em}.post-summary{margin-bottom:48px}.post-summary h2{font-size:26px}.entry-content ul,.entry-content ol{padding-left:1.7em}.entry-content figure{margin-inline:0}.entry-content iframe{max-width:100%}.entry-content table{display:block;max-width:100%;overflow-x:auto}.entry-content h2,.entry-content h3{font-size:26px;font-weight:100}.entry-content pre{overflow:auto}.entry-content,.page-title,.post-summary{overflow-wrap:anywhere}
@media(max-width:899px){.page-shell{padding-top:190px}.page-shell>.layout{padding-block:30px}.page-title{font-size:26px}.entry-content h2,.entry-content h3,.post-summary h2{font-size:22px}}

/* v0.1.2: approved corrections only. */
@font-face{font-family:ClinicNavigation;src:url('assets/noto-navigation-300.woff2') format('woff2');font-weight:300;font-display:swap}
.schedule-weeks{font-family:ClinicNumbers,sans-serif;font-weight:100;font-synthesis:none;white-space:nowrap}
.global-menu{font-family:ClinicNavigation,sans-serif;font-weight:300;font-size:16px;font-synthesis:none}
.menu-booking{display:none}
.instagram-button{font-size:30px}
.footer-brand{width:460px}
/* Keep the main reservation visible at the lower-right of the viewport. */
.hero-art>.reserve-floating{position:fixed;right:max(32px,calc((100vw - 1440px)/2 + 136px));bottom:45px;z-index:25;box-shadow:none;border:0}
@media(min-width:900px){.menu-toggle{display:none}.header-actions{gap:0}.site-header:not(.is-scrolled) .global-menu{display:none!important}}
@media(min-width:900px) and (max-width:1199px){.instagram-button{font-size:23px}.hero-art>.reserve-floating{right:calc(6.3vw + 24px);bottom:32px}}
@media(max-width:899px){
 .global-menu{font-size:18px;font-weight:300}
 .menu-booking{display:block}
 .instagram-button{font-size:16px}
 .footer-brand{width:228px}
 .hero-art>.reserve-floating{right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));z-index:25}
 .footer{padding-bottom:124px}
}

/* v0.1.3: desktop scroll docking; mobile stays at the lower-right. */
@media(min-width:900px){
 .hero-art>.reserve-floating{transition:opacity .2s ease}
 .reservation-is-docked .hero-art>.reserve-floating{top:var(--reservation-dock-top,84px);right:var(--reservation-dock-right,6.3%);bottom:auto;opacity:.65}
 .reservation-is-docked .hero-art>.reserve-floating:hover,
 .reservation-is-docked .hero-art>.reserve-floating:focus-visible{opacity:1}
}
@media(max-width:899px){.hero-art>.reserve-floating{opacity:1;border:0;box-shadow:none}}
@media(prefers-reduced-motion:reduce){.hero-art>.reserve-floating{transition:none}}

/* Contain the Google Maps iframe in the existing access-content margins. */
.map-embed{width:100%;min-width:0;aspect-ratio:588.9/443.1;align-self:start;overflow:hidden}
.map-embed>iframe{display:block;width:100%;max-width:100%;height:100%;border:0}
@media(max-width:899px){.map-embed{margin-top:42px}}