@charset "UTF-8";

/*
COLORS
================================================ */
:root {
    --gray: #555;
    --black: #000000;
    --white: #fff;
    --brown: #432;
    --skyblue: #0bd;
    --cream:#fffaf0;
    --red:#ff0000;
    --red2:#b22222;
}
@media (prefers-color-scheme: dark) {
    :root {
        --text: #ddd;
        --bg: #000;
    }
}

/*共通部分
-------------------------------*/
html{
    font-size: 62.5%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
body{
    font-size: 16px;
    font-size: 1.6rem;
    min-width: 1000px;
    margin: 0;
    padding: 0;
    color:var(--black);
    background:var(--black);
    font-family: 'Bree Serif', sans-serif;
}

/*========= ローディング画面のためのCSS ===============*/
#splash {
    position: fixed;
    width: 100%;
    height: 100%;
    background: var(--black);
    z-index: 9999999;
    text-align:center;
    color:#fff;
}
/*========= 画面遷移のためのCSS ===============*/

body.appear{
    background:#fff;/*画面を開いた後の背景色を指定*/
}

/*画面遷移アニメーション*/
.splashbg1,
.splashbg2{
    display: none;
}

/*bodyにappearクラスがついたら出現*/
body.appear .splashbg1,
body.appear .splashbg2{
  display:block;
}

/*上に消えるエリア*/
body.appear .splashbg1{
  animation-name:PageAnime;
  animation-duration:1.4s;
  animation-timing-function:ease-in-out;
  animation-fill-mode:forwards;
    content: "";
    position:fixed;
  z-index: 999;
    width: 100%;
    height: 100vh;
    bottom:50%;
    left:0;
    transform: scaleY(1);
    background-color: var(--black);/*伸びる背景色の設定*/
}

@keyframes PageAnime{
  0% {
    transform-origin:top;
    transform:scaleY(1);
  }

  100% {
    transform-origin:top;
    transform:scaleY(0);
  }
}

/*下に消えるエリア*/
body.appear .splashbg2{
    animation-name:PageAnime2;
  animation-duration:1.4s;
  animation-timing-function:ease-in-out;
  animation-fill-mode:forwards;
    content: "";
    position:fixed;
  z-index: 999;
    width: 100%;
    height: 100vh;
    top: 50%;
  left:0;
    transform: scaleY(1);
    background-color: var(--black);/*伸びる背景色の設定*/
}

@keyframes PageAnime2{
  0% {
    transform-origin:bottom;
    transform:scaleY(1);
  }
  100% {
    transform-origin:bottom;
    transform:scaleY(0);
  }
}

/*画面遷移の後現れるコンテンツ設定*/
#container{
  opacity: 0;/*はじめは透過0に*/
}

/*bodyにappearクラスがついたら出現*/
body.appear #container{
  animation-name:PageAnimeAppear;
  animation-duration:1s;
  animation-delay:0.2s;
  animation-fill-mode:forwards;
  opacity: 0;
}

@keyframes PageAnimeAppear{
  0% {
  opacity: 0;
  }
  100% {
  opacity: 1;
}
}
/*--ここまでが画面移動アニメーション--*/


/* 一般
---------------------------------*/
p {
    line-height: 1.7;
    font-family: 'Noto Serif JP', serif;
}
img {
    max-width: 100%;
    image-rendering: -webkit-optimize-contrast;
}
a:hover {
    color: #0bd;
}
a{
    text-decoration: none;
    font-family: 'Noto Serif JP', serif;
}

