@charset "utf-8";
/*
Theme Name: KyotoAR
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lora:wght@700&family=Noto+Sans+JP:wght@100..900&display=swap');


/*reset*/
/*******************************************************************/
html{box-sizing:border-box;overflow-y:scroll;-webkit-text-size-adjust:100%}*,:after,:before{background-repeat:no-repeat;box-sizing:inherit}:after,:before{text-decoration:inherit;vertical-align:inherit}*{padding:0;margin:0}audio:not([controls]){display:none;height:0}hr{overflow:visible}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}summary{display:list-item}small{font-size:80%}[hidden],template{display:none}abbr[title]{border-bottom:1px dotted;text-decoration:none}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}code,kbd,pre,samp{font-family:monospace,monospace}b,strong{font-weight:bolder}dfn{font-style:italic}mark{background-color:#ff0;color:#000}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}input{border-radius:0}[role=button],[type=button],[type=reset],[type=submit],button{cursor:pointer}[disabled]{cursor:default}[type=number]{width:auto}[type=search]{-webkit-appearance:textfield;appearance:textfield}[type=search]::-webkit-search-cancel,[type=search]::-webkit-search-decoration{-webkit-appearance:none}textarea{overflow:auto;resize:vertical}button,input,optgroup,select,textarea{font:inherit}optgroup{font-weight:700}button{overflow:visible}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:0;padding:0}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button:-moz-focusring{outline:1px dotted ButtonText}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button;appearance:button}button,select{text-transform:none}button,input,select,textarea{background-color:transparent;border-style:none;color:inherit}select{-moz-appearance:none;;-webkit-appearance:none;appearance:none}select::-ms-expand{display:none}select::-ms-value{color:currentColor}legend{border:0;color:inherit;display:table;max-width:100%;white-space:normal}::-webkit-file-upload{-webkit-appearance:button;font:inherit}[type=search]{-webkit-appearance:textfield;appearance:textfield;outline-offset:-2px}img{width:auto;max-width:100%;height:auto;border-style:none;vertical-align:middle}i{vertical-align:middle}progress{vertical-align:baseline}svg:not(:root){overflow:hidden}audio,canvas,progress,video{display:inline-block}@media screen{[hidden~=screen]{display:inherit}[hidden~=screen]:not(:active):not(:focus):not(:target){position:absolute!important;clip:rect(0 0 0 0)!important}}[aria-busy=true]{cursor:progress}[aria-controls]{cursor:pointer}[aria-disabled]{cursor:default}::-moz-selection{background-color:#b3d4fc;color:#000;text-shadow:none}::selection{background-color:#b3d4fc;color:#000;text-shadow:none}ul,ol{list-style:none}i,em{font-style:normal}*:focus { outline: none;}
a { color: #5B5B5B; transition: all .3s ease-out; text-decoration: none;}
@media only screen and (min-width: 769px){ a { transition: all .2s ease-out;} a:hover { filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=60); opacity: 0.6;}}
@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm) { img { image-rendering: -webkit-optimize-contrast;}}


