@charset "UTF-8"; /* RESET - ADAPTED FROM MEYER RESET URL - http://meyerweb.com/eric/tools/css/reset/ LICENSE - PUBLIC DOMAIN */ a, abbr, acronym, address, applet, article, aside, audio, b, big, blockquote, body, caption, canvas, center, cite, code,dd, del, details, dfn, dialog, div, dl, dt, em, embed, fieldset, figcaption, figure, form, footer, header, hgroup, h1, h2, h3, h4, h5, h6, html, i, iframe, img, ins, kbd, label, legend, li, mark, menu, nav, object, ol, output, p, pre, q, ruby, s, samp, section, main, small, span, strike, strong, sub, summary, sup, tt, table, tbody, tfoot, thead, time, tr, th, td,u, ul, var, video{font-family:inherit;font-size:100%;font-weight:inherit;font-style:inherit;vertical-align:baseline;margin:0;padding:0;border:0;outline:0;background:transparent;}textarea{font-family:inherit;font-size:100%;font-weight:inherit;font-style:inherit;vertical-align:baseline;margin:0;padding:0;background:transparent;} article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, main{display:block;}ol, ul{list-style:none;}blockquote, q{quotes:none;}table{border-collapse:collapse;border-spacing:0;}body{line-height:1;} /* YUI 3.14.1 (build 63049cb) Copyright 2013 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ body{font:13px/1.231 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small}select,input,button,textarea{font:99% arial,helvetica,clean,sans-serif}table{font-size:inherit;font:100%}pre,code,kbd,samp,tt{font-family:monospace;*font-size:108%;line-height:100%}#yui3-css-stamp.cssfonts{display:none} /*12 COLUMN :RESPONSIVE GRID SYSTEM DEVELOPER :DENIS LEBLANC URL :http://responsive.gs VERSION :3.0 LICENSE :GPL & MIT */ *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;} .container{width:100%; max-width:960px; margin:0 auto; padding:0 5%;} .container:after{content:"";display:table;clear:both;} @media(min-width:769px){ .container{width:960px; padding:0 20px;} } // COLOR @black:#000; @white:#FFF; @gray:#ccc; @grayD:#999; @grayL:#ddd; @grayLL:#eeedeb; @red:#a00; @yellow:#E2FF00; // LESS @ncc:no-repeat center center; // MIXIN .trans{-webkit-transition:0.3s; -moz-transition:0.3s; -o-transition:0.3s; -ms-transition:0.3s; transition:0.3s;} .fb{font-weight:700;} .tac{text-align:center;} .tar{text-align:right;} .tdn{text-decoration:none;} .tdu{text-decoration:underline;} .bgsc{-webkit-background-size:cover; -moz-background-size:cover; -ms-background-size:cover; -o-background-size:cover; background-size:cover;} .inline{display:-moz-inline-box; display:inline-block;} /*BASE*/ html,body{height:100%; width:100%; margin:0;} body{color:@black; line-height:1; -webkit-text-size-adjust:100%; font-weight:400; font-style:normal; font-feature-settings:"palt"; background:@white url("../img/bg/math.jpg") @ncc; .bgsc(); font-family:"Helvetica Neue",Helvetica,Roboto,"Droid Sans",Arial,Avenir,Verdana,"游ゴシック Medium","YuGothic M","游ゴシック体","YuGothic","Hiragino Kaku Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Sans","ヒラギノ角ゴシック","Meiryo UI","メイリオ",Meiryo,sans-serif;} img{max-width:100%; height:auto; vertical-align:middle;} /*CF*/ .cf:before,.cf:after{content:" ";display:table;}.cf:after{clear:both;}.cf{*zoom:1;} /*LETTER*/ strong{.fb()} .wf{font-family:"neue-haas-grotesk-display"; font-weight:600!important;} .midashi{} .attention{color:@red;} .fontsmall{font-size:85%!important;} .fontlarge{font-size:124%!important;} .italic{font-style:italic;} ::selection{background:@yellow; color:@white;} ::-moz-selection{background:@yellow; color:@white;} /*LINK*/ a:link{color:@black; .tdu(); .trans();} a:visited{color:@black; .tdu();} a:hover{color:@yellow; .tdu();} a:active{color:@black; .tdn();} a img{border:none; .tdn(); .trans();} a img:hover{opacity:0.6; .tdn();} /*SP NAV*/ button.spmenu{z-index:9991; position:fixed; top:30px; right:5%; height:22px; width:34px; background-color:transparent; border:none; cursor:pointer; outline:none; padding:0; appearance:none; span{z-index:9992; position:absolute; left:0; width:100%; height:2px; background-color:@black; .inline(); .trans();} span:nth-of-type(1){top:0px;} span:nth-of-type(2){top:10px;} span:nth-of-type(3){bottom:0px;} } button.spmenu.active{position:fixed; span{background-color:@white;} span:nth-of-type(1){-webkit-transform:translateY(10px) rotate(45deg); transform:translateY(10px) rotate(45deg);} span:nth-of-type(2){opacity:0;} span:nth-of-type(3){-webkit-transform:translateY(-10px) rotate(-45deg); transform:translateY(-10px) rotate(-45deg);} } div#spnav{z-index:9990; position:fixed; top:0; right:0; width:100%; height:100%; opacity:0; background:rgba(0,0,0,0.85); .trans(); overflow-y:auto; -webkit-overflow-scrolling:touch; visibility:hidden; } div#spnav.active{right:0; opacity:1; -moz-transform:translateX(0); -webkit-transform:translateX(0); transform:translateX(0); visibility:visible;} ul.mainnav{padding:75px 0 0; li{text-align:right; a{padding:15px 5%; display:block; font-size:15px; .fb(); letter-spacing:2px;} a:link{color:@white; .tdn();} a:visited{color:@white; .tdn();} a:hover{color:@yellow; .tdn();} a:active{color:@white; .tdn();} } } /*LAYOUT*/ main{position:relative; clear:both; display:block;} /*HEADER*/ header{z-index:200; position:fixed; top:0; left:0; padding:20px 0 0 20px; width:100%; h1{position:relative; width:260px;} } /*TOP KV*/ div.topteaser{position:relative; width:100%; height:100%; overflow:hidden; div.topkv{position:relative; width:100%; height:100%; overflow:hidden; } } div.topkvtxt{z-index:1; position:absolute; bottom:15%; right:5%; .fb(); h1{font-size:15px; line-height:2; letter-spacing:2px; margin:0 0 15px; text-align:right; span{display:none;} } h2{font-size:22px; letter-spacing:2px; text-align:right; display:none; span{border-bottom:1px solid @black; a:link{color:@black; .tdn();} a:visited{color:@black; .tdn();} a:hover{color:@gray; .tdn();} a:active{color:@black; .tdn();} } } } div.topkvtxt.start{ h1{ span:first-child{display:block; animation-name:motion; animation-duration:1.5s; animation-timing-function:ease-out; animation-delay:0.5s; animation-fill-mode:both; } span:nth-child(2){display:block; animation-name:motion; animation-duration:1.5s; animation-timing-function:ease-out; animation-delay:1.5s; animation-fill-mode:both; } span:last-child{display:block; animation-name:motion; animation-duration:1.5s; animation-timing-function:ease-out; animation-delay:2.5s; animation-fill-mode:both; } } h2{display:block; animation-name:motion; animation-duration:2.0s; animation-timing-function:ease-out; animation-delay:3.5s; animation-fill-mode:both; } } /*TOPBOX*/ div.topbox{background:rgba(255,255,255,0.4); padding:10% 5%; margin:0 0 15%; border:1px solid @gray; h2{font-size:220%; margin:0 0 5%; letter-spacing:2px; .tac();} h3{font-size:124%; margin:0 0 15%; color:@white; .tac(); .fb(); span{background:@black; padding:0 3px;} } h4{font-size:124%; margin:0 0 5%; .tac(); .fb();} p.intro{line-height:2; margin:0 0 15%;} } ul.dtmlist{ display:flex; -webkit-flex-flow:row wrap; flex-flow:row wrap; -webkit-justify-content:space-between; justify-content:space-between; -webkit-align-items:flex-start; align-items:flex-start; li{width:47.5%; white-space:nowrap; .tac(); section:first-child{width:70%; margin:0 auto 5%;} } } div.topinfo{background:rgba(255,255,255,0.4); padding:10% 5%; margin:0 0 15%; border:1px solid @gray; h2{font-size:220%; margin:0 0 5%; letter-spacing:2px; .tac();} h3{.fb(); line-height:1.8;} p{line-height:2;} } div.topnav{margin:0 0 10%; ul{ display:flex; -webkit-flex-flow:row wrap; flex-flow:row wrap; -webkit-justify-content:space-between; justify-content:space-between; -webkit-align-items:flex-start; align-items:flex-start; li{width:47.5%; margin:0 0 5%; white-space:nowrap; .tac(); background:url("../img/bg/nav.jpg") @ncc; .bgsc(); border-radius:6px; h3{font-size:124%; letter-spacing:1px; margin:0 0 10px; .wf();} p{font-size:85%; .fb();} a{display:block; padding:20px 0; border-radius:6px;} a:link{color:@white; .tdn(); .trans();} a:visited{color:@white; .tdn();} a:hover{color:@black; .tdn(); background:@yellow; } a:active{color:@white; .tdn();} } } } /*PAGE TTL*/ div.pagettl{padding:125px 0 100px; .tac(); h2{font-size:220%; margin:0 0 2.5%; letter-spacing:2px;} p{font-size:124%; color:@white; .fb(); span{background:@black; padding:0 3px;} } } /*PAGE*/ div.pagebody{margin:0 auto 15%; padding:10% 5% 0; background:rgba(255,255,255,0.4); border:1px solid @gray; article{ div.postbody{margin:0 0 10%; h3{font-size:169%; letter-spacing:2px; padding:0 0 5px; border-bottom:3px solid @black; .fb(); margin:0 0 5%;} h4{font-size:124%; line-height:2; margin:0 0 2.5%; .fb();} h4.nomb{margin:0;} img{display:block; margin:0 0 5%;} p{line-height:2; margin:0 0 5%;} p.borderbox{border:1px solid @grayD; padding:15px;} } } article.law{ div.postbody{ p{font-size:11px; img{width:100%; max-width:288px; margin:5px 0; vertical-align:middle;} img+img{margin:10px 0 5px;} } } } } div.halfbox{ div:first-child{margin:0 0 15%;} } /*BTN*/ div.linkbtn{width:100%; margin:0 auto; font-size:139%; .tac(); a{display:block; padding:20px 0 16px; border:3px solid @black;} a:link{color:@black; .tdn(); .trans();} a:visited{color:@black; .tdn();} a:hover{color:@white; .tdn(); background:@yellow; border:3px solid @yellow;} a:active{color:@white; .tdn();} } /*TABLE*/ table{width:100%; tr{width:100%; line-height:1.7; word-wrap:break-word; font-size:14px; th{padding:0 0 15px; width:100%; display:block; text-align:left; white-space:nowrap; .fb();} td{padding:0 0 30px; width:100%; display:block; word-wrap:break-word; p{font-size:85%; margin:0!important;} } } } /*CONTACT*/ table.mailform{ textarea{width:100%; padding:15px; font-size:16px; resize:vertical; background:@white; border:1px solid #888;} input{width:100%; padding:15px; font-size:16px;} input[type="radio"]{width:auto!important; vertical-align:text-top; padding:0; .inline();} select{width:100%; padding:10px;} input[type="submit"]{appearance:none; -webkit-appearance:none; cursor:pointer; outline:none;} button{appearance:none; -webkit-appearance:none; cursor:pointer; outline:none; border-radius:0;} } span.wpcf7-list-item{display:block; margin:0 0 18px; line-height:1; .fb();} input.soushin{width:100%; height:54px; line-height:54px; position:relative; -webkit-appearance:none; border-style:none; border:none; color:@white; font-size:16px; .inline(); .fb(); .tac(); .tdn(); background-color:@black; -webkit-transition:none; transition:none; cursor:pointer; border-radius:32px!important;} input.soushin:hover{background-color:@grayD;} input.soushin:active{background-color:@yellow;} img.ajax-loader{float:left; width:auto!important;} /*FOOTER*/ footer{position:relative; padding:5% 0; .tac(); div.footlink{margin:0 0 10px; a{font-size:85%;} } } /****************************************************/ /************************ PC ************************/ /****************************************************/ @media(min-width:769px){ html,body,header{min-width:1020px;} body{background-attachment:fixed;} .sp{display:none!important;} /*SP NAV*/ button.spmenu{right:45px; height:32px; width:42px; background-color:transparent; border:none; cursor:pointer; outline:none; padding:0; appearance:none; span:nth-of-type(1){top:0px;} span:nth-of-type(2){top:15px;} span:nth-of-type(3){bottom:0px;} } button.spmenu.active{ span:nth-of-type(1){-webkit-transform:translateY(15px) rotate(45deg); transform:translateY(15px) rotate(45deg);} span:nth-of-type(3){-webkit-transform:translateY(-15px) rotate(-45deg); transform:translateY(-15px) rotate(-45deg);} } div#spnav{width:30%;} ul.mainnav{padding:90px 5% 0 0; li{ a{font-size:18px; padding:20px 5%;} } } /*HEADER*/ header{padding:30px; h1{width:400px;} } /*TOP KV*/ div.topkvtxt{bottom:10%; h1{font-size:22px; line-height:2.2; letter-spacing:3px; margin:0 0 30px;} h2{font-size:30px; letter-spacing:4px;} } /*TOPBOX*/ div.topbox{padding:90px; margin:0 0 90px; h2{font-size:350%; margin:0 0 30px; letter-spacing:3px;} h3{font-size:162%; margin:0 0 60px; letter-spacing:1px; span{padding:0 5px;} } h4{font-size:162%; letter-spacing:3px; margin:0 0 30px;} h5{font-size:116%;} p.intro{font-size:124%; margin:0 0 60px;} } ul.dtmlist{width:60%; margin:0 auto; li{width:49%;} } div.topinfo{padding:60px; margin:0 0 90px; h2{font-size:270%; margin:0 0 30px; letter-spacing:3px;;} h3{font-size:116%; .fb(); line-height:1.8;} p{font-size:116%;} } div.topnav{margin:0 0 90px; ul{ li{width:31%; margin:0 0 3%; h3{font-size:162%; letter-spacing:2px; margin:0 0 15px;} p{font-size:100%;} a{display:block; padding:30px 0;} } } } /*PAGE TTL*/ div.pagettl{padding:225px 0 100px; h2{font-size:400%; margin:0 0 15px; letter-spacing:2px;} p{font-size:162%; letter-spacing:1px; span{padding:0 5px;} } } /*PAGE*/ div.pagebody{margin:0 auto 90px; padding:60px 60px 0; article{ div.postbody{margin:0 0 60px; h3{font-size:189%; letter-spacing:3px; padding:0 0 10px; margin:0 0 30px;} h4{font-size:139%; margin:0 0 15px;} img{width:80%; margin:0 auto 25px; display:block;} p{font-size:14px; margin:0 0 20px;} p{line-height:2; margin:0 0 5%; img{width:100%; max-width:360px; margin:8px 0;} img+img{margin:14px 0 8px;} } } } article.law{ div.postbody{ p{font-size:14px; img{width:100%; max-width:360px; margin:8px 0;} img+img{margin:14px 0 8px;} } } } } div.halfbox{ display:flex; -webkit-flex-flow:row nowrap; flex-flow:row nowrap; -webkit-justify-content:space-between; justify-content:space-between; -webkit-align-items:flex-start; align-items:flex-start; div{width:45%;} div:first-child{margin:0;} } /*TABLE*/ table{margin:0 auto; tr{ th{padding:20px 40px 20px 0; width:auto; display:table-cell;} td{padding:20px 0 20px 40px; width:auto; display:table-cell;} } } /*CONTACT*/ table.mailform{font-size:16px; tr{ th{vertical-align:top; width:24%; text-align:right;} td{width:76%;} } } span.wpcf7-list-item{font-size:18px; margin:0 0 15px;} input.soushin{width:380px; margin-left:calc(~'24% + 40px');} /*FOOTER*/ footer{padding:30px 0;} } /************************ SP ************************/ @media (max-width:768px){ .pc{display:none!important;} .spmb{margin-bottom:5%;} body{background:none;} body::before{ content:""; display:block; position:fixed; top:0; left:0; z-index:-1; width:100%; height:100vh; background-repeat:no-repeat; background-image:url("../img/bg/mathsp.jpg"); .bgsc(); } } /************************ VIDEO ************************/ div.video_box{position:relative; overflow:hidden; padding-bottom:56.25%; height:0;} div.video_box iframe,div.video_box object,div.video_box embed{position:absolute; top:0; left:0; width:100%; height:100%;} /************************ ANIM ************************/ @keyframes motion{ 0%{filter:opacity(0) blur(30px); transform:scale(1.2,1.2);} 100%{filter:opacity(100%) blur(0); transform:scale(1,1);} } @keyframes imgfade{ 0%{filter:opacity(0);} 100%{filter:opacity(100%);} } /*----------------------------------------------------- 6px = 46.1% 7px = 53.8% 8px = 61.5% 9px = 69.2% 10px = 77% 11px = 85% 12px = 93% 13px = 100% 14px = 108% 15px = 116% 16px = 123.1% 17px = 131% 18px = 138.5% 19px = 146.5% 20px = 153.9% 21px = 161.6% 22px = 167% 23px = 174% 24px = 182% 25px = 189% 26px = 197% ------------------------------------------------------*/