/* HEADER
---------------------------------*/
.logo{
    width: 27rem;
    height: 4.7rem;
    margin-left: 1.5rem;
}
.main-nav{
    display: flex;
    font-size: 1.7rem;
    text-transform: uppercase;
    margin-top: 2.9rem;
    margin-right: 2.5rem;
    list-style: none;
}
.main-nav li{
    margin-left: 3.6rem;
}
.main-nav a{
    font-family: 'Sawarabi Mincho', serif;
    display: inline-block;
	position: relative;
	text-decoration: none;
    color: var(--black);
}
.main-nav a::after {
	position: absolute;
	content: '';
	bottom: .2em;
	left: 0;
	width: 100%;
	height: .1rem;
	opacity: 0;
	background: var(--red);
	transition: all .3s ease 0s;
}
.main-nav a:hover{
    color: var(--red);
    cursor: pointer;
}
.main-nav a:hover::after {
	bottom: 0;
	opacity: 1;
}
.page-header{
    display: flex;
    justify-content: space-between;
    height: 90px;
    background-image: url(../../images/background-white.jpg);
}

/* H2
-----------------------------*/
#tel{
    position: relative;
    text-align: center;
    height: auto;
    background-image: url(../../images/background-white.jpg);
    background-color:rgba(255,255,255,0.5);
    background-blend-mode: lighten;
    padding: 0 0 40px 0 ;
}
#tel h2{
    font-family: 'Noto Serif JP', serif;
    font-size: 4.5rem;
    position: relative;
    display: inline-block;
    padding: 0.25em 0;
    font-weight:100;
    text-shadow: 1px 1.5px 2px #808080; 
}
#tel h2:after{
    content: '';
    position: absolute;
    left: 53%;
    bottom: -10px;/*線の上下位置*/
    display: inline-block;
    width: 90px;/*線の長さ*/
    height: 2.5px;/*線の太さ*/
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);/*位置調整*/
    background-color: var(--gray);/*線の色*/
    border-radius: 2px;/*線の丸み*/
}
.tel-text{
  font-weight: bold;
  font-size: 1.9rem;
}
.number{
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-family: 'Noto Serif JP', serif;
  font-size: 3rem;
}
.mail{
    margin-top: 2rem;
    margin-bottom: 3rem;
    font-family: 'Noto Serif JP', serif;
    font-size: 3rem;
}
.schedule{
  margin-bottom: 2rem;
}
.time{
  color: var(--red2);
}
.frame{
    margin:2em 0;
    position: relative;
    display: inline-block;
    padding: 0.5em 1.5em;
    border-top: solid 3px black;
    border-bottom: solid 3px black;
    width: 600px;
}
.frame:before, .frame:after{
    content: '';
    position: absolute;
    top: -10px;
    width: 3px;
    height: -webkit-calc(100% + 20px);
    height: calc(100% + 20px);
    background-color: black;
}
.frame:before {left: 10px;}
.frame:after {right: 10px;}
.frame p {
    margin: 0; 
    padding: 0;
}



/*フッター
------------------------------*/
#footer{
  position: absolute;
  bottom: 0;
  left:0;
  right:0;
}
#footer .main .left{
  background-image: linear-gradient(to right, rgba(255,255,255,0.9),rgba(255,255,255,0.4)),url(../../images/footer-backimamge.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 1rem 0;
}
#footer .main .logo{
  margin-bottom: 1.6rem;
  margin-top: -.1rem;
  text-align: center;
}
#footer .main .logo > a{
  display: inline-block;
}
#footer .main .company{
  color: var(--black);
  font-size: 1.8rem;
  line-height: normal;
  margin-top: -.4rem;
  margin-left: 6.2rem;
  margin-bottom: .5rem;
  text-align: center;
}

#footer .main .address {
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1.6;
  margin-top: -2rem;
  margin-bottom: .5rem;
  text-align: center;
}
#footer .main .address a{
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1.6;
  margin-top: -1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}
#footer .main .tel{
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1.6;
  margin-top: -.5rem;
  margin-bottom: 1rem;
  text-align: center;
}
#footer .main .mapicon{
  margin-bottom: -.3rem;
  width: 1.5rem;
}
#footer .main .right{
  background: #222;
}
#footer .main .footer-nav a{
  color: #ccc;
}

