@charset "utf-8";

/*  reset css
-----------------------------------------------------------------------------*/
/* http://meyerweb.com/eric/tools/css/reset/ 
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}

/* reset追記 */
*,*::before,*::after {
    box-sizing: border-box;
}
strong {
  font-weight: 700;
}
img {
  display: inline-block;
  max-width: 100%;
}
sup {
  position: relative;
	top: -0.1em; 
	font-size: 70%; 
	vertical-align: top;
}
sub {
  position: relative;
  top: 0.1em;
  font-size: 75.5%;
  vertical-align: bottom;
}

/* noto-sans-jp-regular - japanese_latin woff2のみ */
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 400;
  src: local('Noto Sans Japanese Regular'), local('NotoSansJapanese-Regular'),
       url('https://www.torus-i.co.jp/wp/wp-content/themes/torus/fonts/noto-sans-jp-v24-japanese_latin-regular.woff2') format('woff2');
}

/*  font-size調整
-----------------------------------------------------------------------------*/
html {	font-size: 12px;}
@media screen and (min-width:321px) {
html {	font-size: 12.5px;}
}
@media screen and (min-width:640px) {
html {	font-size: 13px;}
}
@media screen and (min-width:700px) {
html {	font-size: 13.5px;}
}
@media screen and (min-width:760px) {
html {	font-size: 14px;}
}
@media screen and (min-width:800px) {
html {	font-size: 14.5px;}
}
@media screen and (min-width:850px) {
html {	font-size: 15px;}
}
@media screen and (min-width:900px) {
html {	font-size: 15.5px;}
}
@media screen and (min-width:960px) {
html {	font-size: 16px;}
}

/*  basic
-----------------------------------------------------------------------------*/
body {
	margin: 0;
	padding: 0;
	color: #333;
	line-height: 1.4;
	font-family: "Noto Sans JP","游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  font-size: 1rem;
	-webkit-text-size-adjust : none;
	width: 100%;
}
a:hover img {
	opacity: .7;
}

/*  useful-SP
-----------------------------------------------------------------------------*/
.clearfix::after{
  content: "";
  display: block;
  clear: both;
}
.flex {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.txt-center {
  text-align: center;
}
.ylw {
  font-weight: 700;
  font-size: 1.125rem;
  background: linear-gradient(transparent 70% ,#ffff66 70% );
}
.sp {
  display: block!important;
}
.pc {
  display: none !important;
}
.mb1rem {
  margin-bottom: 1rem;
}
.mb2rem {
  margin-bottom: 2rem;
}
.mb3rem {
  margin-bottom: 3rem;
}
.caution {
  font-size: .75em;
  text-align: right;
}
.youtube {
  position: relative;
  text-align: center;
  max-width: 100%;
  margin: 1em auto;
  padding-top: 56.25%;
}
.youtube iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
}

/*  header-SP
-----------------------------------------------------------------------------*/
.header__top {
  display: flex;
  align-items: center;
	width: 100%;
	height: 70px;
  margin: 0 auto;
}
.header__logo {
  margin-left: 1em;
}
.header__contact {
  margin-left: auto;
  margin-right: 1em;
}
.header__contact a {
  display: block;
  padding: .5em 1em;
  background-color: #0D6FB8;
  border-radius: 4px;
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.header__contact a:hover {
  opacity: .7;
}

/*  SNS_SP
-----------------------------------------------------------------------------*/
.sns__ul {
  display: flex;
  justify-content: center;
}
.sns__ul li {
  margin-right: 1em;
}
.sns__ul li img {
  width: 3em;
  min-width: 44px;
  max-width: 50px;
}

/*  SP-NAV
-----------------------------------------------------------------------------*/

#spNav__overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.5);
}
.spNav__btn {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 101;
  width: 50px;
  height: 50px;
  background-color: #0d6fb8;
  border-radius: 4px;
}
.spNav__btn span {
  display: block;
  margin-left: 10px;
  width: 30px;
  height: 2px;
  background: #fff;
  transition: all .3s ease-in-out;
}
.spNav__btn span:nth-of-type(1) {
  margin-top: 7px;
}
.spNav__btn span:nth-of-type(2), .spNav__btn span:nth-of-type(3) {
  margin-top: 5px;
}
.spNav__btn.open span:nth-of-type(1) {
  margin-top: 5px;
  height: 2px;
  -webkit-transform: translateY(9px) translateX(0) rotate(45deg);
  transform: translateY(9px) translateX(0) rotate(45deg);
}
.spNav__btn.open span:nth-of-type(2) {
  margin-top: 5px;
  opacity: 0;
  -webkit-transform: translateY(9px);
  transform: translateY(9px);
}
.spNav__btn.open span:nth-of-type(3) {
  margin-top: 9px;
  height: 2px;
  -webkit-transform: translateY(-9px) translateX(0) rotate(-45deg);
  transform: translateY(-9px) translateX(0) rotate(-45deg);
}
.spNav__btn p {
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  font-size: 10px;
  color: #fff;
  text-align: center;
}
.spNav__container {
  position: fixed;
  top: 0;
  right: -320px;
  z-index: 100;
  width: 320px;
  height: 100%;
  padding: 80px 1em 1em;
  overflow-y: scroll;
  background-color: #0d6fb8;
  color: #fff;
  transition: transform .3s;
}
.spNav__container.open {
  transform: translateX(-320px);
}
.spNav__ul {
  margin-bottom: 2em;
}
.spNav__ul li a {
  display: block;
  padding: .6em 1em;
  color: #fff;
  font-size: 1.5rem;
  text-decoration: none;
  text-align: center;
}
.spNav__contact {
  margin-bottom: 3em;
}
.spNav__contact li {
  margin-bottom: 1em;
}

/*  toTop-SP
-----------------------------------------------------------------------------*/
#toTop {
  position: fixed;
  z-index: 50;
  bottom: 10px;
  right: 10px;
}
#toTop a {
  display: block;
  width: 50px;
  height: 50px;
  background: url(../img/to-top.png) center top no-repeat;
  background-size: 100% auto;
  opacity: .9;
}
#toTop a:hover {
  opacity: 1;
}