/*LAYOUT*/
/*******************************************************************/
html { font-size: 62.5%;}
body { -webkit-text-size-adjust: 100%; -webkit-overflow-scrolling: touch; font-family: "Inter", "Noto Sans JP", serif; font-optical-sizing: auto; font-size: clamp(1.4rem,1.6vw,1.6rem); font-weight: 500; line-height: 1.5; color: #5B5B5B;}
#container { position: relative; width: 100%; overflow: clip;}
#container::before { content: ''; position: absolute; inset: 0; background: #F5F5F5 url(img/common/bg.png) center top repeat-y; background-size: 100% auto; z-index: -10;}
.page-veterinary #container::before, .page-orner #container::before, .page-cc #container::before { background-image: none;}


/*HEADER*/
/*******************************************************************/
#header { position: sticky; top: 0; left: 0; width: 100%; background: rgba(255,255,255,.8); z-index: 100; transition: transform 0.3s;}
.page-home #header, .page-veterinary #header, .page-orner #header { position: fixed;}
.inner { display: grid; align-items: center; grid-template-columns: auto 1fr; gap: 0 24px; width: 96%; max-width: 1000px; margin: 0 auto;}
.icon-list { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 1em 2em}
.icon-list a { display: block; padding-left: 1.6em; background-position: left center; background-repeat: no-repeat; font-size: 1.5rem; font-weight: 500;}
.icon-list a.icon-news { background-image: url(img/common/news.svg);}
.icon-list a.icon-access { background-image: url(img/common/access.svg);}
.icon-list a.icon-recruit { background-image: url(img/common/recruit.svg);}
.icon-list a.icon-contact { background-image: url(img/common/contact.svg);}
.icon-list a.icon-blank { background-image: url(img/common/blank.svg);}
#nav .menu-contents li a { position: relative; display: block; padding: 8px 24px 8px 0; border-bottom: 1px solid #FFF; color: #FFF;}
#nav .menu-contents li a::after { content: ''; position: absolute; top: 50%; right: 0; transform: translate(-50%,-50%) rotate(45deg); width: 8px; height: 8px; border-top: 1px solid #FFF; border-right: 1px solid #FFF; transition: .2s ease-out;}
@media screen and (min-width: 1024px) {
	#header .logo { max-width: 262px; padding: 16px 0;}
	#nav { grid-column: 1 / 3;}
	#nav .icon-list { display: none;}
	#nav .menu { position: relative; display: flex; align-items: center; gap: 50px;}
	#nav .menu::before { content: ''; position: absolute; top: 0; left: calc(50% - 50vw); width: 100vw; height: 2px; background: #D9D9D9;}
	#nav .menu > li > .nav-title { position: relative; display: block; padding: 16px 24px 16px 0; font-weight: 600; cursor: pointer; pointer-events: none; transition: .2s ease-out;}
	#nav .menu > li > .nav-title::after { content: ''; position: absolute; top: 50%; right: 0; transform: rotate(45deg) translate(-50%,-50%); width: 10px; height: 10px; border-right: 2px solid #5B5B5B; border-bottom: 2px solid #5B5B5B; transition: .2s ease-out;}
	#nav .menu-contents { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); opacity: 0; visibility: hidden; display: grid !important; grid-template-columns: 24% 1fr; align-items: center; width: 100%; padding: 16px 32px; height: 205px; transition: opacity .2s ease, visibility .2s ease;;}
	#nav .menu-contents::before { content: ''; position: absolute; top: 0; left: calc(50% - 50vw); width: 100vw; height: 100%; background: #03427D url(img/common/menu.png) left top no-repeat; opacity: 0.75; z-index: -1}
	#nav .menu-contents .nav-title { text-align: center; color: #FFF;}
	#nav .menu-contents ul { display: grid; grid-template-columns: repeat(3,1fr); grid-auto-flow: column; grid-template-rows: repeat(3, auto); gap: 0.5em 3em; padding-left: 2em; height: 144px; border-left: 1px solid #FFF;}
	#nav .menu > li:hover > .nav-title { color: #03427D;}
	#nav .menu > li:hover > .nav-title::after { border-color: #03427D;}
	#nav .menu > li:hover .menu-contents { opacity: 1; visibility: visible;}
	#open { display: none;}
}
@media only screen and (max-width: 1023px){
	#container::before { background-image: none;}
	#global { display: none;}
	.inner { width: auto; min-height: 64px;}
	#header .logo { max-width: 200px; margin-left: 6%; padding: 0;}
	#nav { pointer-events: none; opacity: 0; position: fixed; top: 64px; right: 0; transform: translateX(100%); width: 100%; height: calc(100svh - 64px); padding: 32px; background: url(img/common/nav_sp.png) center no-repeat; background-size: cover; color: #FFF; overflow-y: auto; overscroll-behavior: contain; z-index: 1000; transition: .2s ease-out;}
	#nav .icon-list { justify-content: flex-start; margin-top: 2em;}
	#nav .icon-list a { color: #FFF;}
	#nav .icon-list a.icon-news { background-image: url(img/common/news_w.svg);}
	#nav .icon-list a.icon-access { background-image: url(img/common/access_w.svg);}
	#nav .icon-list a.icon-recruit { background-image: url(img/common/recruit_w.svg);}
	#nav .icon-list a.icon-contact { background-image: url(img/common/contact_w.svg);}
	#nav .icon-list a.icon-blank { background-image: url(img/common/blank_w.svg);}
	#nav .nav-title { position: relative; font-size: 2rem; font-weight: 600; color: #FFF;}
	#nav .nav-title::before, #nav .nav-title::after { position: absolute; top: 50%; right: 0; display: block; width: 14px; height: 1px; content: ''; background: #FFF; transition: 0.3s transform; transform: translateY(-50%);}
	#nav .nav-title::before { transform: translateY(-50%) rotate(90deg);}
	#nav .nav-title.is-active::after { transform: translateY(-50%) rotate(180deg);}
	#nav .nav-title.is-active::before { transform: translateY(-50%) rotate(360deg);}
	#nav .menu > li { padding: 1em 0; border-bottom: 1px solid #FFF;}
	#nav .menu-contents { position: relative; display: none; padding: 8px 32px 24px; background: #FFF; margin: 8px -32px;}
	#nav .menu-contents .nav-title { display: none;}
	#nav .menu-contents li a { border-color: #5B5B5B; font-size: 2rem; font-weight: 600; color: #5B5B5B;}
	#nav .menu-contents li a::after { border-color: #5B5B5B;}
	#open { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; width: 64px; height: 64px; margin-left: auto; background: #03427D; cursor: pointer;}
	#open div { position: relative; width: 32px; height: 24px;}
	#open i { font-size: 1rem; font-weight: 600; color: #FFF; white-space: nowrap;}
	#open span { position: absolute; left: 50%; transform: translateX(-50%); display: block; width: 32px; height: 2px; background: #FFF; border-radius: 2px; transition: .2s linear;}
	#open span:nth-child(1) { top: calc(50% - 5px);}
	#open span:nth-child(2) { top: calc(50% + 5px);}
	.open #open span:nth-child(1) { top: 50%; transform: translateX(-50%) rotate(135deg);}
	.open #open span:nth-child(2) { top: 50%; transform: translateX(-50%) rotate(-135deg); width: 30px;}
	.open #nav { pointer-events: auto; transform: translateY(0); opacity: 1;}
	.page-orner #nav .nav-title::before, .page-orner #nav .nav-title::after { display: none;}
}
.page-orner #nav .nav-title.link { padding-right: 0; pointer-events: auto;}
.page-orner #nav .nav-title.link::before, .page-orner #nav .nav-title::after { display: none;}


/*FOOTER*/
/*******************************************************************/
#footer { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 40px 1em; width: 92%; max-width: 1000px; margin: 0 auto; padding: 40px 0;}
#footer::before { content: ''; position: absolute; top: 0; left: calc(50% - 50vw); width: 100vw; height: 100%; background: #FFF; z-index: -1;}
#footer .logo { max-width: 238px;}
.tel { font-size: 1.5rem; font-weight: 400; color: #03427D;}
.tel i { display: inline-block; margin-top: 16px; padding-left: 1.2em; background: url(img/common/tel.svg) left center no-repeat; background-size: auto 1em; font-size: 2.4rem; font-weight: 600; line-height: 1; color: #03427D;}
.tel span { display: block; margin-top: 0.5em;}
#footer .address p { margin-top: 1em; font-size: 1.3rem; font-weight: 400; line-height: 1.4;}
.sitemap .menu { display: grid; grid-template-rows: auto auto; align-items: flex-start; gap: 1em;}
.sitemap .menu > li { padding-left: 1em; border-left: 2px solid #03427D;}
.sitemap .menu > li:nth-child(1) { grid-row: 1 / 3;}
.sitemap .menu > li:nth-child(2) { grid-row: 1 / 3;}
.sitemap .menu > li:nth-child(3) { grid-row: 1 / 2;}
.sitemap .menu > li:nth-child(4) { grid-row: 2 / 3;}
.sitemap .menu > li:nth-child(5) { grid-row: 1 / 3;}
.sitemap .menu .nav-title { position: relative; padding-left: 1.5em; font-size: 1.5rem; font-weight: 600; color: #03427D;}
.sitemap .menu .nav-title::before { content: ''; position: absolute; top: 50%; left: 0; transform: translateY(-50%); width: 1em; height: 1em; background: #03427D;}
.sitemap .menu-contents .nav-title { display: none;}
.sitemap .menu-contents li { line-height: 1.2;}
.sitemap .menu-contents li a { position: relative; padding-left: 10px; font-size: 1.1rem; font-weight: 400; color: #5B5B5B;}
.sitemap .menu-contents li a::before { content: ''; position: absolute; top: 50%; left: 0; transform: translateY(-50%); width: 6px; height: 2px; background: #5B5B5B;}
#footer .global { position: relative; grid-column: 1 / 3;}
#footer .global::before { content: ''; position: absolute; top: 0; left: calc(50% - 50vw); width: 100vw; height: 100%; background: #03427D; z-index: -1;}
#footer .icon-list { justify-content: flex-start; padding: 1em 0;}
#footer .icon-list a { color: #FFF;}
#footer .icon-list a.icon-news { background-image: url(img/common/news_w.svg);}
#footer .icon-list a.icon-access { background-image: url(img/common/access_w.svg);}
#footer .icon-list a.icon-recruit { background-image: url(img/common/recruit_w.svg);}
#footer .icon-list a.icon-contact { background-image: url(img/common/contact_w.svg);}
#footer .icon-list a.icon-blank { background-image: url(img/common/blank_w.svg);}
.copyright { grid-column: 1 / 3; text-align: center; color: #B6B6B6;}
.page-orner .sitemap { align-self: center;}
.page-orner .sitemap .menu > li { padding-left: 0; border-left: none;}
.page-orner .sitemap .menu { display: flex; flex-wrap: wrap;}
@media screen and (min-width: 1024px) {
	.page-orner .info { display: flex; gap: 24px;}
}
@media only screen and (max-width: 1023px){
	#footer { display: flex; flex-direction: column; justify-content: center;}
	#footer .info { display: flex; flex-direction: column; align-items: center; text-align: center;}
	.sitemap { display: none;}
	#footer .icon-list { display: grid; grid-template-columns: 1fr 1fr; padding: 2em 0;}
	#footer .icon-list a { position: relative; padding-top: 4px; padding-bottom: 4px; border-bottom: 1px solid #FFF; font-size: 1.4rem;}
	#footer .icon-list a::after { content: ''; position: absolute; top: 50%; right: 0; transform: translate(-50%,-50%) rotate(45deg); width: 8px; height: 8px; border-top: 1px solid #FFF; border-right: 1px solid #FFF; transition: .2s ease-out;}
}


/*CONTENTS*/
/*******************************************************************/
article { position: relative; padding: 80px 0;}
.bg-white::before { content: ''; position: absolute; top: 0; left: calc(50% - 50vw); width: 100vw; height: 100%; background: #FFF; z-index: -5;}
.bg-blue::before { content: ''; position: absolute; top: 0; left: calc(50% - 50vw); width: 100vw; height: 100%; background: #E7EFF6; z-index: -5;}
section { position: relative; width: 92%; max-width: 1000px; margin: 0 auto;}
section + section { margin-top: 80px;}
.tight { max-width: 740px; margin-left: auto; margin-right: auto;}
.narrow { max-width: 880px; margin-left: auto; margin-right: auto;}
.wide { max-width: 1200px; margin-left: auto; margin-right: auto;}
.full { width: auto; max-width: initial;}
.white-box { padding: 80px 4%; background: #FFF; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.25);}
.gray-box { padding: 40px 4%; background: #DDD; border-radius: 12px;}
.blue-box { padding: 80px 4%; background: #B2CFE9; background: linear-gradient(60deg, rgba(178, 207, 233, 1) 0%, rgba(214, 224, 234, 1) 100%); border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.25);}
.sec { padding-top: 80px; border-top: 2px solid #8bb1d5;}
h1 { font-size: clamp(2.8rem,3.2vw,3.2rem);}
h2 { font-size: clamp(2.8rem,3.2vw,3.2rem);}
h3 { font-size: clamp(2rem,2.4vw,2.4rem);}
h4 { font-size: clamp(1.5rem,1.7vw,1.7rem);}
h5 { font-size: clamp(1.4rem,1.6vw,1.6rem);}
.title { margin-bottom: 1em; padding-left: 0.5em; border-left: 11px solid #03427D; font-size: clamp(2rem,2.0vw,2.4rem); color: #03427D;}
.subtitle { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px; font-size: clamp(1.6rem,1.8vw,2.0rem); color: #03427D;}
.subtitle::before { content: ''; display: inline-block; width: 10px; height: 2px; background: #03427d;}
.border-title { position: relative; padding-bottom: 0.5em; font-size: clamp(1.6rem,1.8vw,2.0rem); color: #03427D;}
.border-title::before { content: ''; position: absolute; bottom: 0; left: 0; display: block; width: 100%; height: 2px; background: #03427D; background: linear-gradient(90deg, rgba(3, 66, 125, 1) 0%, rgba(204, 225, 244, 1) 100%);}
.boxtitle { display: inline-block; padding: 0.1em 0.5em; border: 1px solid #DDD;}
article * + h2, article * + h3, article * + h4, article * + h5, article * + ul, article * + ol, * + .wp-block-list, * + .wp-block-table , * + .wp-block-buttons, * + .wp-block-image, * + .wp-block-gallery, * + form { margin-top: 40px;}
article h2 + * { margin-top: 2em !important;}
article h3 + *, article h4 + *, article h5 + * { margin-top: 1em !important;}
article * + p { margin-top: 1em;}
figure { position: relative; margin: 0;}
iframe { border: none;}
h1,h2,h3,h4,h5,h6,strong { font-weight: 600;}
.wp-block-group * + .wp-block-image { margin-top: 0 !important;}
.wp-block-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; text-align: center;}
.wp-block-buttons.left { justify-content: flex-start;}
.wp-block-buttons.right { justify-content: flex-end;}
.wp-block-button a { position: relative; isolation: isolate; display: flex; justify-content: center; align-items: center; gap: 5px; min-width: 165px; min-height: 29px; padding: 0.2em 2em; border: 1px solid #03427D; border-radius: 2px; font-size: 1.4rem; font-weight: 600; text-decoration: none !important; color: #03427D !important; overflow: hidden;}
.wp-block-button a::after { content: ''; position: absolute; top: 50%; right: 0.6em; transform: translate(-50%,-50%) rotate(45deg); width: 8px; height: 8px; border-top: 1px solid #03427D; border-right: 1px solid #03427D; transition: .2s ease-out;}
.wp-block-button a.mail::after { content: ''; display: block; width: 15px; height: 11px; background: url("img/common/mail.svg") center no-repeat;}
.wp-block-button a:hover { background: #03427D; color: #FFF !important; opacity: 1;}
.wp-block-button a:hover::after { border-color: #FFF;}
.wp-block-button a.large { padding: 1em 3em 1em 2em; background: #03427d; border: none; border-radius: 8px; font-size: clamp(1.6rem,1.8vw,2.0rem); color: #FFF !important;}
.wp-block-button a.large::after { right: 1em; width: 12px; height: 12px; border-width: 2px; border-color: #FFF;}
.wp-block-button a.large:hover { opacity: 0.6;}
.wp-block-button a.large.transparent { background: none; border: 1px solid #FFF;}
.wp-block-button a.large-alt { padding: 1em 3em 1em 2em; border-radius: 8px; font-size: clamp(1.6rem,1.8vw,2.0rem);}
.wp-block-button a.large-alt::after { width: 12px; height: 12px; border-width: 2px;}
.wp-block-button a.blank::after { transform: translate(-50%,-50%); width: 17px; height: 17px; background-image: url(img/common/blank.svg); border: none;}
.wp-block-button a.blank-w::after { transform: translate(-50%,-50%); width: 17px; height: 17px; background-image: url(img/common/blank_w.svg); border: none;}
.wp-block-button a.blank:hover::after { background-image: url(img/common/blank_w.svg);}
.wp-block-button a.alt { background-color: #FFF; border: 2px solid #03427d; font-weight: 600; color: #03427d;}
.dl-list a.alt::before { background-image: url(img/reserve/download.svg);}
.wp-block-button a.login::before { content: ''; display: inline-block; width: 14px; height: 20px; margin-right: 4px; background: url(img/reserve/login.svg) center no-repeat;}
.plus { position: relative; display: block; max-width: 240px; margin: 0 auto; border: 1px solid #03427d; padding: 8px 40px 8px 15px; text-align: center; border-radius: 4px; color: #03427d; font-weight: 700; cursor: pointer; white-space: nowrap; transition: .2s ease-out;}
.plus::before, .plus::after { content: ""; position: absolute; top: 50%; right: 16px; display: block; width: 2px; height: 12px; background: #03427d; transition: .2s ease-out;}
.plus::before { transform: translateY(-50%);}
.plus::after { transform: translateY(-50%) rotate(90deg);}
.plus:hover { background: #03427d; color: #FFF; opacity: 1;}
.plus:hover::before, .plus:hover::after { background: #FFF;}
.arrow { position: relative; display: inline-block; padding: 0 2em 0.5em 0; border-bottom: 1px solid #5B5B5B;}
.arrow::after { content: ''; position: absolute; top: calc(50% - 0.25em); right: 0; transform: translate(-50%,-50%) rotate(45deg); width: 8px; height: 8px; border-top: 1px solid #5B5B5B; border-right: 1px solid #5B5B5B; transition: .2s ease-out;}
ul.wp-block-list { display: grid; gap: 0.5em; margin-left: 1.5em; list-style: square;}
ul.wp-block-list li::marker { font-size: clamp(1.8rem,2.0vw,2.4rem);}
ul.wp-block-list.blue-marker li::marker { color: #03427d;}
ol.wp-block-list { display: grid; gap: 0.5em; margin-left: 1.5em; list-style: decimal;}
.wp-block-table { overflow: hidden;}
.wp-block-table table { width: 100%; border-collapse: collapse; border-spacing: 0;}
.wp-block-table tr { border-bottom: 1px solid #CCCCCC;}
.wp-block-table th { padding: 16px; text-align: left; vertical-align: top; border: none; font-weight: 700; white-space: nowrap;}
.wp-block-table td { padding: 16px; text-align: left; vertical-align: top; border: none;}
.wp-block-table figcaption { margin-top: 16px; text-align: center; color: #777;}
.col { display: grid; grid-template-columns: 46% calc(54% - 48px); align-items: center; gap: 24px 48px;}
.col.reverse { grid-template-columns: calc(54% - 48px) 46%;}
.col.reverse figure { order: 1;}
.clear::after { content: ''; display: block; clear: both;}
.center { text-align: center!important;}
.right { text-align: right!important;}
.left { text-align: left;}
.mt0 { margin-top: 0 !important;}
.mt8 { margin-top: 8px !important;}
.mt16 { margin-top: 16px !important;}
.mt24 { margin-top: 24px !important;}
.mt32 { margin-top: 32px !important;}
.mt40 { margin-top: 40px !important;}
.mt48 { margin-top: 48px !important;}
.mt56 { margin-top: 56px !important;}
.mt64 { margin-top: 64px !important;}
.mt80 { margin-top: 80px !important;}
.mt160 { margin-top: 160px !important;}
.pt0 { padding-top: 0 !important;}
.fs10 { font-size: clamp(0.8rem,1.0vw,1.0rem) !important;}
.fs11 { font-size: clamp(0.9rem,1.1vw,1.1rem) !important;}
.fs12 { font-size: clamp(1.0rem,1.2vw,1.2rem) !important;}
.fs13 { font-size: clamp(1.1rem,1.3vw,1.3rem) !important;}
.fs14 { font-size: clamp(1.2rem,1.4vw,1.4rem) !important;}
.fs15 { font-size: clamp(1.3rem,1.5vw,1.5rem) !important;}
.fs16 { font-size: clamp(1.4rem,1.6vw,1.6rem) !important;}
.fs18 { font-size: clamp(1.5rem,1.7vw,1.7rem) !important;}
.fs18 { font-size: clamp(1.5rem,1.7vw,1.8rem) !important;}
.fs20 { font-size: clamp(1.6rem,1.8vw,2.0rem) !important;}
.fs22 { font-size: clamp(1.7rem,1.9vw,2.2rem) !important;}
.fs24 { font-size: clamp(1.8rem,2.0vw,2.4rem) !important;}
.fs26 { font-size: clamp(1.9rem,2.1vw,2.6rem) !important;}
.fs28 { font-size: clamp(2.0rem,2.2vw,2.8rem) !important;}
.fs30 { font-size: clamp(2.1rem,2.3vw,3.0rem) !important;}
.fs32 { font-size: clamp(2.2rem,2.4vw,3.2rem) !important;}
.fs34 { font-size: clamp(2.3rem,2.5vw,3.4rem) !important;}
.fs36 { font-size: clamp(2.4rem,2.6vw,3.6rem) !important;}
.fs38 { font-size: clamp(2.5rem,2.7vw,3.8rem) !important;}
.fs40 { font-size: clamp(2.6rem,2.8vw,4.0rem) !important;}
.fs42 { font-size: clamp(2.7rem,2.9vw,4.2rem) !important;}
.fs44 { font-size: clamp(2.8rem,3.0vw,4.4rem) !important;}
.fs46 { font-size: clamp(2.9rem,3.1vw,4.6rem) !important;}
.fs48 { font-size: clamp(3.0rem,3.2vw,4.8rem) !important;}
.fs50 { font-size: clamp(3.1rem,3.3vw,5.0rem) !important;}
.fs52 { font-size: clamp(3.2rem,3.4vw,5.2rem) !important;}
.fs54 { font-size: clamp(3.3rem,3.5vw,5.4rem) !important;}
.fs56 { font-size: clamp(3.4rem,3.6vw,5.6rem) !important;}
.fs58 { font-size: clamp(3.5rem,3.7vw,5.8rem) !important;}
.fs60 { font-size: clamp(3.6rem,3.8vw,6.0rem) !important;}
.fs62 { font-size: clamp(3.7rem,3.9vw,6.2rem) !important;}
.fs64 { font-size: clamp(3.8rem,4.0vw,6.4rem) !important;}
.fs72 { font-size: clamp(4.0rem,7.2vw,7.2rem) !important;}
.fs76 { font-size: clamp(4.1rem,7.6vw,7.6rem) !important;}
.fs80 { font-size: clamp(4.2rem,8.0vw,8.0rem) !important;}
.fs96 { font-size: clamp(4.2rem,7.2vw,9.6rem) !important;}
.fs128 { font-size: clamp(8.0rem,10vw,12.8rem) !important;}
.fs200 { font-size: clamp(8.0rem,10vw,200rem) !important;}
.lora { font-family: "Lora", serif; font-optical-sizing: auto; font-weight: 700; font-style: normal;}
.tin { font-weight: 200;}
.light { font-weight: 300;}
.regular { font-weight: 400;}
.medium { font-weight: 500;}
.semi-bold { font-weight: 600;}
.bold { font-weight: 700;}
.black { font-weight: 900;}
.ls { letter-spacing: 0.1em;}
.lh { line-height: 2;}
.indent { padding-left: 1em; text-indent: -1em;}
.vertical { writing-mode: vertical-rl;}
.white { color: #FFF !important;}
.red { color: #EA0B0C !important;}
.deepred { color: #AF1A1B !important;}
.blue { color: #03427D !important;}
.lightblue { color: #85B3DF !important;}
.purple { color: #BF6969 !important;}
.gray { color: #777 !important;}
.darkgray { color: #5B5B5B !important;}
.lightgray { color: #bababa !important;}
.underline { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px;}
.marker { display: inline; padding: 0 1px 5px; background: linear-gradient(transparent 60%, rgba(0,159,232,.2) 0%);}
.sp { display: none;}
.fadeInUp { animation-name: fadeInUp;}
@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 30px, 0);} to { opacity: 1; transform: translate3d(0, 0, 0);} }
.animated { opacity: 0; animation-duration: 1s; animation-fill-mode: both;}


/*TOP*/
#top { display: flex; justify-content: center; align-items: center; min-height: 100svh; background: url(img/top/mv.jpg) top center no-repeat; background-size: cover;}
#top::before { content: ''; position: absolute; inset: 0; background: #03427D; opacity: 0.42;}
#top section { width: 80%; max-width: 820px; padding: 40px 56px; text-align: center; background: rgba(255,255,255,.86); border-radius: 12px;}
#top h1 { display: inline-block; padding: 0 1em; border-left: 6px solid #03427D; border-right: 6px solid #03427D; font-size: clamp(1.8rem,2.4vw,2.4rem); color: #03427D;}
.branch { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 24px 40px; margin-top: 40px;}
.branch a { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 225px; padding: 8px; color: #FFF;}
.branch h2 { position: relative; display: flex; flex-direction: column; margin: 0;}
.branch h2 i { font-size: 1.5rem;}
.branch h2 span { font-size: 2rem;}
.branch h2::after { content: ''; display: block; width: 70px; height: 1px; margin: 8px auto; background: #FFF;}
.branch p { position: relative; margin-top: 0 !important; font-size: clamp(1.1rem,1.3vw,1.3rem);}
.branch figure { position: absolute; inset: 0; z-index: 0; border-radius: 6px; overflow: hidden;}
.branch figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;}
.branch figure::before { content: ''; position: absolute; inset: 0; background: #03427D; opacity: 0.64; transition: .2s ease-out; z-index: 1;}
.branch a[href*="orner"] figure::before { background-color: #BD6768;}
.branch a:hover { opacity: 1;}
.branch a:hover figure::before { opacity: 0.92;}

#mv { padding: 0;}
.movie { position: relative; width: 100%; padding-top: calc(9 / 16 * 100%); overflow: hidden;}
.movie #video { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 177.77777778vh; height: 56.25vw; min-height: 100%; min-width: 100%; opacity: 0; will-change: opacity;}
.movie.on #video { opacity: 1; transition: opacity 2s ease-out .5s;}
.news { position: relative; display: grid; grid-template-columns: 24% 1fr; min-height: 188px; margin-top: -94px; background: #FFF; z-index: 10;}
.news-title { display: flex; flex-direction: column; justify-content: center; align-items: center; background: #03427D;}
.news-title h2 { display: block; padding-left: 1.6em; background: url(img/common/news_w.svg) left center no-repeat; font-size: 1.6rem; font-weight: 500; color: #FFF;}
.news-title .arrow { border-bottom-color: #FFF; font-size: 1.2rem; font-weight: 400; color: #FFF;}
.news-title .arrow::after { border-color: #FFF;}
.top-news-list { display: grid; grid-template-columns: auto 1fr; align-items: flex-start; gap: 8px 16px; padding: 40px; font-size: 1.3rem;}
.top-news-list dt { padding-left: 1em; border-left: 6px solid #03427D; color: #949494;}
.top-news-list dd { white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.banner { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px;}
.banner .long { grid-column: 1 / 3;}
.attention { padding: 1.5em 2em; border: 2px solid #EA0B0C;}
.attention h3 em::before, .attention h3 em::after { content: ''; display: inline-block; width: 9px; height: 2px; margin: 0 0.5em; vertical-align: middle; background: #EA0B0C;}
.attention h3.text-oncology em::before, .attention h3.text-oncology em::after { background: #E29DB9;}
#topcontents { background: url(img/veterinary/bg.png) center no-repeat; background-size: cover;}
#topcontents section { display: grid; grid-template-columns: 62% 1fr; align-items: flex-start; gap: 56px;}
.list { display: grid; grid-template-columns: repeat(auto-fill,minmax(185px,1fr)); gap: 8px;}
.list-item { height: auto; background: #FFF; box-shadow: 0 0 4px rgba(0,0,0,.25); cursor: pointer;}
.list-item figure { position: relative; padding-top: calc(96 / 185 * 100%); overflow: hidden;}
.list-item figure img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;}
.list-item .contents { padding: 1em;}
.list-item p { font-size: 1.2rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;}
.blog-contents .swiper { padding: 24px 0; background: #E7EFF6; border-radius: 6px 6px 0 0;}
.blog-contents .swiper-prev, .blog-contents .swiper-next { position: absolute; top: calc(50% - 17px); display: block; width: 34px; height: 34px; background: url(img/common/next.svg) center no-repeat; background-size: contain; z-index: 10;}
.blog-contents .swiper-prev { left: 24px; transform: scaleX(-1);}
.blog-contents .swiper-next { right: 24px;}
.blog-contents .swiper-slide { background: #FFF;}
.blog-contents .meta { font-size: clamp(0.9rem,1.1vw,1.1rem);}
.blog-contents .swiper .list-item { border-radius: 8px;}
.blog-contents .swiper .list-item figure { margin: 1em 1em 0;}
.tabs { padding: 24px; background: #FFF; border-radius: 0 0 6px 6px;}
.tab-panel { display: none;}
.tab-panel.is-active { display: block;}
.tab-nav { display: grid; grid-template-columns: repeat(4,1fr); gap: 3px; margin-bottom: 16px; text-align: center;}
.tab-nav li { flex: 1; padding: 16px 0; background: #DDD; font-size: clamp(1.2rem,1.4vw,1.4rem); font-weight: 600; line-height: 1.4; color: #5B5B5B; cursor: pointer; transition: .2s ease-out;}
.tab-nav li.is-active { background: #03427D; color: #FFF;}
.tab-nav li:hover { opacity: 0.6;}
.cd { padding: 24px; background: #FFF; border-radius: 6px;}
.cd-list { display: grid; gap: 10px; margin-top: 1em;}
.cd-list a { display: grid; grid-template-columns: 1fr auto; height: 100%; min-height: 68px; padding: 8px 16px; background: #FFF; border: 2px solid #CCC; border-radius: 12px; overflow: hidden;}
.cd-list a:hover { opacity: 1;}
.cd-name { display: flex; flex-direction: column; justify-content: center; padding-left: 0.5em; border-left: 9px solid #CCC; line-height: 1.2;}
.cd-name img { height: 1em; margin-right: 4px;}
.calendar-btn { grid-template-columns: repeat(auto-fit,minmax(330px,1fr)); gap: 32px;}
.calendar-btn .cd-name { line-height: 1.4;}
.calendar-btn a { position: relative; padding: 16px 64px 16px 16px !important;}
.calendar-btn a p { grid-column: 1 / 3;}
.calendar-btn figure { text-align: center;}
.calendar-btn figure img { height: 76px;}
.calendar-btn .arrow { position: absolute; top: 0; right: 0; width: 56px; height: 100%; border-bottom: none;}
.calendar-btn .arrow::after { right: 12px; width: 16px; height: 16px; border-width: 2px; border-color: #FFF;}
.border-neurology { border-color: #8DCBBF !important;}
.bg-neurology { background-color: #8DCBBF !important;}
.text-neurology { color: #8DCBBF !important;}
.cd-list a.border-neurology:hover  { background-color: #E3F7F3 !important;}
.border-orthopedic { border-color: #EDCD21 !important;}
.bg-orthopedic { background-color: #EDCD21 !important;}
.text-orthopedic { color: #EDCD21 !important;}
.cd-list a.border-orthopedic:hover { background-color: #FFF7CD !important;}
.border-respiratory { border-color: #BFE17E !important;}
.bg-respiratory { background-color: #BFE17E !important;}
.text-respiratory { color: #BFE17E !important;}
.cd-list a.border-respiratory:hover { background-color: #F1F6E6 !important;}
.border-general { border-color: #B5B5B5 !important;}
.bg-general { background-color: #B5B5B5 !important;}
.text-general { color: #B5B5B5 !important;}
.cd-list a.border-general:hover { background-color: #E9E9E9 !important;}
.border-cardiology { border-color: #DB8D8D !important;}
.bg-cardiology { background-color: #DB8D8D !important;}
.text-cardiology { color: #DB8D8D !important;}
.cd-list a.border-cardiology:hover { background-color: #F5DEDE !important;}
.border-oncology { border-color: #E29DB9 !important;}
.bg-oncology { background-color: #E29DB9 !important;}
.text-oncology { color: #E29DB9 !important;}
.cd-list a.border-oncology:hover { background-color: #F5E4EB !important;}
.border-rehabilitation { border-color: #B39BD5 !important;}
.bg-rehabilitation { background-color: #B39BD5 !important;}
.text-rehabilitation { color: #B39BD5 !important;}
.cd-list a.border-rehabilitation:hover { background-color: #E9E2F3 !important;}
.border-soft-tissue { border-color: #8BB1D5 !important;}
.bg-soft-tissue { background-color: #8BB1D5 !important;}
.text-soft-tissue { color: #8BB1D5 !important;}
.cd-list a.border-soft-tissue:hover { background-color: #DFEAF5 !important;}
.cd-title { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 8px; margin-bottom: 32px; padding-bottom: 32px; border-bottom: 3px solid #DDD;}
.cd-title .cd-name { gap: 4px; padding-left: 1em;}
.cd-title .name { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 4px 8px;}
.cd-title .cd-name p { display: flex; align-items: center; gap: 4px; margin-top: 0 !important;}
.cd-title .wp-block-buttons { margin-left: auto;}

.search { background: #FFF; border-radius: 6px; box-shadow: -1px 7px 9px rgba(0,0,0,.25);}
.search .search-form { display: grid; align-items: flex-end; grid-template-columns: 1fr auto; padding: 16px 56px; background: #E7EFF6;}
.search-bar { background: #E7EFF6;}
.search-bar .search { box-shadow: none;}
.search-bar .search-form { padding: 0;}
.search .search-form label { display: flex !important; align-items: center; gap: 16px; padding: 0;}
.search .search-form .search-title { display: block !important; font-size: clamp(1.2rem,2.0vw,2.0rem); font-weight: 600; color: #03427D; white-space: nowrap;}
.search .search-form input[type="search"] { height: 50px; padding: 8px 16px 8px 40px; background: #FFF url(img/common/search.svg) left 16px center no-repeat; border: none; border-radius: 40px 0 0 40px;}
.search .search-form button { height: 50px; padding: 8px 24px; background: #03427D; border-radius: 0 40px 40px 0; font-size: clamp(1.1rem,1.6vw,1.6rem); font-weight: 600; letter-spacing: 3px; color: #FFF;}
.search-box { padding: 24px 56px;}
.search-box .notice span { font-size: clamp(1.2rem,1.6vw,1.6rem);}
.search-box .notice em { position: relative; margin-right: 16px; padding: 4px 24px; background: #03427D; border-radius: 40px; font-size: clamp(1.2rem,1.4vw,1.4rem); color: #FFF;}
.search-box .notice em::after { content: ''; position: absolute; top: 50%; right: 0; transform: translate(50%,-50%); width:0; height:0; border-style:solid; border-width: 8px 0 8px 13.9px; border-color: transparent transparent transparent #03427D;}
.search-box h3 { position: relative; padding-left: 12px;}
.search-box h3::before { content: ''; position: absolute; top: 50%; left: 0; transform: translateY(-50%); width: 7px; height: 2px; background: #03427D;}
.search-list { display: flex; flex-wrap: wrap; gap: 12px 8px;}
.search-list a { position: relative; display: block; padding: 0.4em 2em 0.4em 1.5em; background: #E7EFF6; border-radius: 40px; font-size: clamp(1.3rem,1.5vw,1.5rem); white-space: nowrap;}
.search-list a::after { content: ''; position: absolute; top: 50%; right: 0.8em; transform: translate(-50%,-50%) rotate(45deg); width: 8px; height: 8px; border-top: 1px solid #03427D; border-right: 1px solid #03427D; transition: .2s ease-out;}
.search-list.alt { grid-template-columns: 1fr 1fr; gap: 16px;}
.search-list.alt a { padding: 1em 4em 1em 2em; background: none; border: 1px solid #03427d; border-radius: 4px; color: #03427d;}

#sns::before { content: ''; position: absolute; top: 0; left: calc(50% - 50vw); width: 100vw; height: 1px; background: #B6B6B6;}
.sns { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px;}
.sns li { width: 282px;}
.sns a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 8px; padding: 0.8em 1em; background: #FFF; border: 1px solid #CCC; border-radius: 6px; white-space: nowrap;}
.sns a figure { grid-column: 2 / 3; grid-row: 1 / 3;}
.sns a h3 { padding-left: 0.5em; border-left: 7px solid #CCC; font-size: 1.2rem;}
.sns a h3 em { font-size: 1.6rem;}
.sns a p { margin-top: 4px !important; font-size: 1.4rem; font-weight: 600; color: #5B5B5B;}
.sns a.sns-line, .sns a.sns-line h3 { border-color: #00C300;}
.sns a.sns-line h3 { color: #00C300;}
.sns a.sns-instagram, .sns a.sns-instagram h3 { border-color: #E85F98;}
.sns a.sns-instagram h3 { color: #E85F98;}
.sns a.sns-facebook, .sns a.sns-facebook h3 { border-color: #03427D;}
.sns a.sns-facebook h3 { color: #03427D;}

#ornermv { margin-bottom: -16%; padding: 0;}
#ornermv h1 { position: absolute; bottom: 24%; left: 8%; font-size: max(1.8rem,1.8vw); color: #FFF; text-shadow: 0 0 20px #03427D; z-index: 10;}
#ornermv h1 em { font-size: max(2.2rem,2.2vw);}
#ornermv .movie::before { content: ''; position: absolute; bottom: 0; left: 0; display: block; width: 100%; height: 30%; background: #F5F5F5; background: linear-gradient(0deg, rgba(245, 245, 245, 1) 0%, rgba(245, 245, 245, 0) 100%); z-index: 1;}
#flow { z-index: 10;}
#flow section { padding: 40px; background: rgba(255,255,255,.5); border-radius: 12px; box-shadow: 5px 4px 20px rgba(0,0,0,.25);}
.flow { position: relative; display: grid; gap: 40px;}
.flow::before { content: ''; position: absolute; top: 0; left: calc(50% - 2px); width: 3px; height: 100%; background-image: repeating-linear-gradient(180deg, #85b3df, #85b3df 3px, transparent 3px, transparent 6px); background-position: left top; background-repeat: repeat-y; background-size: 3px 100%; z-index: -1;}
.flow > li { display: grid; grid-template-columns: 24% 1fr; background: #FFF; border-radius: 6px; overflow: hidden; box-shadow: 4px 4px 4px rgba(0,0,0,.25);}
.flow .flow-title { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 1em; background: #03427D; white-space: nowrap;}
.flow .contents { align-self: center; padding: 2em;}
.images { display: grid; grid-template-columns: repeat(4,1fr);}
.images img, .sp-swiper img { width: 100%;}
.accordion:not(.accordion-img-btn) { border-bottom: 1px solid #5B5B5B;}
.accordion dt { position: relative; padding: 32px 0 8px; font-size: clamp(1.6rem,1.8vw,2.0rem); font-weight: 700; cursor: pointer;}
.accordion dt:not(:first-of-type) { border-top: 1px solid #5B5B5B;}
.accordion dt::after { content: ''; position: absolute; top: 60%; right: 0; transform: translate(-50%,-50%) rotate(45deg); width: 10px; height: 10px; border-right: 2px solid #5B5B5B; border-bottom: 2px solid #5B5B5B; transition: .2s ease-out;}
.accordion dt.is-active::after { transform: translate(-50%,-50%) rotate(225deg);}
.accordion dd { display: none; padding: 16px 0 32px;}
.accordion-img-btn dt { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 40px; border-radius: 6px; overflow: hidden;}
.accordion-img-btn dt::after { content: ''; position: absolute; top: calc(50% - 0.25em); right: 40px; transform: translate(-50%,-50%) rotate(45deg); width: 20px; height: 20px; border-right: 3px solid #FFF; border-bottom: 3px solid #FFF; transition: .2s ease-out;}
.accordion-img-btn dt figure { position: absolute; inset: 0; z-index: -1;}
.accordion-img-btn dt figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;}
.accordion-img-btn dt:not(:first-of-type) { margin-top: 40px;}
.accordion-img-btn dt.is-active { border-radius: 6px 6px 0 0;}
.accordion-img-btn dd { padding: 40px; background: linear-gradient(60deg, rgba(178, 207, 233, 1) 0%, rgba(214, 224, 234, 1) 100%); border-radius: 0 0 6px 6px;}
.accordion-img-btn dd.radiation { background: #F6E2E2; background: linear-gradient(60deg, rgba(246, 226, 226, 1) 0%, rgba(253, 245, 245, 1) 100%);}
.close-btn { display: flex; justify-content: center; align-items: center; width: 156px;  height: 40px; margin: 40px auto 0; background: #FFF; border: 2px solid #03427D; border-radius: 40px; font-weight: 700; color: #03427D;}
.step { display: grid; gap: 24px; max-width: 674px; margin: 0 auto; text-align: center;}
.step li { display: grid; grid-template-columns: 56% 1fr; align-items: center; gap: 0 40px;}
.step li figure { order: -1;}
.step li:not(:first-of-type) figure::before { content: ''; position: absolute; bottom: 100%; left: calc(50% - 2px); width: 3px; height: 100%; background-image: repeating-linear-gradient(180deg, #94BDE3, #94BDE3 3px, transparent 3px, transparent 6px); background-position: left top; background-repeat: repeat-y; background-size: 3px 100%; z-index: 0;}
.step li figure img { position: relative; border-radius: 12px; box-shadow: 3px 4px 5px rgba(0,0,0,.25); z-index: 2;}
.step h3 { margin-top: 0.5em; padding: 0.4em 1em; background: #85B3DF;}
.surgery > p { margin-bottom: 1em; padding: 0 2em 2em; border-bottom: 1px solid #85B3DF;}
.step p { text-align: left;}
.radiation .step h3 { background: #B88080;}
.radiation .step li:not(:first-of-type) figure::before { background-image: repeating-linear-gradient(180deg, #C59595, #C59595 3px, transparent 3px, transparent 6px);}
.radiation .close-btn { border-color: #AF1A1B; color: #AF1A1B;}
.radiation > p { margin-bottom: 1em; padding: 0 2em 2em; border-bottom: 1px solid #B88080;}

.after { display: grid; gap: 24px;}
.after li { padding: 32px 64px; background: #FFF; border-radius: 6px;}
.after h3 { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px;}
.after h3 span { padding-left: 16px; border-left: 2px solid #03427D;}


/*PAGE*/
#title { position: relative; display: flex; align-items: center; width: 92%; max-width: 1000px; height: 114px; margin: 0 auto;}
#title figure { position: absolute; top: 0; left: -50px; width: calc(100% + 100px); height: 100%; background: #03427D; border-radius: 0 0 30px 30px; overflow: hidden; z-index: -1;}
#title figure img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;}
#title .h1 { font-size: clamp(1.8rem,2.0vw,2.4rem); font-weight: 600; color: #FFF;}
.anchor ul { display: grid; grid-template-columns: 33% 33% 33%; gap: 20px;}
.anchor a { position: relative; display: flex; justify-content: center; align-items: center; gap: 8px; padding: 1em; border: 1px solid #03427d; border-radius: 8px; font-weight: 700; color: #03427d; cursor: pointer;}
.anchor a::after { content: ''; position: absolute; top: 50%; right: 1em; transform: translate(-50%,-50%) rotate(45deg); width: 10px; height: 10px; border-right: 2px solid #03427d; border-bottom: 2px solid #03427d; transition: .2s ease-out;}
.anchor a img { height: 30px;}

.news-list li a { display: block; padding: 2em; border-bottom: 1px solid #DDD;}
.news-list li time { font-weight: 700; color: #03427d;}
.news-list li p { margin-top: 0.5em;}
.blog-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px 25px;}
.blog-list li a { display: flex; flex-direction: column; height: 100%; padding: 20px; background: #FFF; border-radius: 8px; box-shadow: 7px 7px 5px rgba(0, 0, 0, .25); transition: .2s ease-out;}
.blog-list li a:hover { transform: scale(1.03);}
.blog-list figure { position: relative; width: 100%; margin: 0 0 10px; padding-top: calc(137 / 232 * 100%); background: #b6b6b6; overflow: hidden;}
.blog-list figure img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;}
.blog-list h3 { margin: 8px 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; font-size: clamp(1.4rem,1.6vw,1.6rem); font-weight: bold; line-height: 1.4; overflow: hidden;}
.blog-list p { margin: 0 !important; font-size: clamp(1.3rem,1.5vw,1.5rem); line-height: 1.4; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;}
.screen-reader-text { display: none;}
.pagination { margin-top: 80px; text-align: center; white-space: nowrap;}
.pagination span { height: auto;}
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px;}
.pagination a:not(.top):not(.prev):not(.next):not(.single-prev):not(.single-next) { display: flex; justify-content: center; align-items: center; font-size: clamp(2.2rem,2.4vw,3.2rem); font-weight: bold; color: #b2d3f2;}
.pagination a:not(.top):not(.single-prev):not(.single-next) { width: 33px; height: 33px;}
.pagination a.prev, .pagination a.next { position: relative; text-indent: -9999px; overflow: hidden; background: #03427d; border-radius: 50%;}
.pagination a.prev { transform: scaleX(-1);}
.pagination a.prev::before, .pagination a.next::before { content: ''; position: absolute; top: 50%; left: calc(50% - 2px); transform: translate(-50%, -50%) rotate(45deg); width: 10px; height: 10px; border-top: 1px solid #FFF; border-right: 1px solid #FFF;}
.pagination a.single-prev, .pagination a.single-next { display: flex; align-items: center; gap: 8px; font-size: 1.5rem;}
.pagination a strong { position: relative; display: inline-block; width: 21px; height: 21px; text-align: center; vertical-align: middle; background: #468FE1; border-radius: 50%; font-size: 1.6rem; line-height: 1.2; color: #FFF; text-indent: -9999px; overflow: hidden;}
.pagination a strong::before { content: ''; position: absolute; top: 50%; left: 48%; transform: translate(-50%, -50%) rotate(45deg); width: 6px; height: 6px; border-top: 2px solid #FFF; border-right: 2px solid #FFF;}
.pagination a.single-prev strong { transform: scaleX(-1);}
.pagination a.top { margin: 0 16px; padding: 0 16px; border-left: 1px solid #222; border-right: 1px solid #222;}
.pagination span { line-height: 30px; font-size: 32px; font-weight: bold; color: #b2d3f2;}
.pagination span.current { display: flex; justify-content: center; align-items: center; font-size: clamp(2.2rem,2.4vw,3.2rem); font-weight: bold; color: #03427d;}
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: clamp(1rem,1.3vw,1.3rem);}
.cat { display: flex; flex-wrap: wrap; gap: 2px; margin: 0 !important; list-style: none !important;}
.cat li { list-style: none !important;}
.cat li a, .cat li span { display: inline-block; padding: 0.4em 0.8em; text-align: center; background: #03427D; font-weight: 600; line-height: 1; text-decoration: none; color: #FFF;}
#cat { display: block; margin-bottom: 24px;}
#cat .cat { gap: 8px;}
#cat .cat li a { min-width: 10px; padding: 8px 1em; border: 2px solid #03427D; border-radius: 40px;}
#cat .cat li:not(.on) a { background: none; color: #03427D;}
.content .meta { margin-bottom: 1em;}
.content h1 { padding-bottom: 0.5em; border-bottom: 2px solid #03427d; font-size: clamp(2.0rem,2.2vw,2.8rem); color: #03427d;}
.content h2 { padding: 0.4em 1em; background: #cce1f4; font-size: clamp(1.6rem,1.8vw,2.0rem); color: #03427d;}
.content h3 { padding-bottom: 0.5em; text-align: left; border-bottom: 1px solid #03427d; font-size: clamp(1.5rem,1.7vw,1.8rem); color: #03427d;}
.content h4 { text-align: left; font-size: clamp(1.5rem,1.7vw,1.8rem); color: #03427d;}
.content p { line-height: 2;}
.content p + p { margin-top: 1em;}
.content a { text-decoration: underline; color: #2660EF;}
.content a[target="_blank"]:not(.pdf):not(.wp-block-button__link) { display: inline; padding-right: 20px; background: url("img/common/blank.svg") right center no-repeat;}
.content img { margin-bottom: 8px;}
.content li:not(:first-of-type) { margin-top: 4px;}
.content ul { margin-left: 2em;}
.content ul > li { list-style: disc;}
.content ol { margin-left: 2em;}
.content ol > li { list-style: decimal;}
.content *+p, .content>*+ul, .content *+ol, .content *+.wp-block-image, .content *+.wp-block-table, .content *+blockquote, .content *+table, .content *+.wp-block-columns, .content *+.wp-block-buttons { margin-top: 3em;}
.content *+h2, .content *+h3, .content *+h4, .content *+h5 { margin-top: 3em !important;}
.content h2+*, .content h3+*, .content h4+*, .content h5+*, .mainimg+* { margin-top: 2em !important;}
.content .youtube { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; margin: 1em auto 0;}
.content .youtube iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%;}

.form { font-size: 1.6rem;}
.form .col { gap: 0 32px;}
.form dt { font-weight: 600; color: #03427d;}
.form dd { padding: 8px 0 24px;}
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form input[type="url"], .form input[type="search"] { display: inline-block; width: 100%; padding: 12px 16px; background: #ecf5f9; border: none; border-radius: 4px; vertical-align: middle;}
.form textarea:read-only, .form input[type="text"]:read-only { background: #F4F4F4!important;}
.form select { padding: 12px 48px 12px 16px; background: #ecf5f9 url(img/common/select.svg) right 16px center no-repeat; border: none; border-radius: 4px;}
.form textarea { width: 100%; height: 388px; padding: 12px 16px; background: #ecf5f9; border: none; border-radius: 4px;}
.form label { display: inline-block;}
.form input[type="checkbox"] { display: none;}
.form input[type="checkbox"] + span { position: relative; display: inline-block; padding: 16px 0 16px 40px; text-align: left; font-weight: 600; line-height: 1; color: #03427d; cursor: pointer;}
.form input[type="checkbox"] + span::before { content: ''; position: absolute; top: 50%; left: 0; transform: translateY(-50%); width: 30px; height: 30px; background: #FFF; border: 2px solid #03427d; border-radius: 6px;}
.form input[type="checkbox"] + span::after { content: ''; position: absolute; top: 50%; left: 9px; transform: translateY(-50%) rotate(-45deg); width: 12px; height: 5px; border-left: 2px solid #CCC; border-bottom: 2px solid #CCC;}
.form input[type="checkbox"]:checked + span::before { background: #03427d; border-color: #03427d;}
.form input[type="checkbox"]:checked + span::after { border-color: #FFF;}
.form input[type="radio"] { display: none;}
.form input[type="radio"] + span { position: relative; display: inline-block; margin-right: 24px; padding-left: 28px; vertical-align: middle; font-weight: 600; line-height: 2; color: #03427d;}
.form input[type="radio"] + span::before { content: ''; position: absolute; top: 4px; left: 0; display: block; width: 24px; height: 24px; background: #ecf5f9; border: 1px solid #03427d; border-radius: 50%;}
.form input[type="radio"]:checked + span::before { background-color: #FFF; border-color: #03427d;}
.form input[type="radio"]:checked + span::after { content: ''; position: absolute; top: 9px; left: 5px; display: block; width: 14px; height: 14px; background: #03427d; border-radius: 50%;}
.form ::-webkit-input-placeholder { font-size: clamp(1.3rem,1.5vw,1.5rem); font-weight: 400; color: #A4A7AF;}
.form ::-moz-placeholder { font-size: clamp(1.3rem,1.5vw,1.5rem); font-weight: 400; color: #A4A7AF;}
.form :-ms-input-placeholder { font-size: clamp(1.3rem,1.5vw,1.5rem); font-weight: 400; color: #A4A7AF;}
.form .inputTextShort { width: 75% !important;}
.form .inputTextShortest { width: 50% !important;}
.must { margin-right: 16px; padding: 3px 6px; background: #F76464; font-size: 1.2rem; color: #FFF; white-space: nowrap;}
.any { margin-right: 16px; padding: 3px 6px; background: #FFEFE0; border-radius: 40px; font-size: 1.3rem; color: #E47428; white-space: nowrap;}
.privacy { max-width: 780px; margin: 0 auto; border-bottom: none !important;}
.privacy dt { padding: 0.5em 2em; background: #03427d; border-radius: 40px; color: #FFF;}
.privacy dt::after { top: 50%; right: 24px; border-color: #FFF;}
.privacy dd { margin-top: 1em; padding: 8%; background: #f9f9f9;}
.form .wp-block-buttons { flex-direction: column; align-items: center;}
.wp-block-buttons input[type="submit"] { position: relative; display: flex; justify-content: center; align-items: center; gap: 16px; width: 100%; max-width: 180px; height: 50px; background: #FFF; border: 2px solid #03427d; border-radius: 4px; font-size: clamp(2.0rem,2.2vw,2.8rem); font-weight: 700; color: #03427d; transition: 0.5s ease;}
.wp-block-buttons input[type="submit"]:hover { transform: scale(0.95); opacity: 1;}
.confirm { margin-top: 32px;}
.confirm dd { padding: 28px 0;}
.confirm .confirm-hide { display: none;}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output { font-size: 1.6rem;}
.wpcf7-spinner { display: block; margin: 8px auto;}
.form .address label { font-weight: 600;}
input.wpcf7-not-valid, textarea.wpcf7-not-valid { background-color: #fff3f3 !important; border: 1px solid #dc3232 !important;}


/*cc*/
.viewing { background: url(img/cc/bg01.png) center no-repeat; background-size: cover;}
.viewing h2 i { display: inline-block; margin-bottom: 8px; padding: 0.4em 1em; border: 1px solid #03427d; border-radius: 40px;}
.viewing h2::after { content: ''; display: block; width: 17px; height: 1px; margin: 16px auto; background: #03427d;}
.message { display: grid; grid-template-columns: 1fr 28%; gap: 0 40px;}
.message-img { grid-column: 2 / 3; grid-row: 1 / 3; border-left: 2px solid #8bb1d5; padding-left: 40px;}
.radiation-therapy { grid-template-columns: 60% 1fr;}
.radiation-therapy figure { position: relative; background: url(img/cc/bg02.png) no-repeat bottom center / contain; padding: 25% 5% 5%;}
.radiation-therapy figure p { position: absolute; top: 0; left: 0; font-size: clamp(2.1rem,2.3vw,3.0rem); color: #03427d; font-weight: bold; padding-left: 5%;}
.radiation-therapy figure p span { font-size: clamp(1.7rem,1.9vw,2.2rem); font-style: italic;}
.radiation-therapy figure p span::after { content: ''; display: block; width: 100%; height: 3px; margin-bottom: 10px; background: #03427D; background: linear-gradient(90deg, rgba(3, 66, 125, 1) 0%, rgba(204, 225, 244, 1) 100%); transform: skew(-30deg);}
.radiation-therapy figure p span em { font-size: clamp(2.2rem,2.4vw,3.2rem); font-style: italic;}
.radiation-therapy li { display: flex; align-items: center; padding: 12px 35px; margin-bottom: 20px; position: relative; cursor: pointer; transition: .2s ease-out;}
.radiation-therapy li:hover { padding: 17px 35px 7px;}
.radiation-therapy li:last-of-type { margin-bottom: 0;}
.radiation-therapy li.num01 { background: url(img/cc/bg03-1.png) no-repeat center center / 100% 100%;}
.radiation-therapy li.num01:hover { background-image: url(img/cc/bg03-1_on.png);}
.radiation-therapy li.num02 { background: url(img/cc/bg03-2.png) no-repeat center center / 100% 100%;}
.radiation-therapy li.num02:hover { background-image: url(img/cc/bg03-2_on.png);}
.radiation-therapy li .txt02 { margin-top: 0; font-size: 1.5rem; font-weight: bold; position: relative; padding-left: 10px; flex: 1;}
.radiation-therapy li:hover p, .radiation-therapy li:hover p span { color: #FFF !important;}
.radiation-therapy li .txt02 .plus01 { position: absolute; width: 20px; height: 20px; margin: 0; top: 45%; transform: translateY(-50%); right: 0px;}
.radiation-therapy li .txt02 .plus01:before { content: ""; display: block; width: 3px; height: 100%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);}
.radiation-therapy li .txt02 .plus01:after { content: ""; display: block; width: 100%; height: 3px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);}
.radiation-therapy li.num01 .txt02 .plus01::before, .radiation-therapy li.num01 .txt02 .plus01:after { background: #ea0b0c;}
.radiation-therapy li.num02 .txt02 .plus01::before, .radiation-therapy li.num02 .txt02 .plus01:after { background: #03427d;}
.radiation-therapy li:hover .txt02 .plus01:before, .radiation-therapy li:hover .txt02 .plus01:after { background: #FFF;}
.overlay:after { content: ""; width: 100%; height: 100vh; background: #000; position: fixed; top: 0; left: 0; opacity: 0.3; z-index: 150; -webkit-transform: translate3d(0, 0, 0) !important; transform: translate3d(0, 0, 0) !important;}
.modal { width: 90%; max-width: 800px; margin: 0 auto; background: #fff; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 251; display: none;}
.modal.active { display: block;}
.modal .close { position: absolute; top: 40px; right: 40px; width: 35px; height: 35px; border-radius: 50%; display: block; border: 2px solid #5b5b5b; overflow: hidden; cursor: pointer; z-index: 100;}
.modal .close::before { content: ""; display: block; background: #5b5b5b; width: 2px; height: 65%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(45deg);}
.modal .close::after { content: ""; display: block; background: #5b5b5b; width: 2px; height: 65%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-45deg);}
.modal .inn01 { max-height: 90svh; padding: 6% 8%; overflow-y: auto; overscroll-behavior: contain;}
.modal .inn02 { max-height: 90svh; padding: 8% 16%; overflow-y: auto; overscroll-behavior: contain;}
.modal figure img { width: 100%;}
.modal .title { padding-right: 32px;}
.modal .subtitle { margin: 1em 0;}
.modal .subtitle::before { width: 15px; height: 5px;}
.flex { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px;}
.num-title { display: flex; align-items: center; gap: 16px;}
.time-table { position: relative; display: flex; flex-direction: column; align-items: center; gap: 40px; padding: 40px 0;}
.time-table::after { content: ''; position: absolute; top: 0; left: calc(50% - 2px); width: 4px; height: 100%; background: #cce1f4; z-index: -1;}
.time { position: relative;}
.time time { position: absolute; top: 50%; right: 50%; transform: translate(-60px, -50%); font-size: 3rem; font-style: italic; color: #b2d3f2;}
.time.re time { transform: translate(calc(100% + 60px), -50%); }
.time-contents { display: flex; align-items: center; gap: 40px; width: 100%; max-width: 656px;}
.time-contents figure { width: 56%; margin: 0;}
.time-contents figure img { width: 100%;}
.time-contents.re figure { order: -1;}
.time-contents .contents { flex: 1;}
.staff-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px 24px;}
.staff-list li { display: flex; flex-direction: column; height: auto; padding: 20px; background: #FFF; border-radius: 8px; box-shadow: 7px 7px 5px rgba(0, 0, 0, .25);}
.staff-list figure { position: relative; width: 100%; padding-top: calc(184 / 232 * 100%); background: #b6b6b6; overflow: hidden;}
.staff-list figure img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;}
.staff-list p { margin: 0 0 16px !important;}
.staff-list .plus { margin-top: auto; font-size: clamp(1.2rem,1.4vw,1.4rem);}
.staff-list li.direct { display: grid; grid-template-columns: 150px 1fr; gap: 30px; width: 460px;}
.direct-profile { padding-left: 20px; border-left: 1px solid #DDD;}
.direct-profile p { margin-top: 8px !important;}
.modal[class*="staff"] .inn01 { padding: 6%;}
.prof { display: grid; grid-template-columns: 33% 1fr; gap: 24px; width: 88%; max-width: 560px; margin: 0 auto 24px;}
.prof figure { margin: 0; text-align: center;}
.prof figure img { width: 100%; max-width: 290px; margin: 0 auto;}
.prof h3 { display: flex; align-items: flex-end; gap: 8px 16px; border-bottom: 2px solid #03427d; font-size: 2.2rem; font-weight: bold; color: #03427d;}
.prof h3 span { font-size: 1.5rem;}
.prof p { margin-top: 8px; font-size: 1.8rem; font-weight: bold; color: #03427d;}
.prof dl { margin-top: 16px; color: #5b5b5b;}
.prof dt { display: inline-block; padding: 0.1em 0.5em; border: 1px solid #5b5b5b; font-size: 1.5rem;}
.prof dd { margin-top: 8px; font-size: 1.4rem;}
.comment { width: 88%; max-width: 560px; margin: 0 auto 24px;}
.career { padding: 6%; background: #eff5fa; border-radius: 15px;}
.career *+.title { margin-top: 24px;}
.career ol { margin-left: 2em; list-style: decimal;}
.career ul.wp-block-list { margin: 0 0 0 2em;}
.grid { display: grid; grid-template-columns: auto 1fr; gap: 16px; line-height: 1.2;}
.grid th { white-space: nowrap;}


/*cd*/
.num-list { display: grid; gap: 20px;}
.num-list li { padding: 24px; border: 1px solid #CCC;}
.num-list .num { display: inline-block; width: 1.5em; height: 1.5em; margin-right: 8px; text-align: center; vertical-align: baseline; background: #CCC; border-radius: 50%; font-size: clamp(1.7rem,1.9vw,2.2rem); font-weight: 700; line-height: 1.5em; color: #FFF;}


/*reserve*/
.reserve-title { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 0.5em; background: #cce1f4;}
.reserve-step > li { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 3%;}
.reserve-step > li:not(:last-child)::before { content: ''; position: absolute; top: 0; left: 33px; width: 4px; height: 100%; background: #e7eff6; z-index: -1;}
.reserve-step > li:not(:last-child) { padding-bottom: 56px;}
.reserve-step > li > i { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 70px; height: 70px; background: #e7eff6; border-radius: 50%; line-height: 1;}
.reserve-step > li .contents { padding-top: 1em;}
.tel-button a, .tel-button .fax { display: inline-block; text-align: center; padding: 0.8em 2em; border: 1px solid #03427d; border-radius: 6px;}
.tel-button i { margin-top: 0;}
.tel-button .fax i { padding-left: 1.5em; background-image: url(img/reserve/fax.svg);}
.dl-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 12px;}
.dl-list a { display: flex; justify-content: center; align-items: center; gap: 8px; height: 100%; padding: 0.5em 1em; background: #03427d; border-radius: 6px; font-size: clamp(1.3rem,1.5vw,1.5rem); color: #FFF;}
.dl-list a::before { content: ''; display: block; width: 1em; height: 1em; background: url(img/reserve/download_w.svg) center no-repeat; background-size: contain;}
.dl-list a.large { padding: 1em;}
.dl-list a.alt { background-color: #FFF; border: 2px solid #03427d; font-weight: 600; color: #03427d;}
.dl-list a.alt::before { background-image: url(img/reserve/download.svg);}
.dl-list a.short { max-width: 460px; margin-left: auto; margin-right: auto;}
.dl-list a.tel::before { width: 2em; height: 2em; background-image: url(img/reserve/tel.svg);}
.next-arrow { width: 0; height: 0; margin: 0 auto 16px; border-style:solid; border-width: 17px 17px 0 17px; border-top-color: #03427d; border-right-color: transparent !important; border-left-color: transparent !important; border-bottom-color: transparent !important;}
.calendar-form { height: 800px;}


/*seminars*/
.seminar-nav { display: flex; justify-content: center; align-items: center; gap: 16px;}
.seminar-nav .wp-block-buttons { margin-top: 0 !important;}
.seminars-list a { display: block; padding-right: 32px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.seminar { position: relative; margin-top: 64px !important; padding: 6%; text-align: center; background: #FFF; box-shadow: 0 0 7px rgba(0,0,0,.2);}
.seminar time { position: absolute; top: 0; left: 50%; transform: translate(-50%,-50%); margin: 0 !important; padding: 0.5em 2em; background: #03427d; border-radius: 40px; font-size: clamp(1.6rem,1.9vw,2.2rem); color: #FFF; white-space: nowrap;}
.seminar > h3 { position: relative; display: inline-block; text-align: center; border-bottom: 1px solid #ea0b0c;}
.seminar > h3::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 100%; height: 1px; background: #03427d;}
.seminar .meta { display: grid; grid-template-columns: auto auto 1fr; gap: 10px; margin: 24px 0; font-size: clamp(1.5rem,1.7vw,1.8rem); font-weight: 600;}
.seminar-price { min-width: 106px; padding: 0.5em 1em; text-align: center; background: #cce1f4; color: #03427d;}
.seminar-price.paid { background: #ea0b0c; color: #FFF;}
.seminar-cd { min-width: 106px; padding: 0.5em 1em; border: 1px solid #03427d;}
.seminar .meta dl { display: flex; flex-wrap: wrap; padding: 0.5em 1em; background: #e7eff6;}
.seminar .meta dd { color: #03427d;}
.seminar .meta dd:not(:last-of-type) { margin-right: 16px;}
.seminar-contents { display: grid; grid-template-columns: 200px 1fr; gap: 24px; text-align: left;}
.seminar-contents .text { order: 1; padding-left: 24px; border-left: 1px solid #DDD;}
.seminar-contents .profile { align-self: flex-start; display: grid; gap: 24px;}
.seminar-contents .profile dl { font-weight: 700; color: #03427d;}
.seminar-contents .profile dt { padding: 8px 0; border-bottom: 1px solid #03427d;}
.seminar .end { position: absolute; bottom: 0; left: 0; display: flex; justify-content: center; align-items: center; width: 100%; height: 278px; background: rgba(91,91,91,.8); font-size: clamp(1.7rem,1.9vw,2.2rem); font-weight: 600; color: #FFF; z-index: 10;}
.seminars-contact { background: url(img/seminars/contact.png) center no-repeat; background-size: cover;}
.next-year h2.title { border-color: #ea0b0c; color: #ea0b0c;}
.next-year time { background: #ea0b0c;}

/*about*/
.tour-title { padding: 1em; text-align: center; background: #03427d; color: #FFF;}
.tour { height: 576px;}
.facility-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(310px,1fr)); gap: 32px 24px;}
.facility-list li { padding: 6%; background: #FFF; border-radius: 12px; box-shadow: 0 0 6px rgba(0,0,0,.4); cursor: pointer;}
.facility-list figure { padding-top: calc(2 / 3 * 100%);}
.facility-list figure img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain;}
.facility-list p { text-align: center; padding: 0.5em; background: url(img/about/plus.svg) right 0.5em center no-repeat, linear-gradient(60deg, rgba(90, 130, 170, 1) 0%, rgba(178, 207, 233, 1) 100%); border-radius: 40px; font-weight: 700; color: #FFF;}
.modal[class*="facility"] figure { padding-top: calc(3 / 4 * 72%);}
.modal[class*="facility"] figure img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain;}
.policy-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(310px,1fr)); gap: 32px 24px;}
.policy-list li { position: relative; height: 325px; padding: 1.5em; text-align: center; border: 2px solid #b2cfe9;}
.policy-list figure { position: absolute; inset: 0;}
.policy-list figure img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;}
.orner-link { background: url(img/about/orner.png) center no-repeat; background-size: cover;}
.orner-link section { display: flex; flex-direction: column; align-items: flex-end;}


/*donor*/
.donor-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(310px,1fr)); gap: 24px;}
.donor-list > li { background: #FFF; border-radius: 12px; box-shadow: 0 0 6px rgba(0,0,0,.4); overflow: hidden;}
.donor-list .contents { padding: 6%;}
.donor-list ol { display: grid; gap: 8px; list-style: none; counter-reset: number;}
.donor-list ol > li { position: relative; padding-left: 2em;}
.donor-list ol > li::before { counter-increment: number; content: counter(number); position: absolute; top: 0; left: 0; width: 1.5em; height: 1.5em; border: 1px solid #03427d; border-radius: 4px; text-align: center; line-height: 1.5em; color: #03427d;}
.donor-list dl { display: grid; grid-template-columns: auto 1fr;}
.donor-list dd { color: #03427d;}
.contact-box { display: flex; flex-wrap: wrap; gap: 24px;}
.contact-box .contents { padding: 4%; background: #ecf5f9;}
.contact-box .wp-block-button { width: 100%;}
.contact-box .wp-block-button a.large-alt { min-height: 70px; background: none;}
.faq dt { position: relative; margin-bottom: 0; padding: 16px 32px 16px 64px; font-weight: 500; cursor: pointer;}
.faq dt:before { content: 'Q.'; position: absolute; top: 50%; left: 16px; transform: translateY(-50%); font-size: clamp(1.8em,2.3vw,2.3rem); font-weight: 600; color: #03427d;}
.faq dt::after { content: ''; position: absolute; top: 50%; right: 1em; transform: translate(-50%,-50%) rotate(45deg); width: 10px; height: 10px; border-right: 2px solid #03427d; border-bottom: 2px solid #03427d; transition: .2s ease-out;}
.faq dt.on::after { transform: translate(-50%,-50%) rotate(225deg);}
.faq dd { position: relative; display: none; padding: 8px 16px 16px 64px; border-bottom: 2px solid #ddd;}
.faq dd::before { content: 'A'; position: absolute; top: 0; left: 16px; font-size: clamp(1.8em,2.3vw,2.3rem); font-weight: 600; color: #ea0b0c;}



@media only screen and (min-width: 1001px){
	.pc-center { text-align: center;}
	.sp-swiper .swiper-wrapper { display: grid; grid-template-columns: repeat(4,1fr); gap: 40px;}
}



@media only screen and (max-width: 1000px){
	article { padding: 48px 0;}
	section + section { margin-top: 48px;}
	.sec { padding-top: 48px;}
	.white-box { width: auto; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); border-radius: 0;}
	.blue-box { width: auto; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); border-radius: 0;}
	.sp-title { display: flex; justify-content: center; align-items: center; gap: 8px; text-align: center; padding-left: 0; border-left: none;}
	.sp-title::before, .sp-title::after  { content: ''; display: inline-block; width: 9px; height: 1em; background: #03427d;}
	.wp-block-table th, .wp-block-table td { display: block; padding-left: 0; padding-right: 0;}
	.wp-block-table tr * + * { padding-top: 0;}
	.wp-block-table figcaption { text-align: left;}
	.wp-block-buttons { justify-content: center !important;}
	.col { grid-template-columns: 100%;}
	.col.reverse { grid-template-columns: 100%;}
	.col.reverse figure { order: -1;}
	.sp-center { text-align: center;}
	.mt24 { margin-top: 16px !important;}
	.mt40 { margin-top: 32px !important;}
	.mt80 { margin-top: 48px !important;}
	.mt160 { margin-top: 80px !important;}
	.sp { display: block;}
	.pc { display: none;}


	/*TOP*/
	#top { background-image: url(img/top/mv_sp.jpg);}
	#top section { padding: 24px;}
	.branch { margin-top: 24px;}
	.branch a { min-height: 140px;}

	.news { grid-template-columns: 1fr; width: auto; min-height: initial; margin-top: 0; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);}
	.news-title { flex-direction: row; justify-content: space-between; padding: 1em;}
	.news-title .arrow { margin-top: 0 !important;}
	.top-news-list { grid-template-columns: 1fr; padding: 2em; font-size: 1.4rem;}
	.top-news-list dd:not(:last-of-type) { margin-bottom: 1em; white-space: normal; text-overflow: initial;}
	.banner { grid-template-columns: 1fr; gap: 10px;}
	.banner .long { grid-column: auto;}
	#topcontents section { grid-template-columns: 100%;}
	.blog-contents { margin-right: calc(50% - 50vw); margin-left: calc(50% - 50vw);}
	.tabs { padding-top: 0; padding-bottom: 40px;}
	.tab-nav { margin-right: calc(50% - 50vw); margin-left: calc(50% - 50vw);}
	.cd { padding: 0; margin-top: 1em !important; background: none}
	.cd-list:not(.calendar-btn) { grid-template-columns: repeat(2,1fr); gap: 6px;}
	.cd-list a { grid-template-columns: 1fr 26%; min-height: 80px; align-items: center; padding: 8px 12px;}
	.cd-name { padding-left: 0; border-left: none;}
	.cd-name img { height: 1em; margin-right: 4px;}
	.cd-list .fs17 { margin-bottom: 0.5em; padding-left: 0.5em; border-left: 8px solid #CCC;}
	.calendar-btn { gap: 16px;}
	.calendar-btn figure img { height: 60px;}
	.cd-title { display: grid; grid-template-columns: 1fr auto;}
	.cd-title .wp-block-buttons { grid-column: 1 / 3; margin-right: auto;}
	.search-box { padding: 16px;}
	.search { width: auto; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); border-radius: 0; box-shadow: none;}
	.search .search-form { padding: 16px 24px;}
	.search .search-form .search-title { font-size: 2.4rem;}
	.search .search-form input[type="search"] { padding: 8px 8px 8px 16px; background: #FFF;}
	.search .search-form button { width: 56px; height: 50px; padding: 0; background: #03427D url(img/common/search_w.svg) center no-repeat; overflow: hidden; text-indent: -9999px;}
	.search .search-form label { flex-direction: column; align-items: flex-start; gap: 16px;}
	.search-box .notice { display: flex; flex-direction: column; align-items: flex-start; gap: 8px;}
	.search-box .notice em::after { display: none;}
	.search-list { display: grid; grid-template-columns: repeat(2,1fr);}

	#flow section { width: auto; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); border-radius: 0;}
	.flow > li { grid-template-columns: 1fr;}
	.flow .flow-title { flex-direction: row; gap: 8px;}
	.flow .flow-title figure { margin: 0 !important;}
	.flow .flow-title i { font-size: 2.4rem !important;}
	.flow .flow-title h3 { font-size: 2rem !important;}
	.images { grid-template-columns: repeat(2,1fr); gap: 16px;}
	.images > *:nth-child(1) { margin-top: 32px;}
	.images > *:nth-child(4) { margin-top: -32px;}
	.sp-swiper .swiper-wrapper { transition-timing-function: linear !important;}
	.sp-swiper .swiper-slide { width: 60%;}
	.accordion-img-btn dt { padding: 16px 32px; background: linear-gradient(60deg, rgba(3, 66, 125, 1) 0%, rgba(15, 115, 209, 1) 100%);}
	.accordion-img-btn dt::after { width: 16px; height: 16px;}
	.accordion-img-btn dt figure { display: none;}
	.accordion-img-btn dt:not(:first-of-type) { margin-top: 24px; background: #AF1A1B;}
	.accordion-img-btn dd { padding: 24px;}
	.step { gap: 40px;}
	.step li { grid-template-columns: 1fr;}
	.step li figure { order: 1;}
	.step li:not(:first-of-type) figure::before { display: none;}
	.after li { padding: 32px 24px;}
	.after h3 { display: flex; flex-direction: column;}
	.after h3 i { padding: 0 0.5em; border-bottom: 2px solid #03427D;}
	.after h3 span { padding-left: 0; border-left: none;}
	.search-list a { position: relative; display: block; padding: 0.8em 2em 0.8em 1.5em;}


	/*PAGE*/
	#title { height: 70px;}
	#title figure { border-radius: 0;}
	.anchor ul { grid-template-columns: 100%;}

	.form label { display: block; padding: 4px 0;}
	.message { grid-template-columns: 1fr; gap: 0 40px;}
	.message-img { grid-column: auto; grid-row: auto; border-left: none; width: 60%; max-width: 360px; margin: 0 auto; padding-left: 0; text-align: center;}
	.message-img p { font-size: 1.7rem;}
	.message > p { margin-top: 2em; padding-top: 2em; border-top: 2px solid #8bb1d5;}
	.page-cc .message p em { font-size: 2.4rem !important;}
	.radiation-therapy figure { padding: 0; background-position: center top;}
	.radiation-therapy figure p { position: relative;}
	.modal .close { top: 15px; right: 15px; width: 30px; height: 30px;}
	.modal .inn02 { padding: 8%;}
	.time-contents { flex-direction: column; gap: 10px; padding: 6%; background: rgba(255, 255, 255, .8); border-radius: 10px; box-shadow: 0 0 3px rgba(0, 0, 0, .38);}
	.time-contents figure { width: 100%;}
	.staff-list { grid-template-columns: repeat(2, 1fr); gap: 24px 8px;}
	.staff-list li:not(.direct) { padding: 10px;}
	.modal[class*="staff"] .inn01 { padding: 6% 0 0;}
	.prof { grid-template-columns: 1fr; gap: 16px;}
	.prof h3 { flex-direction: column; align-items: center; gap: 0; line-height: 1.4; border-bottom: none;}
	.prof p { text-align: center;}
	.comment { padding-top: 16px; border-top: 1px solid #dddddd;}
	.career { border-radius: 0; font-size: 1.2rem;}

	.reserve-step > li:not(:last-child)::before { left: 23px;}
	.reserve-step > li > i { width: 50px; height: 50px;}
	.tel-button i { font-size: 2rem;}
	.tel-button a, .tel-button .fax { padding: 1em; white-space: nowrap;}
	.calendar-form { height: 800px;}

	.seminar-nav { flex-direction: column;}
	.seminar { padding: 12% 6% 6%;}
	.seminar .meta { grid-template-columns: auto auto;}
	.seminar .meta dl { grid-column: 1 / 3; display: block;}
	.seminar .meta dt { clear: left; float: left;}
	.seminar .meta dd { float: left;}
	.seminar .meta dt:not(:first-of-type), .seminar .meta dd:not(:first-of-type) { margin-top: 0.3em;}
	.seminar-contents { grid-template-columns: 1fr;}
	.seminar-contents .text { order: -1; padding-left: 0; border-left: none;}
	.seminar-contents .profile { width: 231px; margin: 0 auto;}
	.seminar-contents .profile figure { text-align: center;}
	.seminars-contact { background: url(img/seminars/contact.png) center no-repeat; background-size: cover;}
}





@media only screen and (max-width: 640px){
	.movie { padding-top: calc(4 / 4 * 100%);}
	.search-list.alt { grid-template-columns: 1fr;}
	.blog-list li a { display: grid; grid-template-columns: 40% 1fr; align-items: flex-start; gap: 0 16px; padding: 16px;}
	.blog-list figure { grid-row: 1 / 4; margin: 0; padding-top: calc(3 / 4 * 100%);}
	#cat .cat li a { font-size: 1.2rem;}
	#ornermv { margin-bottom: -20%;}
	#ornermv h1 { bottom: 12%;}
	.staff-list li.direct { grid-template-columns: 1fr; width: 100%; min-width: 200%;}
	.direct-profile { padding-left: 0; border-left: none;}
	.facility-list { grid-template-columns: repeat(2,1fr); gap: 16px 12px;}
	.facility-list p { background-size: 16px auto, auto; font-size: 1.3rem;}
	.modal[class*="facility"] figure { padding-top: calc(3 / 4 * 100%);}
	.orner-link { background-image: url(img/about/orner_sp.png);}
	.orner-link section { align-items: flex-start;}
}





@media print {
#container { width: 1024px;}
}