@media only screen and (min-width:599px) {
  /*--会社概要--*/
  th,td{
      padding: 1.25rem;
      display: table-cell;
  }
  tr:nth-child(odd){
      background: var(--cream);
  }
  tr:nth-child(even) th{
      background: var(--white);
  }
  tr:nth-child(even) td{
      background: var(--white);
  }
  
  /*--フッター--*/
      #footer .main {
          display: -webkit-box;
          display: -webkit-flex;
          display: -ms-flexbox;
          display: flex;
      }
      #footer .main .left{
          width: 50%;
      }
      #footer .main .left > .inner{
          margin-left: auto;
          text-align: left;
          width: 75rem;
          height: 7rem;
      }
      #footer .main .head{
          display: inline-block;
          font-size: 0;
      }
      #footer .main .logo{
          display: inline-block;
          margin-bottom: 0;
          padding-left: 5rem;
          vertical-align: middle;
      }
      #footer .main .logo > a{
          width: 30rem;
      }
      #footer .main .address{
          display: inline-block;
          margin-bottom: 0;
          margin-left: 2rem;
          padding-left: 2rem;
          position: relative;
          text-align: left;
          vertical-align: middle;
      }
      #footer .main .tel{
          display: inline-block;
          margin-bottom: 2rem;
          margin-left: 2rem;
          padding-left: 2rem;
          position: relative;
          text-align: left;
          vertical-align: middle;
      }
      #footer .main .right {
          -webkit-box-align: center;
          -webkit-align-items: center;
          -ms-flex-align: center;
          align-items: center;
          display: -webkit-box;
          display: -webkit-flex;
          display: -ms-flexbox;
          display: flex;
          width: 50%;
      }
      #footer .main .right > .inner {
          padding-left: 5rem;
          width: 60rem;
          height: 6rem;
      }
      #footer .main .footer-nav{
          font-size: 0;
          margin-bottom: -2rem;
      }
      #footer .main .footer-nav > li{
          display: inline-block;
          font-size: 1.2rem;
          margin-top: -1rem;
          margin-bottom: 2rem;
          margin-right: 1.5rem;
      }
      #footer .main .footer-nav a{
          padding-right: 1rem;
          position: relative;
      }
      #footer .main .footer-nav a::before{
          content: '>';
          position: absolute;
          height: .3rem;
          right: 0;
          top: 0;
          width: .5rem;
          font-size: 1.2rem;
      }
      #footer .main .footer-nav a:hover{
          color: var(--red2);
          opacity: 1;
      }
      #footer .main .footer-nav a:hover::before{
          color: var(--red2);
      }
      #footer .copyright{
          background-color: var(--black);
          color: var(--white);
          padding: 0.5% 0;
          font-size: 1.2rem;
          font-family:'Noto Serif JP', serif; 
          text-align: center;
      }
  }
  
  /*-------スマホサイズ-------*/
  
  @media only screen and (max-width: 766px) {
  /*--メニューボタン--*/
      .menu-btn {
          position: fixed;
          top: 10px;
          right: 10px;
          display: flex;
          height: 60px;
          width: 60px;
          justify-content: center;
          align-items: center;
          z-index: 90;
          background-color: var(--black);
      }
      .menu-btn span,
      .menu-btn span:before,
      .menu-btn span:after {
          content: '';
          display: block;
          height: 3px;
          width: 25px;
          border-radius: 3px;
          background-color: var(--white);
          position: absolute;
      }
      .menu-btn span:before {
          bottom: 8px;
      }
      .menu-btn span:after {
          top: 8px;
      }
      #menu-btn-check:checked ~ .menu-btn span {
          background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
      }
      #menu-btn-check:checked ~ .menu-btn span::before {
          bottom: 0;
          transform: rotate(45deg);
      }
      #menu-btn-check:checked ~ .menu-btn span::after {
          top: 0;
          transform: rotate(-45deg);
      }
      #menu-btn-check {
          display: none;
      }
  /*--メニュー中身--*/
  .main-nav{
      display: none;
  }
  .menu-content {
      width: 100%;
      height: 100%;
      position: fixed;
      top: 0;
      left: 100%;/*leftの値を変更してメニューを画面外へ*/
      z-index: 80;
      background-color: rgba(0,0,0, .5);
      transition: all 0.5s;/*アニメーション設定*/
  }
  
  .menu-content ul {
      padding: 70px 10px 0;
  }
  .menu-content ul li {
      border-bottom: solid 1px #ffffff;
      list-style: none;
  }
  .menu-content ul li a {
      display: block;
      width: 100%;
      font-size: 1.5rem;
      box-sizing: border-box;
      color:#ffffff;
      text-decoration: none;
      padding: 9px 15px 10px 0;
      position: relative;
  }
  .menu-content ul li a::before {
      content: "";
      width: 7px;
      height: 7px;
      border-top: solid 2px #ffffff;
      border-right: solid 2px #ffffff;
      transform: rotate(45deg);
      position: absolute;
      right: 11px;
      top: 16px;
  }
  #menu-btn-check:checked ~ .menu-content {
      left: 0;/*メニューを画面内へ*/
  }
}
@media only screen and (max-width: 599px){
  /*--フッター--*/
      #footer .main .left{
          display: none;
      }
      #footer .main .right{
          position: relative;
          bottom:-1rem;
      }
      #footer .main .address{
          text-align: center;
          font-size: 1.2rem;
      }
      #footer .main .footer-nav{
          display: none;
      }
      #footer .copyright{
          background-color: var(--black);
          color:var(--white);
          font-size: .8rem;
          padding: 1% 0;
          font-family:'Noto Serif JP', serif; 
          text-align: center;
      }
  }

  @media only screen and (max-width:1279px) {
    #footer{
        position: absolute;
    }
    body.appear{
        background-image: url(../../images/background-white.jpg);
        background-color:rgba(255,255,255,0.5);
        background-blend-mode: lighten;
    }
}
  /* 960px〜1279px：小型PC
------------------------------ */
@media screen and (min-width:959px) and (max-width:1279px) {
    body{
        min-width: 960px;
    }
    .main-nav li{
        margin-left: 2.3rem;
    }
    #footer .main .left .inner{
        margin-left: -4rem;
    }
    #footer .main .company{
        font-size: 1.6rem;
        padding-left: 1rem;
    }
    #footer .main .logo > a{
        padding-left: 1.2rem;
        width: 27rem;
    }
    #footer .main .right .inner{
        margin-left: -5rem;
    }
    #footer .main .address {
        font-size: 1.35rem; 
    }
    #footer .main .tel{
        font-size: 1.35rem;
    }
    #footer .main .footer-nav > li{
        font-size: 1.1rem;
        margin-right: .7rem;
    }
    #footer .main .footer-nav a::before{
        font-size: 1.1rem;
    }
}

  /* 766px〜959px：タブレット
------------------------------ */
@media screen and (min-width:766px) and (max-width:959px) {
    body{
        min-width: 760px;
    }
    .page-header{
        height: 7rem;
    }
    .logo{
        width: 20rem;
        height: 3.6rem;
        margin-left: 1.5rem;
    }
    .main-nav{
        font-size: 1.3rem;
    }
    .main-nav li{
        margin-left: 2rem;
    }
    #tel h2{
        font-size: 3.7rem;
    }
    #tel h2:after{
        width: 70px;/*線の長さ*/
        height: 2.5px;/*線の太さ*/
    }
    .tel-text{
        font-size: 1.7rem;
      }
    .number{
        font-size: 2.7rem;
      }
    .mail{
          font-size: 2.7rem;
      }
      .frame{
        width: 550px;
    }
    #footer .main .mapicon {
        width: 1.5rem;
     }
     #footer .main .access u{
         font-size: 1.2rem;
     }
     #footer .main .left .inner{
         margin-left: -6rem;
     }
     #footer .main .head{
         padding-top: 1.5rem;
     }
     #footer .main .company{
         font-size: 1.4rem;
         padding-left: .5rem;
     }
     #footer .main .logo > a{
         width: 23rem;
     }
     #footer .main .right .inner{
         margin-left: -8rem;
     }
     #footer .main .address {
         font-size: 1.2rem; 
     }
     #footer .main .tel{
         font-size: 1.2rem;
     }
     #footer .main .footer-nav > li{
         font-size: 1rem;
         margin-right: .7rem;
     }
     #footer .main .footer-nav a::before{
         font-size: 1rem;
     }

}