/*  footer-SP
-----------------------------------------------------------------------------*/
footer {
  background-color: #0d6fb8;
  padding-top: 1em;
}
.footer__ttl {
  margin: 1em auto;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
}
.footer__desc {
  width: 96%;
  max-width: 1000px;
  margin: 0 auto;
  color: #fff;
  text-align: center;
}
.footer__contact {
  width: 94%;
  max-width: 1000px;
  margin: 1em auto;
  padding: 1em;
  background: #ffffff;
  background: -webkit-linear-gradient(top, hsl(0,0%,100%) 0%,hsl(0,0%,96%) 47%,hsl(0,0%,93%) 100%);
  background: linear-gradient(to bottom, hsl(0,0%,100%) 0%,hsl(0,0%,96%) 47%,hsl(0,0%,93%) 100%);
  border-radius: 6px;
  box-shadow: 2px 2px 2px rgba(0,0,0,.1);
}
.footer__contactbox {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 96%;
  max-width: 960px;
  margin: 2em auto;
}
.footer__logo {
  height: 2.5em;
  max-height: 42px;
  margin-bottom: 1em;
  text-align: center;
}
.footer__tel {
  margin-bottom: .5em;
}
.footer__teltime {
  max-width: 15em;
  margin: 0 auto 2em;
  padding: .5em;
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
  text-align: center;
}
.footer__mail {
  width: 80%;
  padding: 0 1em 0 3em;
  border-radius: 4px;
  box-shadow: 2px 2px 2px rgba(0,0,0,.1);
  background: url(../img/icon_mail.png) 1em center no-repeat #dea91d;
  background-size: 1.5em auto;
}
.footer__mail a {
  display: block;
  color: #fff;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  line-height: 3em;
}
.footer__mail a:hover {
  opacity: .7;
}
address {
  text-align: center;
}
.footer__banner {
  width: 100%;
  margin: 1em auto;
  align-items: center!important;
}
.footer__banner-l,.footer__banner-r {
  text-align: center;
}
.footer__banner-r img {
  height: 45px;
}
.footer__banner-r a + a {
  margin-left: .8em;
}
.footer__sns {
  margin-bottom: 1em;
}
.copyright {
  padding: 1em 0;
  color: #fff;
  text-align: center;
}


/*----------------------------------------------------------------------------
  Tablet 
-----------------------------------------------------------------------------*/
@media screen and (min-width:560px){

  /*  useful-TAB
  -----------------------------------------------------------------------------*/
  .flex {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
  .pc {
    display: block!important;
  }
  .sp {
    display: none !important;
  }

/*  header-TAB
-----------------------------------------------------------------------------*/
.spNav {
  display: none;
}

/*  toTop-TAB
-----------------------------------------------------------------------------*/
#toTop {
  bottom: 40px;
  right: 20px;
}
#toTop a {
  width: 60px;
  height: 60px;
}


/*  footer-TAB
-----------------------------------------------------------------------------*/
  .footer__logobox {
    display: flex;
    align-items: center;
  }
  .footer__logobox a {
    margin-right: 1em;
  }
  .footer__logo {
    margin-bottom: 0;
    text-align: left;
  }
  .footer__nature {
    max-width: 80%;
  }
  .footer__contactbox {
    flex-direction: row;
    justify-content: center;
  }
  .footer__tel {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 3em;
    margin-bottom: 0;
  }
  .footer__teltime {
    margin-bottom: 0;
  }
  .footer__mail {
    max-width: 14em;
  }
  .footer__banner-img {
    padding: 0;
    max-width: 46%;
  }
  .footer__banner-l,.footer__banner-r {
    width: 30%;
    text-align: left;
  }
  .footer__banner-r img {
    height: 3.3rem;
  }
  .footer__sns {
    margin-bottom: 0;
    width: 40%;
  }

}


/*----------------------------------------------------------------------------
  PC
-----------------------------------------------------------------------------*/
@media screen and (min-width:960px){

  .footer__tel {
    display: flex;
    flex-direction: row;
  }
  .footer__banner-img {
    max-width: 480px;
    margin: 0 1em;
  }
  .footer__banner-r img {
    height: 4.2rem;
  }

}
