/*!
Theme Name: kan-yasuda-foundation Custom
Text Domain: kanyasudafoundation.co.jp
Version: 1.0
Requires at least: 6.1
Requires PHP: 8.1
Description:
Author: 3kg
Author URI:
Theme URI:
License:
License URI:
*/abbr,address,article,aside,audio,b,blockquote,body,canvas,caption,cite,code,dd,del,details,dfn,div,dl,dt,em,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,p,pre,q,samp,section,small,span,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,ul,var,video{margin:0;padding:0;border:0;outline:0;vertical-align:baseline;background:0 0}body{line-height:1;width:100%;min-height:100%;background:#fff}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}nav ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:0 0;transition:color .5s}ins{background-color:#ff9;color:#000;text-decoration:none}mark{background-color:#ff9;color:#000;font-style:italic;font-weight:700}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}input,select{vertical-align:middle}body *{min-height:0;min-width:0;box-sizing:border-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body :after,body :before{box-sizing:border-box}html{min-height:100%}body,table,td,th,tr{font-size:12px;color:#000;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,sans-serif;font-optical-sizing:auto;font-style:normal;font-variation-settings:"slnt" 0}body.lang-ja,body.lang-ja table,body.lang-ja td,body.lang-ja th,body.lang-ja tr{font-family:hiragino-kaku-gothic-pron,sans-serif;font-style:normal}a,a:link,a:visited{color:#000;text-decoration:none}a:active,a:hover{color:#969696;text-decoration:none}h1{font-size:2em;line-height:1.2em}h2{font-size:1.666em;line-height:1.2em}h3{font-size:1.333em;line-height:1.2em}p{font-size:1.166em;line-height:2.2em}p.note{color:#969696}#wrapper{min-width:360px}.lang-menu ul{list-style:none;display:flex;justify-content:center;align-items:center;margin:0 auto;font-size:1em;line-height:1.2em}.lang-menu ul:before{content:"";display:block;width:1.2em;height:1.2em;background:url(source/images/lang.png) 50% 50%/contain no-repeat}.lang-menu ul li{margin-left:.5em;display:flex;position:relative}.lang-menu ul li:not(:first-child){padding-left:.5em}.lang-menu ul li:not(:first-child):before{content:"";display:inline-block;width:1px;height:1em;background:#969696;position:absolute;left:0;top:50%;transform:translateY(-50%)}.lang-menu ul li.current-lang a,.lang-menu ul li.current-lang a:active,.lang-menu ul li.current-lang a:hover,.lang-menu ul li.current-lang a:link,.lang-menu ul li.current-lang a:visited{color:#969696;text-decoration:none}#header{padding:10px}#header .global{display:flex;justify-content:space-between;align-items:center;max-width:1400px;margin:0 auto}#header .site-id{max-width:230px;min-width:120px;width:30%}#header .site-id a,#header .site-id span{display:flex}#header .site-id img{max-width:100%;margin:5px}#header .site-id .menu{margin-left:auto}#header .menu{display:grid;gap:5px;grid-template-columns:1fr auto}#header .menu nav{grid-column:1/2;grid-row:1/2;display:flex;align-items:center}#header .menu nav ul{display:flex;align-items:center;margin-right:-8px}#header .menu nav ul li{position:relative}#header .menu nav ul li:not(:first-child):before{content:"";display:block;width:1px;height:1em;background:#969696;position:absolute;left:0;top:50%;transform:translateY(-50%)}#header .menu nav ul li a{display:inline-block;padding:3px .5em;margin:0 .3em;font-size:1em;line-height:1.2em}#header .menu .ext{grid-column:1/3;grid-row:2/3;display:flex;justify-content:flex-end}#header .menu .ext a.website{box-sizing:border-box;display:flex;align-items:center;justify-content:center;white-space:nowrap;font-size:.866em;line-height:1.2em;border:1px solid #000;padding:.2em .8em}#header .menu .ext a.website span{flex-shrink:0;flex-grow:0}#header .menu .ext a.website i{display:inline-block;flex-basis:.7em;flex-shrink:0;flex-grow:0;height:.7em;background:url(source/images/externallinks.png) 50% 50%/contain no-repeat;margin-left:.5em;transition:opacity .5s;opacity:1}#header .menu .lang-menu{grid-column:2/3;grid-row:1/2;display:flex;margin-left:10px}#footer{min-height:60px;display:flex;text-align:center;justify-content:center;padding:20px}#footer p{font-size:10px;color:#999}.video-container{width:100%;max-width:1000px;margin:0 auto}.video-container video{width:100%;height:auto}main.content{position:relative}main .post h1{font-size:2em;line-height:1.2em;text-align:center;padding:20px}main .post .post-content{min-height:calc(100vh - 240px);min-height:calc(100dvh - 220px);max-width:980px;margin:0 auto;padding:20px 0}main .post .post-content .ctrl{padding:40px 0;text-align:center}main .post .post-content .ctrl a.btn{display:inline-block;padding:.8em 1.5em;text-align:center;min-width:150px;border:0;border-radius:4px;font-size:1.166em;line-height:1.4em;cursor:pointer;transition:background-color .5s,color .5s}main .post .post-content .ctrl a.btn,main .post .post-content .ctrl a.btn:link,main .post .post-content .ctrl a.btn:visited{background:rgba(85,85,85,.5);color:#f2f2f2}main .post .post-content .ctrl a.btn:active,main .post .post-content .ctrl a.btn:hover{background:rgba(85,85,85,.8);color:#f2f2f2}body.home .post .post-content{padding:0;min-height:calc(100vh - 180px);min-height:calc(100dvh - 160px);display:flex;align-items:center;max-width:none}body.home .post .post-content .video-container{overflow:hidden}body.home .post .post-content .video-container video{transform:scale(1.2)}body.home .news{position:absolute;bottom:5vh;width:100%}body.home .news h2{text-align:center;margin-bottom:10px}body.home .news .inner{padding:0 20px;max-width:640px;margin:0 auto}body.home .news ul{list-style:none;display:flex;flex-direction:column;align-items:center;justify-content:center}body.home .news time{font-size:1em;line-height:1.4em;border-bottom:1px solid #e7e7e7;display:block;padding:5px 0}body.home .news p{padding:5px 0;line-height:1.4em}body.about .post{padding:0 20px}body.about .post .post-content table{width:100%}body.about .post .post-content table td,body.about .post .post-content table th{display:block;font-size:1.166em;line-height:1.8em;text-align:left;font-weight:400}body.about .post .post-content table th{padding-top:20px}body.about .post .post-content table td{padding-top:10px;padding-bottom:20px;border-bottom:1px solid #999}body.about .post .post-content table tr:first-of-type th{padding-top:0}body.about .post .post-content ol{margin-left:1.5em}body.about .post .post-content ol li:not(:first-of-type){margin-top:.5em}body.about .post .post-content ul.file-list{list-style:none;margin:0;padding:0}body.about .post .post-content ul.file-list li{font-size:12px}body.about .post .post-content ul.file-list li:not(:first-of-type){margin-top:.5em}body.about .post .post-content ul.file-list a{display:inline-block;padding:.5em 1.2em;min-width:20em;text-align:center;white-space:nowrap;transition:background-color .5s,color .5s;font-size:1em;line-height:1.2em;border-radius:1.6em}body.about .post .post-content ul.file-list a,body.about .post .post-content ul.file-list a:link,body.about .post .post-content ul.file-list a:visited{background-color:#646464;color:#fff}body.about .post .post-content ul.file-list a:active,body.about .post .post-content ul.file-list a:hover{background-color:#818181;color:#fff}body.contact section.contact-form dl div:not(:last-child){margin-bottom:15px}body.contact section.contact-form dl div dd{margin-top:5px}body.contact section.contact-form p{font-size:12px}body.contact section.contact-form p label{font-size:1.166em;color:#000}body.contact section.contact-form p label small{display:inline-block;margin-left:.3em;font-size:75%;color:#969696}body.contact section.contact-form input[type=email],body.contact section.contact-form input[type=tel],body.contact section.contact-form input[type=text],body.contact section.contact-form textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;padding:3px;border:1px solid #a1a1a1;border-radius:4px;font-size:1.166em;line-height:1.4em;background-color:#fff}body.contact .wpcf7-not-valid-tip{display:flex;align-items:center;margin-top:5px;font-size:1em}body.contact .wpcf7-not-valid-tip:before{content:"!";display:inline-block;width:1.2em;height:1.2em;line-height:1.2em;text-align:center;border-radius:.6em;background:#d54747;color:#fff;margin-right:.4em}body.contact label{font-size:1.166em}body.contact .wpcf7{padding:0 20px}body.contact .wpcf7 form{max-width:1200px;margin:0 auto;padding:20px 0}body.contact .wpcf7 form .contact-form{max-width:640px;margin:0 auto}body.contact .wpcf7 form .ctrl{margin-top:50px}body.contact .wpcf7 form .ctrl p{margin:0;padding:0;font-size:12px}body.contact .wpcf7 form .wpcf7-submit{display:block;margin:0 auto;padding:.8em 1.5em;text-align:center;min-width:150px;border:0;border-radius:4px;background:#555;color:#fff;font-size:1.166em;line-height:1.4em;cursor:pointer}body.contact .wpcf7 form .wpcf7-response-output{border:0;border-radius:3px;padding:15px;margin:0;font-size:1.166em;line-height:1.8em}body.contact .wpcf7 form.sent .wpcf7-response-output{background:#39694c;color:#fff}body.contact .wpcf7 form.invalid .wpcf7-response-output,body.contact .wpcf7 form.unaccepted .wpcf7-response-output{background:#d54747;color:#fff}body.contact .wpcf7 form.submitting .wpcf7-submit{display:none}body.contact .wpcf7 form.submitting .wpcf7-spinner{background:0 0;display:block;margin:0 auto;opacity:1}body.single .post{padding:0 20px}body.single .post h1{font-size:1.5em;line-height:1.2em;padding:20px 0}body.single .post a,body.single .post a:link,body.single .post a:visited{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:.5px;color:#000;text-decoration-color:#000}body.single .post a:active,body.single .post a:hover{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:.5px;color:#969696;text-decoration-color:#969696}body.single .post .back{text-align:center;padding:40px 20px}body.single .post .back a{font-size:1.166em;line-height:1.2em}body.single .post .back a,body.single .post .back a:active,body.single .post .back a:hover,body.single .post .back a:link,body.single .post .back a:visited{text-decoration:none}body.error404 .post .post-content{display:flex;align-items:center;text-align:center;justify-content:center}.grecaptcha-badge{display:none}body.contact .grecaptcha-badge{display:block}@media only screen and (min-width:992px){.lang-menu ul{font-size:1em;line-height:1.2em}#header{padding:20px}#header .global{align-items:flex-start}#header .site-id img{margin:15px}#header .menu{display:flex;flex-direction:row;align-items:center}#header .menu nav{margin-top:0}#header .menu nav ul{margin-right:15px}#header .menu nav ul li a{font-size:1.333em;line-height:1.2em}#header .menu .ext a.website{font-size:1em;line-height:1.2em;padding:.4em 1.2em}#header .menu .ext .lang-menu{margin-left:30px}#header .menu .ext .lang-menu ul{font-size:1em;line-height:1.2em}main .post h1{font-size:3em;line-height:1.2em;padding:20px 80px}main .post .post-content{padding:40px 0;min-height:calc(100vh - 310px);min-height:calc(100dvh - 290px)}main .post .post-content .ctrl{padding:100px 0}body.home .post .post-content{padding:0;min-height:calc(100vh - 220px);min-height:calc(100dvh - 200px);display:flex;align-items:center}body.home .news{position:relative;bottom:auto;margin:-50px 0 30px}body.about .post .post-content table td,body.about .post .post-content table th{font-size:1.333em;line-height:1.8em;display:table-cell;border-bottom:1px solid #999;padding:40px 0}body.about .post .post-content table th{min-width:15em;padding-right:2em;white-space:nowrap}body.about .post .post-content table tr:first-of-type th{padding-top:40px}body.about .post .post-content ol{margin-left:1.5em}body.about .post .post-content ol li:not(:first-of-type){margin-top:.5em}body.about .post .post-content ul.file-list{list-style:none;margin:0;padding:0}body.about .post .post-content ul.file-list li{font-size:12px}body.about .post .post-content ul.file-list li:not(:first-of-type){margin-top:.5em}body.about .post .post-content ul.file-list a{display:inline-block;padding:.5em 1.2em;min-width:20em;text-align:center;white-space:nowrap;transition:background-color .5s,color .5s;font-size:1em;line-height:1.2em;border-radius:1.6em}body.about .post .post-content ul.file-list a,body.about .post .post-content ul.file-list a:link,body.about .post .post-content ul.file-list a:visited{background-color:#646464;color:#fff}body.about .post .post-content ul.file-list a:active,body.about .post .post-content ul.file-list a:hover{background-color:#818181;color:#fff}body.single .post{padding:0 20px}body.single .post h1{font-size:1.833em;line-height:1.2em}}