@media screen and (min-width:599px) and (max-width:766px) { 
    body{
        min-width: 599px;
    }
    .page-header{
        height: 7rem;
    }
    .logo{
        width: 20rem;
        height: 3.6rem;
        margin-left: 1.5rem;
    }
    .main-nav{
        font-size: 1.3rem;
    }
    .main-nav li{
        margin-left: 2rem;
    }
    #tel h2{
        font-size: 3.2rem;
    }
    #tel h2:after{
        width: 60px;/*線の長さ*/
        height: 2.5px;/*線の太さ*/
    }
    .tel-text{
        font-size: 1.6rem;
      }
    .number{
        font-size: 2.5rem;
      }
    .mail{
          font-size: 2.5rem;
      }
      .frame{
        width: 500px;
    }
    #footer .main .mapicon {
        display: none;
    }
    #footer .main .access{
        display: none;
    }
    #footer .main .left{
        padding: 2rem 0;
    }
    #footer .main .left .inner{
        margin-left: -20rem;
    }
    #footer .main .head{
        padding-top: 1.5rem;
        padding-left: 14rem;
    }
    #footer .main .company{
        font-size: 1.3rem;
        padding-left: 1rem;
    }
    #footer .main .logo > a{
        width: 23rem;
    }
    #footer .main .right .inner{
        margin-left: -8rem;
    }
    #footer .main .right > .inner {
        height: 7.5rem;
    }
    #footer .main .address {
        font-size: 1.2rem; 
    }
    #footer .main .tel{
        font-size: 1.2rem;
    }
    #footer .main .footer-nav > li{
        font-size: 1rem;
        margin-right: .7rem;
    }
    #footer .main .footer-nav a::before{
        font-size: 1rem;
    }
 

}

  @media only screen and (min-width:766px) {
    /*--メニューボタン削除--*/    
    .hamburger-menu{
        display: none;
    }
}


