/* A Modern CSS Reset */
*,*::before,*::after{box-sizing:border-box}ul[class],ol[class]{padding:0}body,h1,h2,h3,h4,h5,h6,p,ul[class],ol[class],figure,blockquote,dl,dd{margin:0}body{min-height:100vh;scroll-behavior:smooth;/*text-rendering:optimizeSpeed;*/line-height:2}ul[class],ol[class]{list-style:none}a:not([class]){/*text-decoration-skip-ink:auto*/}img{max-width:100%;display:block}article>*+*{margin-top:1rem}input,button,textarea,select{font:inherit}@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}}



html { scroll-behavior:auto; overflow-x:clip; }
body { font-family: "Zen Kaku Gothic New", sans-serif; color:#568; font-weight:400; position:relative; font-size:clamp(0.9rem, 1.6vw, 1rem); line-height:2; letter-spacing:0.05rem; margin:0; padding:0; -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%; font-feature-settings:"palt"; box-sizing:border-box; overflow-x:clip; }

title span { display: none; }
a { color:#568; transition:0.15s; outline-style:none; cursor: pointer; }
a:hover { color:rgba(153,0,106,0.7); } 


.tc { text-align: center; }
.tr { text-align: right; }
.tl { text-align: left; }
.vt { vertical-align: top; }
.img_pc { display:block; }
.img_sp { display:none; }
.clearfix { display: block; clear: both; }
.clearfix::after { content: ""; display: block; clear: both;}
.clearfix::before { content: ""; display: block; clear: both;}
.f_ll { font-size:clamp(1.25rem, 2.4vw, 1.5rem); }
.f_l { font-size:clamp(1rem, 2vw, 1.25rem); }
.f_m { font-size:clamp(0.9rem, 1.6vw, 1rem); }
.f_s { font-size:clamp(0.75rem, 1.3vw, 0.8rem); }
span.f_s { display: inline-block; }
.lh100 { line-height: 1; } 
.lh125 { line-height: 1.25; } 
.lh150 { line-height: 1.5; } 
.lh200 { line-height: 2; } 
strong { font-weight:500; }

.pc_no, .pc_no2, span.pc_no2, .dis_no { display:none; }
.sp_no { display:block; }
span.sp_no { display:inline; }
br.sp_no { display:inline; }
br.sp_no2 { display:inline; }


.green {color:#153;}
.orange {color:#f70;}
.yellow {color:#db5;}
.red { color:rgba(153,0,106,0.7);}
.blue { color:#239;}
.gray { color:gray;}

p { margin-bottom: clamp(1rem,3vw,2rem); }
p:empty { display:none; }
hr { background: none; border: none; border-bottom: 1px solid rgba(34,51,85,0.2); }
ul { padding:0 0 0 1.25rem; margin:0 0 1rem 0; }

.full { margin-left:calc(50% - 50vw); margin-right:calc(50% - 50vw); }
.full_r { margin-left:0; margin-right:calc(50% - 43vw); }
.full_l { margin-left:calc(50% - 43vw); margin-right:0; }
.full_bg { padding-left:calc(50vw - 50%); padding-right:calc(50vw - 50%); }

.flex { display:flex; flex-flow:row wrap; justify-content:space-between; position:relative; }
.flex.rowre { flex-flow: row-reverse wrap; }
.flex.jcfs { justify-content:flex-start; }
.flex.jcfe { justify-content:flex-end; }
.flex.jcc { justify-content:center; }
.flex.aic { align-items: center; }
.flex.aifs { align-items: flex-start; }
.flex.aife { align-items: flex-end; }
.flex .fg1 { flex-grow: 1; }

.fadein { opacity : 0; transform : translate(0, 0); transition :all 0.75s ease 0.15s;}
.fadein.show { opacity : 1; transform : translate(0, 0); }

.fadeinUp, .fadeinUp_once { opacity : 0; transform : translate(0, 50px); transition :all 0.75s ease 0.15s;}
.fadeinUp.show, .fadeinUp_once.show { opacity : 1; transform : translate(0, 0); }

.fadeinDown, .fadeinDown_once { opacity : 0; transform : translate(0, -50px); transition :all 0.75s ease 0.15s;}
.fadeinDown.show, .fadeinDown_once.show { opacity : 1; transform : translate(0, 0); }

.fadeinLeft { opacity : 0; transform : translate(-50px, 0); transition :all 0.75s ease 0.15s;}
.fadeinLeft.show { opacity : 1; transform : translate(0, 0); }

.fadeinRight { opacity : 0; transform : translate(50px, 0); transition :all 0.75s ease 0.15s;}
.fadeinRight.show { opacity : 1; transform : translate(0, 0); }


.mb0 { margin-bottom:0 !important; }
.mb4 { margin-bottom:0.25rem !important; }
.mb8 { margin-bottom:0.5rem !important; }
.mb16 { margin-bottom:1rem !important; }
.mb24 { margin-bottom:1.5rem !important; }
.mb32 { margin-bottom:2rem !important; }
.mb48 { margin-bottom:3rem !important; }
.mb64 { margin-bottom:4rem !important; }

.mr0 { margin-right:0 !important; }
.mr4 { margin-right:0.25rem !important; }
.mr8 { margin-right:0.5rem !important; }
.mr16 { margin-right:1rem !important; }
.mr24 { margin-right:1.5rem !important; }
.mr32 { margin-right:2rem !important; }
.mr48 { margin-right:3rem !important; }

.ml0 { margin-left:0 !important; }
.ml4 { margin-left:0.25rem !important; }
.ml8 { margin-left:0.5rem !important; }
.ml16 { margin-left:1rem !important; }
.ml24 { margin-left:1.5rem !important; }
.ml32 { margin-left:2rem !important; }
.ml48 { margin-left:3rem !important; }

.mt0 { margin-top:0 !important; }
.mt4 { margin-top:0.25rem !important; }
.mt8 { margin-top:0.5rem !important; }
.mt16 { margin-top:1rem !important; }
.mt24 { margin-top:1.5rem !important; }
.mt32 { margin-top:2rem !important; }
.mt48 { margin-top:3rem !important; }

.ma { margin: auto; }

.multiply { mix-blend-mode: multiply; }
.mincho { font-family: "Zen Old Mincho", serif; }

/*TEST用*/
div.test { display:none;}
body.test div.test { display:block; }


.article { width:100%; max-width:80rem; padding:0 clamp(1rem, 3vw, 2rem); margin:0 auto; box-sizing:border-box; position:relative; }
body.top .article { padding-top:0; }


/*--HEADER--*/
.header { margin:0 auto; position:sticky; top:0; left:0; right:0; transition:0.2s; display:flex; align-items:center; z-index: 10000; padding:1rem; min-height:6rem; }
.header .t_title { width:80%; max-width:28rem; min-width:10rem; transition:0.5s; margin-bottom:0; /*filter: drop-shadow(1px 1px 1px rgba(255,255,255,0.7));*/ }
.header.bg::after { content:""; position:absolute; top:0; right:0; bottom:0; left:0; z-index:-1; background: linear-gradient(to bottom, rgba(255,255,255,1) 10%,rgba(255,255,255,1) 60%,rgba(255,255,255,0.95) 100%); /*backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);*/ }

.header.bg .t_title, body.temp .t_title {  }
.header .tel_box { line-height:1rem; margin:0 auto 0 clamp(0.75rem,2.5vw,1.5rem); }
.header .address { font-size:clamp(0.75rem,1vw,0.8125rem); line-height:1.25;}
.header .tel strong, .header .tel strong a { font-size:clamp(1rem, 2.2vw, 1.375rem); font-weight:normal;  }
.header .tel .material-symbols-outlined, .tel .material-symbols-outlined, .fax .material-symbols-outlined { margin:-0.5rem 0.15rem 0 0; }

.tel, .fax { display:block; position: relative; line-height:1.25;  }
.tel strong, .fax strong { font-size:clamp(1.25rem, 2.8vw, 1.75rem); font-weight: normal; }
.tel strong a, .fax strong a {  }
.tel .tel_hours { font-size: 0.8125rem; margin-top: 0.4rem; }

body.logged-in .header {top:32px;}


/*--HEADER MENU--*/
.hm { position: fixed; top:1rem; right: 1.5rem; z-index: 20000; }
body.logged-in .hm { top:calc(1rem + 32px);}
.hm.bg, body.temp .hm { background: none; }

.hm > ul { padding:0; margin:0; display:flex; flex-flow:row nowrap; list-style: none; }
.hm > ul > li { display:block; margin: 0; position: relative; transition:0.25s;}
.hm > ul > li > a, body.top .hm.bg > ul > li > a { display: flex; flex-flow: row nowrap; justify-content: center; align-items: center; padding:0.75rem; width:100%; text-decoration: none; letter-spacing:1px; position: relative; transition:0.25s; text-shadow:1px 1px 0 rgba(255,255,255,0.7); color:#125; mix-brend-mode:multiply; }
.hm > ul > li:hover > a, .hm > ul > li.active > a, .hm > ul > li > a.active { color:#125; color:rgba(153,0,106,0.7); }
.hm > ul > li:hover > a::before { /*background-position: center bottom 0.5rem;*/ }
body.top .hm > ul > li > a { color:#fff; text-shadow:1px 1px 0 rgba(0,0,0,0.3); mix-brend-mode:normal;  }


.hm li .sub { visibility: hidden; opacity: 0; position:absolute; top:2.5rem; /*left:calc(50% - 5.5rem);width:11rem;*/ left:-1rem;  z-index:100000; box-shadow:0 1rem 0.5rem -0.75rem rgba(0,0,0,0.05); transition:0.25s;  }
.hm li:hover .sub { visibility: visible; opacity:1; top:3.5rem; }

.hm li .sub > ul { display:flex; flex-flow:column wrap; margin:0; padding:0.75rem 0.5rem; text-align: left; width:100%; list-style: none; border-radius: 0.5rem; position:relative; background:rgba(255,255,255,1); }
.hm li .sub > ul::after { content:""; position:absolute; top:0; bottom:0; right:0; left:0; /*filter:blur(0.25rem);*/ background: rgba(255,255,255,0.8); z-index:-1; /*backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);*/ border-radius: 0.5rem; }

.hm li .sub ul li { width: 100%; margin: 0; }
.hm li .sub ul li a { display: block; width:100%; padding:0.5rem 1rem 0.5rem 2rem; text-align: left; text-decoration: none; position:relative; line-height: 1.5;  background:url(../img/i_arrow_r.svg) left top 0.8rem /1.5rem no-repeat; white-space:nowrap;}
.hm li .sub ul li a:hover { /*background-position:left -1rem center; color:#b78;*/ color:rgba(153,0,106,0.7); }
.hm li .sub ul li a[target='_blank']::after { top:-0.1rem; }
.hm li .sub ul li ul { list-style: none; padding-left:1.25rem; margin-bottom:0.5rem; }
.hm li .sub ul li ul li a::before { content:""; display: block; position: absolute; top:50%; left:-0.5rem; width: 1rem; border-top: 1px solid rgba(34,34,34,0.2); }
.hm li.hm_home { display: none; }
/*
.hm li.hm_about .sub { width: 11rem; left:calc(50% - 5.5rem);}
.hm li.hm_dx .sub { width: 11rem; left:calc(50% - 5.5rem); }
*/

.hm li.hm_ig a, body.top .hm.bg li.hm_ig a { height:3.5rem; width:2.5rem; background:url(/perinatal/wp-content/uploads/2025/11/i_ig.png) center center /1.5rem no-repeat; }
body.top .hm li.hm_ig a { background:url(/perinatal/wp-content/uploads/2025/11/i_ig_w.png) center center /1.5rem no-repeat; }

.mean-container .mean-nav ul li.hm_ig a { height:2.5rem; background:url(/perinatal/wp-content/uploads/2025/11/i_ig.png) center center /1.5rem no-repeat;}

.hm > ul > li.sp { display: none; }



h1, h2, h3, h4, h5, h6 { line-height:1.3; letter-spacing:clamp(0.1rem, 0.2vw, 0.3rem); position: relative; padding:0; text-align:left; font-family: "Zen Old Mincho", serif; font-weight: 400; font-style: normal; color:#125; }
h1 { font-size:clamp(1.5rem, 3.6vw, 2.25rem); margin-bottom:clamp(1rem, 4.8vw, 2rem); }
h2 { font-size:clamp(1.4rem, 3.2vw, 2rem); margin-bottom:clamp(1rem, 4.8vw, 2rem); position: relative; display: flex; flex-flow: row nowrap; align-items:center; }
h3 { font-size:clamp(1.3rem, 2.8vw, 1.75rem); margin-bottom:clamp(0.5rem, 1.6vw, 1rem); position: relative; display: flex; flex-flow: row nowrap; align-items:center;}
h4 { font-size:clamp(1.2rem, 2.4vw, 1.5rem); margin-bottom:clamp(0.5rem, 1.6vw, 1rem); position: relative; /*display: flex; flex-flow: row nowrap;*/}
h5 { font-size:clamp(1.1rem, 2vw, 1.25rem); margin-bottom:clamp(0.5rem, 1.2vw, 0.75rem); position: relative; /*display: flex; align-items: center; flex-flow: row nowrap;*/ }
h6 { font-size:clamp(1.0rem, 1.6vw, 1rem);; margin-bottom: 0.5rem; }


body.modal h1, body.modal h2, body.modal h3, body.modal h4, body.modal h5, body.modal h6 {letter-spacing:0.05rem; }
h1 .comment, h2 .comment, h3 .comment, h4 .comment, h5 .comment { display: block; font-size:clamp(0.875rem, 1.6vw, 1.0rem); letter-spacing:0.1rem; margin-top:0.5rem; }
br + .comment { display: block; }

h3.title_box + .date { display: block; text-align: right; margin-top:clamp(-1rem,-1.6vw,-0.5rem); }
h3.title_box + .comment { margin-top:clamp(-1rem, -1.6vw, -0.5rem); margin-bottom:clamp(0.5rem, 3.2vw, 2rem); font-size: clamp(0.875rem, 1.4vw, 0.9rem); }
.page_title br { display: none; }

body.temp h2.cate_title {font-size:clamp(1.5rem,5vw,3rem); }
body.temp h2.cate_title::after { /*content:""; flex-grow:1; margin-left:1rem; border-bottom:1px solid #d8c28a;*/ }

body.temp h3.page_title {font-size:clamp(1.25rem,3.2vw,2rem); margin-bottom:1rem; }


.material-symbols-outlined { font-variation-settings:'FILL' 1,'wght' 400,'GRAD' 0,'opsz' 24 }
.en { font-family: acumin-pro-condensed, sans-serif; }

h3 .material-symbols-outlined, h4 .material-symbols-outlined { font-size:2.5rem; margin-right:0.25rem; color:#125; }

h2.tate, h3.tate, h4.tate { writing-mode:vertical-rl; font-feature-settings:initial; border-top: none; padding-top:0; /*text-shadow:1px 1px 0 rgba(255,255,255,0.8);*/ }


h3 hr, h4 hr, h5 hr { border-bottom: 1px solid rgba(29,32,136,0.2); }
.blue_box h3 hr, .blue_box h4 hr, .blue_box h5 hr { border-bottom: 1px solid rgba(255,255,255,0.2); }

body.temp h2.line span, h3.line span, h4.line span, h5.line span, span.line, strong.line { display: inline; padding:0 0.1rem; background: linear-gradient(transparent 65%, rgba(153,0,106,0.07) 0%); }





/*--MAIN--*/
.main { position:relative; display: flex; flex-flow: column nowrap; align-items: center; justify-content: space-between; margin:0; padding:0; /*max-height:calc(100vh - 7.5rem);*/ margin-top:-6rem; margin-left:calc(50% - 45vw); margin-right:calc(50% - 45vw); }
.main .inner { position:relative; top:0; right:-10vw; width:100vw; height:56.25vw; border-radius:0 0 50vw 50vw; /*overflow:hidden;*/ z-index:0; }
.main .inner::before { content:""; display:block; position:absolute; top:0; left:-1px; right:50%; bottom:0; background:linear-gradient(to right,rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100% ); z-index:20; }
.main .inner::after { content:""; display:block; position:absolute; top:0; left:-1px; right:-1px; bottom:-1px; background: radial-gradient(circle at 55% top, rgba(0,0,0,0.1) 66%, rgba(255,255,255,1) 71%); z-index:10; }

.main_video iframe { width: 100%; height:100%; margin:0; overflow: hidden; filter: hue-rotate(0deg) brightness(100%); pointer-events: none; }
.main .inner video,
.main .inner img { width:100%; height:100%; object-fit: cover; object-position:center; }

.copy_box { position:absolute; top:35%; left:0; display:flex; flex-flow:column wrap; justify-content:flex-start; align-items:flex-start; }
.copy_box .copy01, .main .copy02 { z-index:200;}
.copy_box .copy01 { font-size:clamp(1.7rem,4vw,4rem); margin-bottom:1rem; /*color:#b78;*/ color:rgba(153,0,106,0.7); line-height:1.5; letter-spacing:0.1rem; text-shadow:1px 1px 1px rgba(255,255,255,0.9); }
.copy_box .copy02 { font-size:clamp(0.9rem,2vw,1.25rem); line-height:1.6; text-shadow:1px 1px 1px rgba(255,255,255,0.9); max-width:90vw; }




.section { margin:0 auto clamp(4rem,10vw,8rem) auto; position:relative; }
.section .flex {}
.section .title_box { position:relative; }
.section .caption { line-height:2; margin-bottom:clamp(1rem,3vw,2rem); letter-spacing:0.1rem; padding-top:0; }
.section .more { display:inline-block; font-size:clamp(0.8125rem,1.6vw,1rem); text-decoration:none; padding:0.75rem 2rem 0.75rem 0; background:url(../img/i_arrow_r.svg) right center /1.5rem no-repeat; max-width:12rem; }
.section .more:hover { opacity:0.8;  }
.section h2 { font-size:clamp(1.5rem,5vw,3rem); margin-bottom:clamp(1rem,3vw,2rem); }
.section h2 .bar, h3 .bar { flex-grow:1; margin:0 1rem; border-bottom:1px solid #d8c28a; position:relative; }
.section .description { font-size:clamp(1rem,2.5vw,1.75rem); line-height:1.5; }

.anchor { height:11rem; margin-top:-11rem; position:relative; z-index:-10; width:1px; }
body.logged-in .anchor { height:calc(11rem + 32px); margin-top:calc(-11rem - 32px); }
.sticky { position: sticky; top:11rem; }
body.logged-in .sticky { top:calc(11rem + 32px);}


/*--SPECIALIST/--*/
ul.sub_menu { list-style:none; }
ul.sub_menu li { width:100%; position:relative; }
body.top ul.sub_menu li { max-width:18.75rem; }
ul.sub_menu li a { line-height:1.5; display:block; padding:0.75rem 0 0.75rem 2rem; background:url(../img/i_arrow_r.svg) left top clamp(1rem,2vw,1.25rem) /1.5rem no-repeat; text-decoration:none; font-size:clamp(1rem,2vw,1.25rem); position:relative; }
ul.sub_menu li::after { content:""; position:absolute; top:clamp(0.3rem,0.4vw,0.4rem); left:-1rem; display:block; background:radial-gradient(rgba(255,221,221,0.25) 35%, rgba(255,221,221,0) 70%); border-radius:50%; width:2.5rem; height:2.5rem; z-index:-1; }


/*--ABOUT/--*/
.about_box { display:flex; flex-flow:row wrap; align-items:center; justify-content:space-between; }
.about_box .photo { position:relative; margin-left:-10vw; z-index:1000; z-index:0; }
.about_box .photo img { width:100%; position:relative; z-index:0; border-radius:50%; overflow:hidden; }
.about_box .photo::after { /*content:""; position:absolute; top:0; right:0; bottom:0; left:0; background: radial-gradient(circle , rgba(255,255,255,0) 45%,rgba(255,255,255,1) 68%); z-index:10;*/ }



/*DX*/
.dx_box { display:flex; flex-flow:row wrap; align-items:center; justify-content:space-between; position:relative; }
.dx_box::after { content:""; position:absolute; top:clamp(-15rem,-24vw,-7.5rem); right:-12vw;  display:block; background:radial-gradient(rgba(187,221,204,0.2) 50%, rgba(187,221,204,0) 70%); border-radius:50%; width:clamp(12.5rem,40vw,25rem); height:clamp(12.5rem,40vw,25rem); z-index:20; mix-blend-mode:multiply; }
.dx_box .photo { position:relative; aspect-ratio:8/5; margin-right:-5vw; z-index:0; mask-image: linear-gradient(to right,transparent 0%, #000 20%, #000 80%, transparent 100%); }
.dx_box .photo img { width:100%; height:100%; position:relative; z-index:0; object-fit:cover; object-position:center; }
/*.dx_box .photo::after { content:""; position:absolute; top:0; right:0; bottom:0; left:0; background: linear-gradient(to right, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 20%,rgba(255,255,255,0) 80%,rgba(255,255,255,1) 100%); z-index:10; }*/
.dx_box .sub_menu { display:flex; flex-flow:row wrap; }
.dx_box .sub_menu li { width:50%; }
.dx_box .sub_menu li:last-of-type { width:100%;}
.dx_box ul.sub_menu li::after, body.dx ul.sub_menu li::after { background:radial-gradient(rgba(187,221,204,0.25) 35%, rgba(187,221,204,0) 70%);}



/*FAQ*/
.faq_box { position:relative; padding-bottom:6rem;}
.faq_box .inner { max-width:48rem; margin:auto; border-bottom: 1px solid rgba(0,0,0,0.15); }
.faq_box h2 { text-align:center; justify-content:center; }
.faq_box::after { content:""; position:absolute; top:clamp(-6rem,-10vw,-3rem); left:-15vw;  display:block; background:radial-gradient(rgba(255,221,221,0.2) 50%, rgba(255,221,221,0) 70%); border-radius:50%; width:40vw; height:40vw; z-index:-1; }
.faq_box .photo { position:absolute; top:0; right:-10vw; z-index:-1; aspect-ratio:1; width:30vw; height:30vw;  }
.faq_box .photo img { width:100%; height:100%; z-index:0; border-radius:50%; object-fit:cover; object-position:center; }
.faq_box .photo::after { content:""; position:absolute; top:0; right:0; bottom:0; left:0; /*background: radial-gradient(circle , rgba(255,255,255,0) 50%,rgba(255,255,255,1) 70%);*/ background: linear-gradient(to right, rgba(255,255,255,0.8) 25%,rgba(255,255,255,0) 100%); z-index:10; }


.q, .q_open { margin:0; padding:0.75rem 2rem 1rem 1.5rem; position:relative; border-top: 1px solid rgba(0,0,0,0.15); cursor: pointer; line-height:1.5; }
.q_open { padding:0.25rem; }
.q:hover { background: rgba(255,255,255,0.2); }
.q::before, .q_open::before { content:"Q. "; display:inline-block; font-size:1.25rem; margin-right:0.25rem; margin-left:-1.5rem; color:#b78; color:rgba(153,0,106,0.7); }
.q::after { content:"＋"; padding:0.5rem; position:absolute; top:0.75rem; right:0; display:inline-block; transition:0.1s; font-size:clamp(0.9rem, 1.8vw,1.125rem); line-height:1; color:#b78; color:rgba(153,0,106,0.7); background: radial-gradient(circle, rgba(255,255,255,0.6) 30%,rgba(255,255,255,0) 70%); }
.q.i_close { /*font-weight: bold;*/ color:#b78; color:rgba(153,0,106,0.7); }
.m.i_close { /*font-weight: bold;*/ background: linear-gradient(to right, rgba(255,109,85,1) 0%,rgba(237,96,174,1) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.a, .a_open, .t, .t_open { display: none; margin-bottom: 1.5rem; padding:0.25rem 0 0.25rem 1.5rem; mix-brend-mode:multiply; }
.a_open, .t_open { display: block; }
.a::before, .a_open::before { content:"A. "; display:inline-block; font-size:1.25rem; margin-right:0.25rem; margin-left:-1.5rem; color:#567; font-size:1.2rem; }

.m, .m_open { margin:0; padding:0.5rem 0.5rem 0.5rem 1rem; position:relative; cursor: pointer; font-size:clamp(0.9rem, 1.8vw,1.125rem); line-height:1.5; font-weight: bold; }
.m::after { content:"＋"; position:absolute; top:calc(50% - 0.6rem); left:-0.25rem; display:inline-block; transition:0.1s; font-size:clamp(0.9rem, 1.8vw,1.125rem); line-height:1; color:#b78; color:rgba(153,0,106,0.7); z-index: 10;}
.q.i_close::after, .m.i_close::after { transform:rotate(45deg); }
.m.link { padding:0.25rem 1rem; }
.m + .t { padding:0.25rem 0; }
.m.no_open { color:rgba(34,34,34,0.5); pointer-events:none; }


/*--FOR MEDICAL--*/
.medi_box { display:flex; flex-flow:row wrap; align-items:center; justify-content:space-between; position:relative; }
.medi_box::after { content:""; position:absolute; top:clamp(-15rem,-20vw,-7.5rem); right:-10vw;  display:block; background:radial-gradient(rgba(204,238,255,0.2) 50%, rgba(204,238,255,0) 70%); border-radius:50%; width:clamp(12.5rem,40vw,25rem); height:clamp(12.5rem,40vw,25rem); mix-blend-mode:multiply; z-index:0; }
.medi_box .photo { position:relative; aspect-ratio:3/2; z-index:0; mask-image: linear-gradient(to right,transparent 0%, #000 20%, #000 80%, transparent 100%);  }
.medi_box .photo img { width:100%; height:100%; position:relative; z-index:0; object-fit:cover; object-position:top; }
/*.medi_box .photo::after { content:""; position:absolute; top:0; right:0; bottom:0; left:0; background: linear-gradient(to right, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 20%,rgba(255,255,255,0) 80%,rgba(255,255,255,1) 100%); z-index:10; }*/
.medi_box ul.sub_menu li::after, body.for_medical ul.sub_menu li::after { background:radial-gradient(rgba(204,238,255,0.25) 35%, rgba(187,221,204,0) 70%);}






/*--VIDEO/--*/
.video_box {}
.video_box .video_wrap { width:100%; aspect-ratio:16/9; max-width:54rem; border-radius:clamp(1rem,3vw,2rem); overflow:hidden; margin:auto; }
.video_box .video_wrap iframe { width:100%; height:100%; }

.youtube { width:100%; max-width:60rem; background:#fff; aspect-ratio:16/9; border-radius:0; overflow: hidden; margin-bottom:clamp(0.5rem,1.2vw,0.75rem); }
.youtube iframe{ aspect-ratio:16/9; width:100%; height:100%; filter: brightness(1.1) saturate(120%);}
.youtube::before { content: "SAMPLE"; color: rgba(255,255,255,0.4); position: absolute; right:0; bottom:0; z-index: 30; font-size:clamp(1rem,5vw,3rem); font-weight: bold; line-height: 1; }





/*--NEWS/--*/
.news_box { position:relative; z-index:100; }
.news_box::after { content:""; position:absolute; top:clamp(-10rem,-20vw,-5rem); right:-5vw;  display:block; background:radial-gradient(rgba(255,238,221,0.2) 50%, rgba(255,238,221,0) 70%); border-radius:50%; width:40vw; height:40vw; z-index:-10; }

.news_box .title { }
.news_box .index_area { display: flex; flex-flow: row wrap; justify-content: flex-start; overflow-x: auto; padding:0; margin:0 0 1rem 0; border:none;  } 
.news_box .index_area .index_box, body.archive .index_area .index_box { width: 100%; position: relative; padding:0; border:none; border-top:1px solid rgba(34,51,85,0.15); }
.news_box .index_area .index_box a, body.archive .index_area .index_box a { text-decoration: none; display: flex; flex-flow: row nowrap; align-items: flex-start;  padding:2rem 0; }

.news_box .index_area .index_box:last-of-type, body.archive .index_area .index_box:last-of-type { border-bottom:1px solid rgba(34,51,85,0.15);}
.news_box .index_area .index_box .photo { display:none; width:100%; margin:0 0 0.75rem 0; max-width: none; }
.news_box .index_area .index_box .photo img { width: 100%; aspect-ratio:3/2; object-fit: cover; height: auto !important; }
.news_box .index_area .index_box .date, body.archive .index_area .index_box .date { display:block; font-size:clamp(0.6875rem,1.4vw,0.875rem); padding: 0.1rem clamp(1rem,2.4vw,1.5rem) 0.1rem 0; color:#b78; color:rgba(153,0,106,0.7); width:clamp(5.5rem,10vw,6rem);}
.news_box .index_area .index_box .cate { display:none; padding: 1rem 1.875rem; border-right:1px solid #567; }
.news_box .index_area .index_box .cate span { display: block; width: 5rem; font-size:0.75rem; background:rgba(255,255,255,0.3); text-align: center; font-weight: bolder; }
.news_box .index_area .index_box .title, .event_area .index_area .index_box .title, body.archive .index_area .index_box .title { padding:0; flex-grow: 2; color:#567; }
.news_box .index_area .index_box .comment body.archive .index_area .index_box .comment { line-height:1.75; font-size: 0.875rem; }
.news_box .index_area .index_box a:not(.nolink):hover .title, .event_area .index_area .index_box a:not(.nolink):hover .title, .body.archive .index_area .index_box a:not(.nolink):hover .title { color:#567; }
.news_box .index_area .comment { display:none; }
a:not(.pagetop)[href$='#']{ pointer-events:none; text-decoration:none; }




/*--BANNER--*/
.b_box { display:flex; flex-flow:row wrap; justify-content:space-between; }
.b_box ul { list-style:none; padding:0; margin:0; display:flex; flex-flow:row wrap; justify-content:flex-start;}
.b_box ul li { padding:1.5%; }
.b_box a.banner { display:flex; width:100%; max-width:25rem; margin:auto; border:1px solid rgba(34,51,85,0.2); text-align:center; text-decoration:none; align-items:center; justify-content:center; }



ul.sub_link { padding-bottom:1.5rem; }
ul.sub_link ul.sub_link { padding-bottom:0; }
ul.sub_link li a { display:block; padding:0.5rem 0 0.5rem 1.5rem; background:url(../img/i_arrow_r.svg) left -0.5rem top 0.8rem /1.5rem no-repeat; text-decoration:none; line-height:1.5; }




/*--CONTACT/--*/
.contact_box {}




/*--FOOTER--*/
.footer { ine-height: 1.5; margin: auto; ; margin-top:clamp(2rem,10vw,6rem); position: relative; display:flex; flex-flow:row wrap; justify-content:space-between; align-items: flex-start; padding:3rem 0 2rem 0; border-top:1px solid rgba(34,51,85,0.5); position:relative; z-index:1000; }

.footer .synapse { margin: 0 clamp(-3rem,-5vw,-1.5rem) clamp(1.5rem,5vw,3rem) 0 ; }

.footer .title { display:block; margin-bottom:1.5rem; max-width:20rem; }
.footer .logo img { width: 100%; height: auto; }
.footer .address_box { flex-grow: 2; position: relative; /*font-size: clamp(0.9rem,2.0vw,1.25rem);*/ }

.footer .address_box .bar { flex-grow:1; margin:2rem 0; border-bottom:1px solid #125; position:relative;}


.tel, .fax { display:block; line-height: 1.5; position: relative; }
.tel strong, .fax strong { font-size:clamp(1.25rem, 2vw, 1.5rem); font-weight: normal; font-weight: 300;}
.tel.green a { color:#125; }

.fm { font-size:clamp(1rem,1.8vw,1.125rem); /*font-weight:500;*/ line-height:1.5; }
.fm ul {list-style:none; margin-bottom:1rem; padding-left:0; padding-right:0; letter-spacing:normal; }
.fm > ul > li > a { text-decoration: none; display:block; color:#125; margin-bottom:0.5rem; }
.fm ul.sub { width:100%; }
.fm ul.sub li { font-size: clamp(0.8125rem,1.5vw,0.9375rem); font-weight:normal; color:#567; }
.fm ul.sub li a { display:block; text-decoration: none; padding:0.4rem 0; }


.copyright { padding:0.25rem 0 0 0; font-size:clamp(0.6125rem,1.2vw,0.75rem); position: relative; z-index:-1; mix-blend-mode: multiply; padding-bottom:clamp(1.5rem,5vw,3rem); }



ul.links { width:100%; display:flex; flex-flow:row wrap; gap:clamp(0.5rem,1.2vw,0.75rem);/*justify-content:space-between;*/ }
ul.links li { padding:0; }
ul.links li a { display:flex; width:100%; min-width:7.5rem; margin:0 !important; /*border:1px solid rgba(34,51,85,0.5);*/ background:rgba(153,0,106,0.05); text-align:center; text-decoration:none; align-items:center; justify-content:center; font-size:clamp(0.875rem,1.6vw,1rem); padding:0.5rem 1rem; border-radius: 0.5rem; }



.pagetop { position:fixed; /*display:flex; flex-flow:column nowrap; justify-content:center;*/ bottom:0; right:0; width: 3rem; font-size:0.875rem; height:7.5rem; padding-top:0.75rem; border-radius: 1rem 0 0 0; text-decoration: none; writing-mode:vertical-rl; z-index:10000; color:rgba(85,102,119,0.8); display: flex; flex-flow: column nowrap; justify-content: center; }
.pagetop::before { content:"TOP"; text-shadow:1px 1px 0 rgba(255,255,255,0.8); }
.pagetop::after { content:""; position:absolute; top:1rem; left:1.5rem; bottom:0; margin-top:2rem; border-right:1px solid rgba(85,102,119,0.8); box-shadow:1px 0 0 rgba(255,255,255,0.8); }
.pagetop:hover { opacity: 0.7; }



/*-- TEMPLARE CONTENTS --*/
body.temp .article > .inner { width:100%; max-width:80rem; margin:0 auto; }
body.temp .article > .inner > .w85 { margin-right:auto; align-self:flex-start; }
body.page-contact .article > .inner { max-width:60rem;}


.text_area { width:100%; max-width:70rem; margin: auto; }


.navibar { margin-bottom: 1rem; padding:0; align-self:flex-start; }
.navibar ul { display: flex; flex-flow:row wrap; justify-content: flex-end; margin:0; padding:0; font-size:clamp(0.75rem, 1.5vw, 0.8125rem); line-height:1.5; }
.navibar ul li { list-style-type:none; padding:0; max-width: 15rem; display: inline-block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-feature-settings: initial; }
.navibar ul li::before { content:"／"; margin:0.5rem 0.25rem; }
.navibar ul li:first-child::before { display:none; }
.navibar a { border:none !important; }
.navibar br { display:none; }
.navibar rt { display:none; }


.col2 { column-count:2; column-gap:2rem; }
.col3 { column-count:3; column-gap:2rem; }
.col4 { column-count:4; column-gap:2rem; }


.caption { line-height: 1.5; font-size: clamp(0.8125rem,1.4vw,0.9rem); padding-top:0.5rem; letter-spacing:0.025rem; }
.LR_box img + .caption, .LCR_box img + .caption { margin-top:-1rem; }



a.link, a span.link { padding:0.5rem 0.15rem 0.5rem 1rem; margin:0; text-decoration:underline; box-sizing:border-box; position:relative; overflow:hidden; }
a.link::after, a span.link::after { /*content: "."; width: 0; color: transparent; margin-right: 1px; white-space:nowrap;*/ }
a.link::before, a span.link::before { content:""; position:absolute; left:0; top:calc(50% - 0.2rem); display:block; width:0.4rem; height:0.4rem; margin:0; border-top:1px solid #567; border-right:1px solid #567; transform:rotate(45deg); box-sizing:border-box; vertical-align: middle; }
a.link.active::after { border-top:1px solid #fff; border-right:1px solid #fff; transform:rotate(45deg); }
a.link.red { color:#c35; }
a.link .icon { display: inline-block; margin-right: 0.5rem; vertical-align: middle; }

h5 a.link::before { top:1.3rem; }


ul.page-link { text-align: left; z-index:9999; transition:0.25s; width:calc(100% + 1rem); background:rgba(251,246,249,0.9); margin:0 -0.5rem clamp(2rem,6vw,4rem) -0.5rem !important; display: flex; justify-content: flex-start; flex-flow: row wrap; overflow-x: auto; overflow-y:visible; padding:0.25rem 1rem; position: relative; }
ul.page-link li { display: block; width: auto; padding:0; margin: 0; box-sizing:border-box; position:relative; z-index:100; white-space:nowrap; }
ul.page-link li a { display: block; padding:0.5rem 1rem 0.5rem 1.5rem; text-decoration: none; position: relative; z-index:100; line-height: 1.5; font-size:clamp(0.875rem, 1.5vw, 0.9rem); }
ul.page-link li a:hover { color:#125;} 
ul.page-link li.active a, .index_box.active a .title { }
ul.page-link a::before { content:""; position:absolute; display:block; left:0.5rem; top:0.8rem; width:0.5rem; height:0.5rem; margin:0; border-bottom:1px solid #567; border-right:1px solid #567; transform:rotate(45deg); box-sizing:border-box; }
ul.page-link li.active a::before { }
.f_s ul.page-link a::before { top:0.9rem; }
.hero + ul.page-link li.active { border-top: none; }
.hero + ul.page-link li.active a { margin-bottom:-2px; border-top: none; }
.page-link.bottom { max-width:70rem; margin:2rem auto 4.5rem auto !important; padding:1rem 0 0 0; border-top:1px solid rgba(34,34,34,0.2); }
.page-link.bottom a::before { top:1.1rem; transform:rotate(-135deg); }
.page-link li a.index { display: block; pointer-events: none; padding-left:1rem; color:#125; position:absolute; top:-2.25rem; left:-1rem; z-index:1000000;  }
ul.page-link li a.index::before { display: none; }
ul.page-link::before { content: "INDEX"; display:flex; align-items:center; padding:0 1rem 0 0.5rem; color:#125;  }

ul.page-link.bg { position: sticky; top:6rem; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); flex-flow:row nowrap; }
ul.page-link.bg::after { /*content:""; background:rgba(251,246,249,0.9); position:absolute; top:0; right:0; bottom:0; left:0; z-index:-1;*/ }
h3.page_title + .page-link { margin:0 -0.5rem clamp(2rem,6vw,4rem) -0.5rem !important; }
body.logged-in .page-link.bg { top:calc(6rem + 32px);}

body.page-dx ul.page-link {  background:rgba(243,249,246,0.9); }
body.page-for_medical ul.page-link {  background:rgba(243,251,255,0.9); }


/*-- INDEX --*/
.index_area { display:flex; flex-flow:row wrap; justify-content:flex-start; align-items: flex-start; padding:0; margin:0 -1.5%; position: relative; max-width:80rem; }

.index_box { position:relative; width:33.3%; vertical-align:top; box-sizing:border-box; text-align:left; padding:0 1.5% 2rem 1.5%; /*margin-bottom:clamp(1.5rem,5vw,3rem);*/ transition:0.15s; }
.index_box a { display:block; /*padding: clamp(0.75rem,2.4vw,1.5rem) 0; border-top:1px solid rgba(0,0,0,0.1);*/ text-decoration: none; }
.index_box .photo { width: 100%; min-width: 10rem; margin-bottom: 1rem; }
.index_box .photo img { width:100%; aspect-ratio:3/2; object-fit: cover; font-family:'object-fit:cover;'; transition:0.15s; }
.index_box a:hover { text-decoration:none; opacity:1; color:#567; }


.index_box p { margin:0; text-decoration:none; }
.index_box .cate_box { font-size:0.75rem; }
.index_box .cate_box .cate { display:inline-block; background:#125; color:#fff; padding:0 0.5rem; margin:0 0.5rem 0.5rem 0; border-radius:0.25rem; white-space:nowrap; }
.index_box .new { font-size:clamp(0.75rem, 1.3vw, 0.8rem); display:inline-block; padding:0 0.5rem; background:#ff8e65; color:#fff; text-align:center; z-index:10; }
.index_box .text { display:flex; flex-grow:1; flex-flow:column nowrap; padding:0; line-height: 1.5; }
.index_box .date { display: none; line-height:1.5;  }
.index_box .comment { font-size:clamp(0.75rem, 1.5vw, 0.9rem); display: block; line-height: 1.7; margin-top:0.5rem; }
.tag { display:flex; flex-flow:row wrap; padding:0.5rem 0 0 0; }
.index_box .title { display:block; align-items:flex-start; position: relative; color:#567; line-height:1.5; font-weight:normal; flex-grow:1; }
.tag span { font-size:0.7rem; background:#567; color:#fff; padding:0 0.5rem 0.1rem 0.5rem; margin:0.5rem; text-align:center; border-radius:1rem; }

.index_box .text br, /*.hm li a br.br*/ { display: none; }
.index_box .text br.br, .index_box .text .comment br, /*.hm li a br.br*/ { display: inline-block; }

.index_box a[target='_blank'] .title::after,
.LCR_box a[target='_blank']::after,
body.link .article li a[target='_blank']::after,
body.link .article a:link[target='_blank']::after,
.article a:link[target='_blank']::after,
.hm li .sub ul li a[target='_blank']::after
{ content:""; position:relative; display:inline-block; vertical-align:middle; width:1.2rem; height:1.2rem; margin:0 0.1rem; background:url(../img/i_blank.svg) center bottom /100% no-repeat; }
.index_box a[target='_blank']::after { display:none !important; }
a[target='_blank'].banner::after { display:none !important; }

.index_box a[href*='.pdf'] .title::after, 
a[href*='.pdf']::after, 
.index_box ul li a[href*='.pdf']::after { content:"PDF" !important; position:relative; display:inline-block !important; font-size:0.6rem; line-height:1; width:auto !important; height:auto !important; padding:0.15rem 0.25rem; letter-spacing:normal; color:#e55; font-weight:bold; background:#fff !important; margin:0 0.25rem; border:1px solid #ddd; border-radius:2px; transform:translate(0,-2px); vertical-align:middle; }

.index_box a[href*='.pdf']::after { display:none !important; }

.index_box a[href*='.xls'] .title::after, 
.index_box a[href*='.xlsx'] .title::after, 
a[href*='.xls']::after, 
a[href*='.xlsx']::after, 
.index_box ul li a[href*='.xls']::after, 
.index_box ul li a[href*='.xlsx']::after { content:"Excel" !important; position:relative; display:inline-block !important; font-size:0.6rem; line-height:1; width:auto !important; height:auto !important; padding:0.15rem 0.25rem; letter-spacing:normal; color:#7da52b; font-weight:bold; background:#fff !important; margin:0 0.25rem; border:1px solid #ddd; border-radius:2px; transform:translate(0,-2px); }

.index_box a[href*='.xls']::after,
.index_box a[href*='.xlsx']::after { display:none !important; }

.index_box a[href*='.doc'] .title::after, 
.index_box a[href*='.docx'] .title::after, 
a[href*='.doc']::after, 
a[href*='.docx']::after, 
.index_box ul li a[href*='.doc']::after, 
.index_box ul li a[href*='.docx']::after { content:"Word" !important; position:relative; display:inline-block !important; font-size:0.6rem; line-height:1; width:auto !important; height:auto !important; padding:0.15rem 0.25rem; letter-spacing:normal; color:#26c; font-weight:bold; background:#fff !important; margin:0 0.5rem; border:1px solid #ddd; border-radius:2px; transform:translate(0,-2px); }

.index_box a[href*='.doc']::after,
.index_box a[href*='.docx']::after { display:none !important; }

.index_box a[href*='.pdf'] .title::after,
.index_box a[href*='.xls'] .title::after, 
.index_box a[href*='.docx'] .title::after { /*top:0.5rem;*/ }

.news_box ul li a[href*='.pdf']::after,
.news_box ul li a[href*='.xlsx']::after,
.news_box ul li a[href*='.docx']::after { position: absolute; top:0.35rem; right:0; }

.b_box a[target="_blank"]::after, .b_box a[href$=".pdf"]::after, .b_box a[href$=".docx"]::after { display:none !important; }



body.archive .contents { display: flex; flex-flow:row wrap; justify-content: space-between; align-items:flex-start; max-width:70rem; margin:0 auto clamp(2.5rem,8vw,5rem) auto; }

body.archive .index_area { margin-bottom:clamp(1.5rem,5vw,3rem); }
body.archive .index_box { width:100%;}
body.archive .aside { display: inline-block; vertical-align: top; box-sizing:border-box; margin-right: auto; position: relative; z-index: 1000; margin:0 ; }
body.archive .aside h5 { margin-top:0; margin-bottom:0.5rem; }
body.archive .aside ul { display: flex; flex-flow: row wrap; justify-content: flex-start; margin:0; padding:0 0 0 1.5rem; }
body.archive .aside ul li { padding: 0; width:100%; position:relative; }
body.archive .aside ul li::marker { color:rgba(99,85,161,0.2); }
body.archive .aside ul li::before { content:"●"; color:#057; position:absolute; left:-1.5rem; }

body.archive .aside ul li.info::before { color:#ffbe00; }
body.archive .aside ul li.recruit::before { color:#125; }


body.links .index_box a { padding-left: 1.25rem; position: relative; }
body.links .index_box a[target='_blank']::after { display: inline-block !important; }
body.links .index_box a::before { content:""; position:absolute; display:block; left:0; top:calc(50% - 0.25rem); width:0.5rem; height:0.5rem; margin:0; border-top:1px solid #567; border-right:1px solid #567; transform:rotate(45deg); box-sizing:border-box; }

/*body.page .index_box { width:25%; }*/

ul.disc { list-style: disc; padding-left: 1rem; }
ul.disc li { line-height:1.5; padding:0 1rem 0.5rem 0; margin-left:0.25rem; }

.date_box { position:relative; margin:-1.5rem 0 1rem 0; text-align:right; }
.date_box .date { font-size:0.9rem; margin:0 0.5rem 0.5rem 0; }

img.radius { border-radius:clamp(0.5rem,1.6vw,1rem); overflow:hidden; vertical-align: bottom; }
.left_img { position: relative; left:calc(20% - 12vw); width:calc( 100% + 10vw ); }
.right_img { position: relative; right:calc(20% - 12vw); width:calc( 100% + 10vw ); }
.left_img img, .right_img img { width: 100%; }



.i-prev, .i_next { }
.i-next::after { content:""; position:absolute; display:block; left:calc(50% - 6px); top:calc(50% - 4.5px); width:0.5rem; height:0.5rem; margin:0; border-top:1px solid #567; border-right:1px solid #567; transform:rotate(45deg); box-sizing:border-box; }
.i-prev::after { content:""; position:absolute; display:block; left:calc(50% - 3px); top:calc(50% - 4.5px); width:0.5rem; height:0.5rem; margin:0; border-bottom:1px solid #567; border-left:1px solid #567; transform:rotate(45deg); box-sizing:border-box; }

.pager { width:100%; margin:clamp(1.5rem,5vw,3rem) auto; }
.pagenavi { /*text-align:center;*/ }
.pagenavi .page, .pagenavi .prev, .pagenavi .next, .pagenavi .current, .pagenavi .last, .pagenavi .page.s , .pagenavi .page.s:hover { display:inline-block; margin:0 5px; width:40px; height:40px; line-height:38px; background:rgba(0,0,0,0.03); color:#567; letter-spacing:1px; text-align:center; vertical-align:middle; border-radius:2rem; transition-duration:0.5s; transition-property:background-color, color; transition-timing-function:ease, ease; box-sizing:border-box; text-decoration:none; position:relative; }
.pagenavi .page.s { box-shadow:0 3px 0 rgba(0, 0, 0, 0.1); transition-delay:0s; transition-duration:0.25s; }
.pagenavi .prev.disable, .pagenavi .next.disable, .pagenavi .prev.disable:hover, .pagenavi .next.disable:hover { background:rgba(0, 0, 0, 0.03); box-shadow:none; cursor:default; color:#fff; }
.pagenavi .current, .pagenavi .page:hover, .pagenavi .prev:hover, .pagenavi .next:hover, .pagenavi .current:hover, .pagenavi .last:hover { background:#125; color:#fff; transition-property:background-color, color; transition-timing-function:ease, ease; }
.pagenavi .next:hover .i-next::after, .pagenavi .next.disable .i-next::after { border-color:#fff; }
.pagenavi .prev:hover .i-prev::after, .pagenavi .prev.disable .i-prev::after { border-color:#fff; }



/*-- FORM/ --*/
form { margin:0; padding:0; border:0; font-size:100%; vertical-align:middle; background:transparent; }
form label { vertical-align:middle; }

select, input, textarea, button { width:auto; max-width:100%; -webkit-appearance:none; vertical-align:middle; position:relative; line-height:1.5; font-size:1.2rem; margin:0 5px 0 0; padding:0.15rem 0.5rem; border:1px solid #666; box-shadow:none; z-index:0; box-sizing:border-box; border-radius: 0.25rem; background: rgba(255,255,255,0.5); }
input[type="text"] { margin:0 0.25rem 0 0; }
input.long { width:100%; margin:0; position:relative; }
button, a.btn, input[type="button"], input[type="submit"] { display:inline-block !important; vertical-align:middle; -webkit-appearance:none; overflow:visible; width:auto; min-width:10rem; line-height:1.6rem; letter-spacing:0.1rem; margin:0.5rem 0.25rem 0.5rem 0; border:none; color:#fff !important; position:relative; text-decoration:none; text-align:center; transition:all .2s; box-sizing:border-box; cursor:pointer; border-radius: 0.25rem; padding:0.5rem 2rem; background:#125;}
input::placeholder, textarea::placeholder { color:#777; }

.b_back { display:inline-block; -webkit-appearance:none; overflow:visible; width:auto; background:#ff8e65; position:relative; padding:10px 20px 10px 40px; height:50px; line-height:30px; font-size:1.2rem; letter-spacing:0; margin:10px; border:none; color:#567 !important; border-radius:3px; box-sizing:border-box; }
.b_back::after { content:""; position:absolute; display:inline-block; left:10px; top:18px; width:10px; height:10px; border-top:2px solid #567; border-right:2px solid #567; transform:rotate(45deg); box-sizing:border-box; }

button:hover, a.btn:hover, input[type="button"]:hover, input[type="submit"]:hover { text-decoration:none; filter: brightness(85%); color:#fff; }

button[disabled], a.btn[disabled], .button[disabled], input[type="button"][disabled], input[type="submit"][disabled],
button[disabled]:hover, a.btn[disabled]:hover, .button[disabled]:hover, input[type="button"][disabled]:hover, input[type="submit"][disabled]:hover { background:#eee; border:none; color:#fff; opacity:1.0; cursor:default; position:relative; }

a.btn { padding-right:2rem; position: relative; }
a.btn[target='_blank']::after { right:-1rem; visibility: hidden; }

button.mini, .button.mini { min-width:0; }
input:focus, select:focus, textarea:focus { outline:none; box-shadow:0 0 3px rgba(255,111,63,1); border:1px solid #125;}

input.button { width:15rem; display:flex; align-items: center; justify-content:center; text-align: center; text-decoration:none; position: relative; white-space: nowrap; margin: 0 auto; padding:0.5rem 2rem; background:#125 url("../img/arrow_rw.svg") right 0.75rem center /1.25rem no-repeat; color: #fff; border-radius:0.25rem; }
input.button:hover { background:#125 url("../img/arrow_rw.svg") right 0.75rem center /40px no-repeat; }




/*-- Radio and Checkbox/ --*/
input[type="radio"], input[type="checkbox"] { margin:0 0.25rem 0 0; width:1.25rem; height:1.25rem; display:none; }
input[type="radio"] + span, input[type="checkbox"] + span { padding-left:1.5rem; position:relative; margin-right:1rem; display:inline-block; white-space:nowrap; min-height: 1.35rem; }
input[type="radio"] + span::before{ content:""; display:block; position:absolute; top:calc(50% - 0.6rem); left:0; width:1.2rem; height:1.2rem; border:1px solid #567; border-radius:50%; z-index:5; margin-right:0.25rem; box-sizing:border-box; }
input[type="radio"] + span::after{ content:""; display:block; position:absolute; top:calc(50% - 0.1rem);; left:0.5rem ; width:0.2rem; height:0.2rem; background:#125; border-radius:50%; z-index:10; transition:0.25s; opacity:0; }
input[type="radio"]:checked + span, input[type="checkbox"]:checked + span { color:#125; }
input[type="radio"]:checked + span::before { border:1px solid #125; }
input[type="radio"]:checked + span::after{ content:""; display:block; position:absolute; top:calc(50% - 0.4rem); left:calc(0.25rem - 1px); width:0.8rem; height:0.8rem; background:#125; border-radius:50%; z-index:10; transition:0.25s; opacity:1; }
input[type="checkbox"] + span::before { content:""; display:block; position:absolute; top:calc(50% - 0.6rem); left:0; width:1.2rem; height:1.2rem; border:1px solid #666; border-radius:0.25rem; margin-right:0.25rem; box-sizing:border-box; }
input[type="checkbox"]:checked + span::after { content:""; display:block; position:absolute; top:calc(50% - 0.9rem); left:0.5rem; width:0.5rem; height:1.2rem; transform:rotate(40deg); border-bottom:2px solid #125; border-right:2px solid #125; box-sizing:border-box; }

input[type="checkbox"] + span:empty { margin: 0; padding: 0; }

button.i_delete { min-width:0 !important; }
button.i_delete::before { display:none; }

/*-- SELECT/ --*/
select { -webkit-appearance:none; -moz-appearance:none; position:relative; z-index:auto !important; text-align:left; background: rgba(255,255,255,0.5) url(../img/i_pulldown.svg) right center /24px no-repeat; border:1px solid #666; padding:0.25rem 2rem 0.25rem 0.5rem; margin:0 2px 0 0; box-sizing:border-box; display:none; display:inline-block; border-radius: 0.25rem; color:#567;}
select:disabled, select.disabled { border:1px solid rgba(0,0,0,0.2); color:rgba(0,0,0,0.2); color:silver; background:none; z-index:auto; }

/*.error, .required, .alert { color:#c35; }*/
div.error { background:rgba(238,102,102, 0.1); padding:0 0.5rem; margin:0; color:#c35; }
span.error { background:rgba(238,102,102, 0.1); padding:0 0.5rem; color:#c35; display:block; }

td.error input[type="text"], 
td.error textarea,
td.error select,
td.error label { border:1px solid #c35; color:#567; border-radius: 0.25rem; }
td.error label { padding: 0.25rem; }

td.error input:focus, td.error select:focus, td.error textarea:focus { outline:none; box-shadow:0 0 3px rgba(238,102,102, 1); border:1px solid #c35;}

.example { color:#777; white-space:nowrap; }


.hissu { display: inline-block; background:#c35; color:#fff; font-size:0.7rem; padding:0.1rem 0.25rem; vertical-align: middle; position: relative; margin:-0.1rem 0.25rem 0.25rem 0; border-radius: 0.25rem; line-height:1.5; }
.hissu::before { content:"必須";}
.ninni {display: inline-block; background:rgba(34,34,34,0.3); color:#fff; font-size:0.7rem; padding:0.1rem 0.25rem; vertical-align: middle; position: relative; margin:-0.1rem 0.25rem 0.25rem 0; border-radius: 0.25rem; line-height:1.5; }
.ninni::before { content:"任意";}

.notice { background: rgba(17,34,85,0.03); padding: 1rem 1.5rem; /*border-radius:clamp(0.5rem,1.6vw,1rem);*/ }
.notice.red_box { background: rgba(204,51,85,0.05);}
.notice.pink_box {background: rgba(251,246,249,0.9); }
.notice.green_box { background: rgba(243,249,246,0.9); }
.notice.blue_box { background: rgba(243,251,255,0.9); }
.bg01 .notice { background: #fff; box-shadow:0 1rem 0.5rem -0.75rem rgba(34,34,34,0.05); }
.bg01 .grade { text-shadow: 0 0.5rem 0.5rem rgba(34,34,34,0.05);}


/*--CONTACT--*/
body.contact .tab_menu,
body.contact .f_title,
body.contact .corp { display:none; }

.wpcf7 form .wpcf7-response-output { margin: 1rem 0 0; padding: 0.5rem 1rem; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); }
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output { color: #c35; background-color: #f9e3e9 !important; border:none !important; }
.wpcf7 form.sent .wpcf7-response-output { color: #3A87AD; background-color: #E1F5FE !important; border:none !important; }
.wpcf7 form .wpcf7-not-valid { background:#f9e3e9; }
.wpcf7 form .wpcf7-not-valid-tip { color:#c35; }
.wpcf7 form .wpcf7-spinner { display:block; margin:auto; }
form.wpcf7-form > br:first-of-type { display:none; }
.wpcf7-list-item { margin:0; }
.wpcf7-form-control-wrap { display:inline-block; width:100%;}
.wpcf7-form-control-wrap input, .wpcf7-form-control-wrap textarea { width:100%;}

/*--Privacy Policy--*/
.pp_box { text-align: left; max-height:400px; overflow-y: auto; padding: 1.5rem; border:1px solid #567; line-height:1.7; }
.pp_box ol { /*padding-left:1.5rem;*/ }

.grecaptcha-badge { opacity:0; }

.invisible { display: none; transition:0.5s ease; }


.w100 { width: 100%; margin-right:0 !important; margin-left:0 !important; }

.w95 { width: 95%; }
.w90 { width: 90%; }

.w85 { width: 85%; }
.w80 { width: 80%; }

.w75 { width: 75%; }
.w70 { width: 70%; }

.w69 { width: 69%; }
.w68 { width: 68%; }
.w67 { width: 67%; }
.w66 { width: 66%; }
.w65 { width: 65%; }
.w64 { width: 64%; }
.w63 { width: 63%; }
.w62 { width: 62%; }
.w61 { width: 61%; }
.w60 { width: 60%; }

.w59 { width: 59%; }
.w58 { width: 58%; }
.w57 { width: 57%; }
.w56 { width: 56%; }
.w55 { width: 55%; }
.w54 { width: 54%; }
.w53 { width: 53%; }
.w52 { width: 52%; }
.w51 { width: 51%; }
.w50 { width: 50%; }

.w49 { width: 49%; }
.w48 { width: 48%; }
.w47 { width: 47%; }
.w46 { width: 46%; }
.w45 { width: 45%; }
.w44 { width: 44%; }
.w43 { width: 43%; }
.w42 { width: 42%; }
.w41 { width: 41%; }
.w40 { width: 40%; }

.w39 { width: 39%; }
.w38 { width: 38%; }
.w37 { width: 37%; }
.w36 { width: 36%; }
.w35 { width: 35%; }
.w34 { width: 34%; }
.w33 { width: 33%; }
.w32 { width: 32%; }
.w31 { width: 31%; }
.w30 { width: 30%; }

.w29 { width: 29%; }
.w28 { width: 28%; }
.w27 { width: 27%; }
.w26 { width: 26%; }
.w25 { width: 25%; }
.w24 { width: 24%; }
.w23 { width: 23%; }
.w22 { width: 22%; }
.w21 { width: 21%; }
.w20 { width: 20%; }

.w19 { width: 19%; }
.w18 { width: 18%; }
.w17 { width: 17%; }
.w16 { width: 16%; }
.w15 { width: 15%; }
.w14 { width: 14%; }
.w13 { width: 13%; }
.w12 { width: 12%; }
.w11 { width: 11%; }
.w10 { width: 10%; }

.w9 { width: 9%; }
.w8 { width: 8%; }
.w7 { width: 7%; }
.w6 { width: 6%; }
.w5 { width: 5%; }
.w4 { width: 4%; }
.w3 { width: 3%; }
.w2 { width: 2%; }
.w1 { width: 1%; }
.w0 { width: 0%; }


input.w75 { min-width:15rem; }
input.w50 { min-width:10rem; }
input.w33 { min-width:6.5rem; }
input.w25 { min-width:5rem; }
input.w20 { min-width:4rem; }
input.w10 { min-width:2rem; }
input.w5 { min-width:1rem; }


.r04 { border-radius:0.25rem; }
.r08 { border-radius:0.5rem; }
.r16 { border-radius:1rem; }



/*-- LIST/ --*/
ol { margin:0 0 2rem 0; padding:0 0 0 1.5rem; }
ol::marker { }
ol li{ padding:0; }
.value { background:#567; vertical-align:middle; display:inline-block; width:1.6rem; line-height:1.6rem; font-size:1rem; font-weight:bolder; text-align:center; border-radius:50%; color:#fff; margin:-0.3rem 0.4rem 0 0; }
ol li ol.kakko { }
ol li ol.kakko li { list-style: none; position: relative; margin-left: 1.5rem; }
ol li ol.kakko li::before { content: attr(value)')'; counter-increment: li; position: absolute; top: 0; left: -1.5rem; }

ul li::marker { color:#125; } 

ul.marker { list-style:disc; margin:0; padding-left:1rem; }
ul.marker li::marker { color:rgba(34,34,34, 0.3); }

ul.li_half { display:flex; flex-flow:row wrap; justify-content:space-between; }
ul.li_half li { width:calc((100% - 2rem)/2);}

ol.faq { counter-reset:q; list-style:none; margin:0; padding:0; }
ol.faq >li::before { counter-increment:q; content:'Q'counter(q); content:'Q'attr(value); background:#f77; vertical-align:middle; display:inline-block; width:2.4rem; height:2.4rem; line-height:2.2rem; font-weight:bold; text-align:center; border-radius:50%; color:#fff; margin:0 0.4rem 0 -2.4rem; }
ol.faq >li { margin-bottom:1rem; }
ol.faq .a { padding:0.5rem 0 0.5rem 0.4rem; }
ol.faq .a h4 { display:inline-block; width:2.4rem; height:2.4rem; line-height:2.2rem; font-weight:bold; text-align:center; border-radius:50%; margin:0 0.4rem 0 -2.8rem; }
ol.faq li ol { display:inline-block; vertical-align:top; }
ol.faq >li h6.i_close { color:#e70; }

ol.val > li::before { content:attr(value); background:#001A43; vertical-align:middle; display:inline-block; width:1.6rem; line-height:1.6rem; letter-spacing:normal; font-size:0.8rem; font-weight:bold; text-align:center; border-radius:50%; color:#fff; margin:-0.3rem 0.4rem 0 -2rem; position:relative; }

ul.kome { list-style: none; padding:0; }
ul.kome li { display: block; margin-left:1rem; }
ul.kome li::before { content:"※"; margin:0 0 0 -1rem; }



/*-- TABLE/ --*/
caption { text-align:left; margin-bottom:10px; }

table { border-collapse:collapse; width:100%; margin:0 0 2rem 0; }
table th, table td { padding:clamp(0.5rem, 1.6vw, 1rem); letter-spacing:0.05rem; line-height:1.6; }

.table01 { border-bottom:1px dashed rgba(0, 38, 33, 0.1); }
.table01 th, .table01 td { border-top:1px dashed rgba(0,0,0,0.1); }
.table01 thead th { }
.table01 th {text-align:left; }
.table01 td { }

.table02 { border-bottom:1px solid rgba(0,0,0,0.15); }
.table02 th, .table02 td { border-top:1px solid rgba(0,0,0,0.15); }
.table02 thead th, .table02 thead td, .deco-tb thead th, .deco-tb thead td { background:rgba(255,255,255,0.05); }
.table02 th { text-align:left; background:rgba(255,255,255,0.05); vertical-align:top; font-weight:500; }
.table02 td { }
.table02 th.tr, .table02 td.tr { width:auto; text-align: right;}

.table03 { background:rgba(255,255,255,0.5); border-spacing: 0; border:1px solid rgba(0,0,0,0.1); }
.table03 th, .table03 td { border-right:1px dashed rgba(0,0,0,0.1); border-bottom:1px solid rgba(0,0,0,0.1); vertical-align: top; }
.table03 thead th { background:rgba(17,34,85,0.03); /*backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);*/ }
.table03 thead td { background:rgba(0,0,0,0.05); /*backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);*/ }
.table03 tbody tr:last-of-type th, .table03 tbody tr:last-of-type td { border-bottom: none; }
.table03 tbody th { text-align:left; border-bottom:1px solid rgba(0,0,0,0.1); background:rgba(17,34,85,0.01); color:#567; }
.table03 tbody td { letter-spacing:normal; }

.table03 th.vm, .table03 td.vm, .table03 tr.vm th, .table03 tr.vm td { vertical-align: middle; }



/*-- TABLE ヘッダ・カラム固定 --*/
thead tr[class*="fixed-header-"] th { position:sticky; z-index:2; white-space: nowrap; border:1px solid #ddd; }
thead tr[class*="fixed-header-"] th[class*="fixed-column-"] { z-index:3; }
tbody th[class*="fixed-column-"], tbody td[class*="fixed-column-"] { background:#fff; position: -webkit-sticky; position: sticky; z-index:1; border:1px solid #ddd; }

table.number {}
table.number td { text-align: right; }

.l_double { border-top:3px double rgba(0,0,0,0.1) !important; }
.l_dashed th, .l_dashed td { border-top:1px dashed rgba(0,0,0,0.1) !important; }
th p, td p { /*margin:0;*/ }

.l_total th, .l_total td { padding:1px; }

table.fixed_column { background:#fff; }
.fixed01{ position: sticky; left: 0; background: rgba(255,255,255,0.95); border-collapse:separate; }
.fixed01:before{ content: ""; position: absolute; top: -1px; left: -1px; width:calc(100% + 2px); height:100%; border-top:1px solid rgba(0,0,0,0.1); border-left:1px solid rgba(0,0,0,0.1); border-right:1px dashed #e5e5e5; }
tr.l_double th.fixed01 { border-top:3px double rgba(0,0,0,0.1) !important; }
.table02 thead th.fixed01, .table03 thead th.fixed01 { background:#f2faf5; }


/*-- 幅の広いテーブルにスクロール表示 --*/
.scroll { overflow:auto; max-width:calc(100vw - 2rem); position: relative; }
.scroll::-webkit-scrollbar { height:6px;}
.scroll::-webkit-scrollbar-track { background:rgba(0,0,0,0); }
.scroll::-webkit-scrollbar-thumb { background:rgba(34,34,34,1); background: #bbb; border-radius:3px; opacity: 0.5; }
.scroll::-webkit-scrollbar-thumb:hover { background:rgba(34,34,34,1); background: #bbb; border-radius:3px; opacity: 0.5; }

.scroll table th, .scroll table td { /*white-space:nowrap;*/ }
/*.scroll::before { content:"→ 横スクロールしてご確認ください。"; display: block; font-size:0.8rem; margin-bottom:0.5rem;}*/


.aligncenter {display:block; margin:0 auto; }
.alignright { float:right; margin:0 0 1.5rem 1.5rem; position:relative; z-index:1; max-width:360px; }
.alignleft { float:left; margin:0 1.5rem 1.5rem 0; position:relative; z-index:1; max-width:360px; }
img[class*="wp-image-"],
img[class*="attachment-"] { max-width:100%; height:auto; }
img.alignright, img.alignleft { max-width:40%; }


.flex.full_l .text { width:56%; order:2; }
.flex.full_r .text { width:56%; order:1; }
.flex.full_l .photo { width:40%; order:1; position:relative; }
.flex.full_r .photo { width:40%; order:2; position:relative; }



#colorbox.teacher { width:100% !important; height:100% !important; max-width:58rem !important; min-height:300px; max-height: 85vh !important; top:50% !important; left: 50% !important; transform: translate(-50%,-50%); }
#colorbox.teacher #cboxWrapper { width:100% !important; height:100% !important; max-width:58rem !important; min-height:300px; max-height: 85vh !important; overflow: visible; }
#colorbox.teacher #cboxContent, #colorbox.alert #cboxLoadedContent, #colorbox.alert #cboxIframe { height:calc(100% - 3rem) !important; max-width:56rem !important; ; min-height:calc(300px - 3rem); max-height:calc(85vh - 3rem) !important; }
#colorbox.teacher #cboxContent { width:calc(100% - 2rem) !important; }
#colorbox.teacher #cboxLoadedContent, #colorbox.alert #cboxIframe { width:100% !important; margin: 0; height:calc(85vh - 3rem) !important; min-height:calc(300px - 3rem); max-height:calc(85vh - 3rem) !important; }
#colorbox.teacher #cboxMiddleLeft { height: 0 !important; }

#colorbox.img #cboxLoadedContent { padding: 1rem; background:#fff; height: auto !important; max-width:96vw; }
#colorbox.img #cboxLoadedContent img { width: 100% !important; height: auto !important; }

body.modal { border: none; }
body.modal .article { padding:1.5rem; display: block; }
body.modal .alignright { float: right; width:25vw; }
body.modal .text_area { padding:5vw; margin: 0 auto; }
body.modal h2 { line-height: 1.5; }
body.modal h2::after { display:none; }
body.modal h2 span.title { display: block; font-size: 1rem; margin-bottom:0.75rem; }
body.modal h2 rt { font-size: 0.75rem; margin-bottom:0.15rem }



/*--PAGENATION--*/
.pagination-holder { margin:0 auto 4rem auto; }

#page-1 { display:flex; }
.cnation-holder { width:100%; padding-top:4rem; }
.simple-pagination { display: block; overflow: hidden; padding: 0; margin: 0;}
.simple-pagination ul { list-style: none; padding:0; margin:0; display:flex; flex-flow:row wrap; justify-content:center;}
.simple-pagination ul li { padding:0.25rem; margin:0;}
.simple-pagination ul li a { display:block; background:#fff; }
span.ellipse.clickable { cursor: pointer; }
.ellipse input { width: 3em; }

.light-theme a, .light-theme span { cursor:pointer; display:block; text-align:center; color: #567; font-size:0.9rem; line-height:calc(2.5rem - 2px); font-weight: normal; letter-spacing:normal; border:1px solid #567; min-width: 2.5rem; height:2.5rem; padding:0 0.5rem; margin: 0; background:#fff; }
.light-theme a:hover, .light-theme li:not(.disabled):not(.active) span:hover { text-decoration: none; background: #FCFCFC; }
.light-theme .current { background: #567; color: #FFF; border-color: #567; cursor: default; }
.light-theme .ellipse { background: none; border: none; box-shadow: none; font-weight: bold; cursor: default; }
.light-theme .prev, .light-theme .next { background:#fff; padding: 0 0.75rem; color: #567; }
.light-theme .prev { border-radius: 2rem 0 0 2rem; }
.light-theme .next { border-radius: 0 2rem 2rem 0; }
.light-theme .disabled .prev, .light-theme .disabled .next { opacity:0.25; }


.bg01 { position: relative; display:flex; flex-flow:row wrap; justify-content:space-between; width:100%; padding:0; right:0; }

.material-icons { vertical-align: middle; }



.note { /*background: #eef5e7;*/ background: rgba(0,136,102,0.05); padding:1rem; }
.bg_blue { background: rgba(30,80,162,0.2); }
.bg_orange { background: rgba(241,141,95,0.2); }
.bg_red { background: rgba(190,52,85,0.2); }


noprint { pointer-events: none; }


.material-symbols-outlined { vertical-align: middle; margin:-0.15rem 0.1rem 0 0; font-size: inherit; }
.f_ll .material-symbols-outlined { font-size:clamp(1.5rem, 3.2vw, 2rem); margin-top:-0.4rem; }

video { vertical-align: bottom; }

/*タブ*/
.tab { display: flex; flex-flow:row nowrap; margin:0; padding:0 1rem; position: relative; z-index: 0; }
.tab li { position: relative; z-index: 10; padding:clamp(0.5rem, 1.2vw, 0.75rem) clamp(1rem, 2.4vw, 1.5rem); text-decoration:none; line-height: 1.25; white-space: nowrap; cursor: pointer; border:1.5px solid rgba(0,0,0,0); border-bottom:none; margin-bottom:-1px; margin-right:clamp(0.5rem,1.6vw,1rem); background:rgba(0,0,0,0.05); }
.tab li span.f_ll { font-size: clamp(1.5rem, 3.2vw, 2rem); letter-spacing:0.25rem; }
.tab li.select { border-color: #567; /* border-color:rgba(143,194,31,1); color: #125;*/ background: none; }


.tab_content { overflow:hidden; padding:0; margin:0; list-style:none !important; transition:0.5s; }
.tab_content > li { padding:1rem 0; margin:0; display:none; }
.tab_content > li.is_show { display:block; }


.site_preview { background: rgba(99,85,161,0.15); padding:1.5rem 1rem; justify-content: space-around; margin: 0 -1.5rem; }
.site_preview div { border-radius:clamp(0.5rem, 1.6vw, 1rem); overflow: hidden; }



.greeting_photo { max-width:15rem;}

/*流れ*/
ul.flow_box {}
ul.flow_box > li { display: flex; flex-flow: row wrap; align-items: flex-start; position: relative; padding-left: 1.75rem; padding-bottom:clamp(0.5rem,1.6vw,1rem); }
ul.flow_box > li::after { content: ""; height:100%; position: absolute; left:calc(0.625rem - 2px); top:0.5rem; border-left: 4px dotted rgba(17,34,85,0.3); z-index: 1; }
ul.flow_box > li h4 { }
ul.flow_box > li::before { content: ""; width: 1.25rem; height: 1.25rem; position: absolute; left:0; top:0.4rem; border-radius: 4rem; background:#125; z-index: 10; }
ul.flow_box > li .w70, ul.flow_box > li .w75, ul.flow_box > li .w80 {  padding-bottom:clamp(1rem,3vw,2rem); border-bottom:1px dashed #ccc; }
ul.flow_box > li:last-of-type::after { display: none; }


/*--スタッフ紹介--*/
.staff_box h4, .staff_box h4 a { color:#125; margin-bottom:0.75rem; }
.staff_box h4 a { color:#125; }
.staff_box h4 + p { font-size:clamp(0.8125rem,1.5vw,0.9rem);}
.staff_box .insert-page { display:flex; flex-flow:row wrap; line-height:1.7; justify-content:flex-start; }
.staff_box .insert-page .w50,
.staff_box .insert-page .w33,
.staff_box .insert-page .w25 {padding: 0 2% 2rem 2%; }
.staff_box .insert-page .LCR_box { width:33%; }
.staff_box .insert-page p { margin-bottom:0; }
.staff_box .photo { margin-right:auto;}
.staff_box ul { margin-bottom:0.5rem; }

body.staff {}
.position { display:block; font-size:clamp(0.8125rem,1.4vw,0.875rem); line-height:1.5; letter-spacing:0.04rem; color:#125; letter-spacing:normal; }
h4 .ruby { display:block; font-size:clamp(0.75rem,1.4vw,0.8175rem); letter-spacing:0.04rem; color:rgba(17,34,85,0.5); mix-blend-mode:multiply; margin-top:0.25rem; }
ul.staff { list-style:none; margin:0; padding:0; }
ul.staff li { display:inline-block; vertical-align:top; width:20%; letter-spacing:normal; padding:1%; box-sizing:border-box; }
ul.staff li p { line-height:1.5;}


body.temp .article::after { content:""; position:absolute; top:clamp(-25rem,-30vw,-10rem); right:-12vw; display:block; z-index:-100; mix-blend-mode:multiply; border-radius:50%; width:clamp(20rem,60vw,50rem); height:clamp(20rem,60vw,50rem);}
body.page-about .article::after {  background:radial-gradient(rgba(153,0,106,0.02) 50%, rgba(153,0,106,0) 70%); }
body.page-dx .article::after { background:radial-gradient(rgba(187,221,204,0.1) 50%, rgba(187,221,204,0) 70%); border-radius:50%; }
body.page-for_medical .article::after { background:radial-gradient(rgba(204,238,255,0.1) 50%, rgba(204,238,255,0) 70%); border-radius:50%; }
body.archive .article::after, body.single .article::after, body.page-access .article::after { background:radial-gradient(rgba(255,238,221,0.2) 50%, rgba(255,238,221,0) 70%); border-radius:50%; }




#wpadminbar #adminbarsearch { display:none !important;}

.hm > ul > li.hm_ig, .fm_ig { display:none; }




@media screen and (max-width:1280px) {
body.temp h3.page_title::before { display:none; }
.header .tel_box { display:none; }
.main .tel_box { display:block; }

}


@media print, screen and (max-width:960px) {

.pc_no { display:block; }
br.pc_no, span.pc_no { display:inline; }
.sp_no, br.sp_no { display:none; }
span.sp_no { display:none; }
	
.img_pc { display:none; }
.img_sp { display:block; }

.anchor { height:9.5rem; margin-top:-9.5rem; }
body.logged-in .anchor {  height:calc(9.5rem + 32px); margin-top:calc(-9.5rem - 32px);}	
.sticky { top:9.5rem; }
body.logged-in .sticky { top:calc(9.5rem + 32px);}



body.top .article { padding:0 5vw; }
body.temp .article { padding:0 5vw; }
body.temp .article::before { }

.header { padding:0.75rem; min-height:4.5rem; }
.header .t_title, .header.bg .t_title, body.temp .t_title { width:80%; max-width:22rem; }
.header.bg { background: linear-gradient(to bottom, rgba(255,255,255,0.9) 50%,rgba(255,255,255,1) 90%,rgba(255,255,255,0) 100%); }
.header.bg::before, body.temp .header.bg::before { display:none; }
.header .tel { display: none; }

.hm { display:none; }
.um, body.logged-in .um { top:auto; bottom:0; left:0; right:0; background:#fff; box-shadow: 0 -1rem 0.5rem -0.75rem rgba(0,0,0,0.05);}
.um > ul { /*justify-content:flex-end;*/ padding:0.6rem 2rem 0.6rem 4rem; }
.um > ul > li > a { padding:0.75rem;}
.um > ul > li.um_access > a, .um > ul > li.um_contact > a { padding:0.5rem; }
.um > ul > li > a .material-symbols-outlined { display:block; margin:0; font-size:1.6rem; }
.um > ul > li > a .text { display:none; }

.sp_contact { display:flex;}

/*--MAIN--*/
.main .main_video { width:110%; margin-bottom:clamp(1rem,3vw,2rem);}
.copy_box .copy01 { margin-bottom:1.5rem;}
.main .copy_box .caption { padding-left:clamp(1.5rem,5vw,3rem);}
	
/*--SCROLLNAVI--*/
.scrollnav > li a:hover { margin-left: 0; background: none; padding-left: 2rem; }

.section .w85 { margin-bottom:0;}



/*--NEWS--*/
.news_box .title { display:flex; flex-flow:row nowrap; justify-content:space-between; align-items:center; }


/*--ABOUT/--*/
.about_box { align-items:flex-start; position:relative; z-index:100;  }
.about_box .photo { margin-left:-20vw; margin-right:-5vw; margin-top:-5vw; z-index:-1; }

	
/*DX*/
.dx_box { display:flex; flex-flow:column-reverse wrap; }
.dx_box::after { content:""; top:clamp(-10rem,-10vw,-5rem); }
.dx_box .photo { position:relative; aspect-ratio:2/1; margin-left:clamp(-3rem,-5vw,-1.5rem); margin-right:clamp(-3rem,-5vw,-1.5rem); z-index:-1; mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);}
/*.dx_box .photo::after { content:""; background:linear-gradient(to bottom, rgba(255,255,255,0) 60%, rgba(255,255,255,1) 100%); }*/
.dx_box .text { margin-top:clamp(-4rem,-6vw,-2rem); }

/*FOR MEDICAL*/
.medi_box::after { content:""; top:clamp(-10rem,-10vw,-5rem); }
.medi_box .photo { position:relative; aspect-ratio:2/1; margin-left:clamp(-3rem,-5vw,-1.5rem); margin-right:clamp(-3rem,-5vw,-1.5rem); z-index:-1; mask-image: linear-gradient(to bottom, #000 60%, transparent 100%); }
/*.medi_box .photo::after { content:""; background: linear-gradient(to bottom, rgba(255,255,255,0) 60%, rgba(255,255,255,1) 100%); }*/
.medi_box .text { margin-top:clamp(-4rem,-6vw,-2rem); }

/*FAQ*/
.faq_box .photo { display:none; }
.faq_box::after { left:auto; right:-15vw; }

	
ul.page-link { /*padding:0.5rem 0;*/ }
ul.page-link.bg { top:4.5rem; padding-right:0; margin-right:-5vw !important; width:calc(100% + 0.5rem + 5vw); }
ul.page-link li a { }
ul.page-link li a::before { top:0.8rem; }
body.logged-in .page-link.bg { top:calc(4.5rem + 32px);}
	
ul.sub_list li { display: inline-block; }

/*--INFO--*/
body.news .text_area, body.news .index_area, body.news .side { width:100%; position: relative; margin:0;}
body.news .side { width:100%; margin:0 auto; border-top:1px solid rgba(34, 34, 34, 0.1); padding-top:1rem; }

.hero h2.cate_title { padding:1rem 1.75rem 1rem calc(50vw - 50%); }

h3.page_title + .date { margin-top: -1rem; } 


.left_img { position: relative; left:10%; width:80%; }


/*-- INDEX --*/
ul.index_area { }
body.page ul.index_area { }

.index_box { width:50%; }
.index_box:nth-of-type(2n) { margin-right:0; }
.index_box:nth-of-type(3n) { margin-right:0; }
.index_box:nth-of-type(6n) { margin-right:0; }

.index_box .tag { display:flex; flex-flow:row wrap; justify-content:flex-end; padding:1rem 1rem 1rem 0.5rem; }
.index_box .tag span { background:#567; color:#fff; padding:0 0.25rem 0 0.45rem; margin-left:0.5rem; text-align:center; line-height:1.8; }


body.news .index_box, body.event .index_box { width:100%; padding:0; }
body.news .index_box a, body.event .index_box a { padding: 1rem 0; }
body.news .index_box .photo, body.event .index_box .photo { width:25vw; max-width:120px; margin-right:0.75rem; }

body.links .index_box { width:100%; }

body.edu .index_box, body.research .index_box { width: 33%; }

a.link::before, a span.link::before { top:0.6rem; }
.f_s a.link::before, .f_s a span.link::before { top:0.5rem; }
h5 a.link::before { top:0.7rem; }


.col2 { column-count:1; }
.col3 { column-count:2; }
.col4 { column-count:3; }
.resp_col2, .check_list.col2 { column-count:2 !important; }



/*WordPress*/
.aligncenter { display:block;margin: 0 auto; text-align: center; max-width:100%; }
.alignright { float:none; margin:0 auto 1rem auto; max-width:100%; }
.alignleft { float:none; margin:0 auto 1rem auto; max-width:100%; }
img[class*="wp-image-"],
img[class*="attachment-"] { max-width: 100%; height: auto; }
img.alignright, img.alignleft, .alignright img, .alignleft img { width:100%; max-width:100%; }
.alignright img, .alignleft img { margin: auto; }




.resp100 { width:100% !important; }
.resp95 { width:95% !important; }
.resp90 { width:90% !important; }
.resp85 { width:85% !important; }
.resp80 { width:80% !important; }
.resp75 { width:75% !important; }
.resp70 { width:70% !important; }
.resp65 { width:65% !important; }
.resp60 { width:60% !important; }
.resp55 { width:55% !important; }
.resp50 { width:50% !important; }
.resp48 { width:48% !important; }
.resp47 { width:47% !important; }
.resp45 { width:45% !important; }
.resp40 { width:40% !important; }
.resp35 { width:35% !important; }
.resp30 { width:30% !important; }
.resp25 { width:25% !important; }
.resp20 { width:20% !important; }
.resp15 { width:15% !important; }
.resp10 { width:10% !important; }

.resp66 { width:66.6% !important; }
.resp33 { width:33.3% !important; }
.resp49 { width:49% !important; }
.resp32 { width:32% !important; }

.resp_no { display: none; }
.resp_ma { margin:auto !important; }
.resp_column { flex-flow: column wrap; }

a.link, a span.link { padding:0.1rem 0.15rem 0.1rem 0.8rem;}

.m.link { padding:0.25rem 0 0.25rem 0.8rem; }


.notice { padding: 1rem; }



.table01:not(.noresp) th, .table02:not(.noresp) th,
.deco-tb:not(.noresp) th { display:inline-block; width:100%; padding:1rem 0 0 0; background:none; }
.table01:not(.noresp) td, .table02:not(.noresp) td,
.deco-tb:not(.noresp) td { display:inline-block; width:100%; border-top:none; padding:0.5rem 0; }

.deco-tb.noresp th, .deco-tb.noresp td { display: table-cell; width: auto; }

.scroll::before { content:"→ 横スクロールしてご確認ください。"; display: block; font-size:0.8rem; margin-bottom:0.5rem; }

.graph_box.drinking_scene img { width:1000px; min-width:1000px; margin-top:0.5rem; margin-bottom:1rem; }


body.modal .w25.resp50.resp_ma { width:25% !important; margin:0 !important; }
body.modal .w70.resp100 { width:70% !important; }


.resp10 h3 { writing-mode: vertical-rl; font-feature-settings:normal; margin-left:clamp(-0.75rem,-1.2vw,-0.5rem); }
	
	
}



@media screen and (max-width:782px) {
body.logged-in .header { top:46px; }
body.logged-in .sticky { top:calc(8.5rem + 46px); }
body.logged-in .page-link.bg { top:calc(4.5rem + 46px);}
}



@media screen and (max-width:640px) {
	
.sp_col2 { column-count:2; column-gap:1rem; }
.sp_col3 { column-count:3; column-gap:1rem; }
.sp_col4 { column-count:4; column-gap:1rem; }


br.sp_no2 { display:none; }
br.pc_no2 { display:inline; }
span.pc_no2 { display:block; }


.header::after { content:""; position:absolute; top:0; right:0; bottom:0; left:0; z-index:-1; background: linear-gradient(to bottom, rgba(255,255,255,0.8) 0%,/*rgba(255,255,255,0.8) 70%,*/rgba(255,255,255,0.5) 100%); /*backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);*/ }
	
	
/*--MAIN--*/
.main { position:relative; display: flex; flex-flow: column nowrap; align-items: center; justify-content: space-between; margin:0; padding:0; margin-top:-4.5rem; margin-top:0; margin-left:calc(50% - 50vw); margin-right:calc(50% - 50vw); }
.main .inner { top:0; right:0; left:0; width:120vw; height:68vw; max-height:100vw; }
.main .inner::after { content:""; display:block; position:absolute; top:0; left:-1px; right:-1px; bottom:-1px; background: radial-gradient(circle at 55% top, rgba(0,0,0,0) 67%, rgba(255,255,255,1) 71.5%); z-index:10; }
.main .inner::before { display:none; }
.copy_box { position:relative; top:-3rem; left:1.5rem; margin-bottom:0; }

		


/*--NEWS--*/
.news_box ul li a { padding: 0.75rem 0; }
.index_box { width: 100%; }

/*--FOOTER--*/
.fm ul { width:48%; }

	
table th, table td { padding:0.75rem 0.3rem; }

.navibar { margin:0 0 0.75rem 0; }

.h_contact li a span { display:none;}


.b_box { display:flex; flex-flow:column wrap; }
.b_box a { width:100%; }


.LR_box { width:100% !important; padding:0 0 1rem 0 ; }
.LCR_box, .LCR_box2 { width:100% !important; padding:0 0 2rem 0; margin:0; overflow:visible !important; }



.flex.full_r .text, .flex.full_l .text { width:100%;}
.flex.full_r, .flex.full_l { display: block; }
.flex.full_l .photo { width:60%; margin:0 auto 1rem auto; }
.flex.full_r .photo { width:60%; margin:0 auto 1rem auto; }

.flex.noresp .w32 { width:32%; }
.flex.noresp .w49 { width:49%; }
.flex.noresp .w50 { width:50%; }
.flex.noresp .w66 { width:66%; }

body.modal .w25.resp50.resp_ma { width:50% !important; margin: auto !important; }
body.modal .w70.resp100 { width:100% !important; }

.col2 { column-count:1; }
.col3 { column-count:1; }
.col4 { column-count:2; }
}


@media screen and (max-width:600px) {
#wpadminbar { position:fixed !important; }

/*--MAIN./--*/
.main { background:none; }
.main .copy { margin-right:2rem; display:none; }
.main .copy_box { padding-left:0; }
.main .copy_box .caption { padding:1rem 2%;}
.main .copy_sp { display:block; writing-mode: vertical-rl; position:absolute; right:3%; bottom:2%; text-align:right; }
.main .copy_sp span { background: linear-gradient(to bottom, rgba(255,190,0,0.2) 0%,rgba(255,115,68,0.2) 100%) left /40% 100% no-repeat; text-shadow:1px 1px 0 rgba(252,255,2555,0.9);}
}


@media screen and (max-width:480px) {
.section, body.temp .article > .inner { justify-content:space-between;}
.section .w85, body.temp .article > .inner .w85 { width:90%; margin-left:auto; margin-right:0; }
.section .title_box, body.temp .article > .inner .w10  { margin-left:-1%; }	


.info_box ul li a, body.info .index_box a { flex-flow:row wrap;  }
.info_box ul li a .date, body.info .index_box .date { width:100%; margin-bottom:0.25rem; }
	
.info_area .index_box a, body.archive .index_box a { flex-flow:row wrap; border:none;}
.info_area .index_box .cate, body.archive .index_box .cate { width:1rem; min-width:1rem; height:1rem; border-radius: 1rem; background:#057; margin:0.25rem auto 0.25rem 0.5rem;}
.info_area .index_box .title, body.archive .index_box .title { width:calc(100% - 1.5rem);}

	
.fm { display:none;}

.col2 { column-count:1; }
.col3 { column-count:1; }
.col4 { column-count:1; }
}





@media screen and (max-width:400px) {
.section .title_box, body.temp .article > .inner .w10  { margin-left:-2.5%; }	
}



@media print {
body { background: none; }
.fadeinUp_once, .fadeinDown_once { opacity: 1; transform: translate(0, 0); }
.main { margin: 0; }
.noprint { display: none; }
.header { position:sticky; top:0 !important; }
.hm { display:none !important;}
.text_area { width: 100%; max-width: 100%; }
.mean-bar { display: none; }
.article { padding: 0; }
h2.page_title::after { display: none; }

}