/* 480px〜599px：SP横
------------------------------ */
@media screen and (min-width:479px) and (max-width:599px) { 
    body{
        min-width: 480px;
    }
    .page-header{
        height: 7rem;
    }
    .logo{
        width: 20rem;
        height: 3.6rem;
        margin-left: 1.5rem;
    }
    .main-nav{
        font-size: 1.3rem;
    }
    .main-nav li{
        margin-left: 2rem;
    }
    #tel h2{
        font-size: 2.9rem;
    }
    #tel h2:after{
        width: 60px;/*線の長さ*/
        height: 2.5px;/*線の太さ*/
    }
    .tel-text{
        font-size: 1.4rem;
      }
    .number{
        font-size: 2.1rem;
      }
    .mail{
          font-size: 2.1rem;
      }
    .time{
        font-size: 1.3rem;
    }
    .frame{
        width: 420px;
    }
    #footer .main .mapicon {
        display: none;
    }
    #footer .main .access{
        display: none;
    }

}
/* 〜479px：スマートフォン縦
------------------------------ */
@media screen and (max-width:479px) { 
    body{
        min-width: 376px;
    }
    .page-header{
        height: 7rem;
    }
    .logo{
        width: 17rem;
        height: 3.2rem;
        margin-left: 1.5rem;
    }#tel h2{
        font-size: 2.5rem;
    }
    #tel h2:after{
        width: 50px;/*線の長さ*/
        height: 2.5px;/*線の太さ*/
    }
    .tel-text{
        font-size: 1.2rem;
      }
    .number{
        font-size: 1.7rem;
      }
    .mail{
          font-size: 1.7rem;
    }
    .time{
        font-size: 1.2rem;
    }
    .frame{
        width: 320px;
    }
    #footer{
        min-width: 379px;
    }
    
    #footer .main .mapicon {
        display: none;
    }
    #footer .main .access{
        display: none;
    }
}