html *,
::before,
::after {
  box-sizing: border-box;
}

/* フォント */
html {
  font-size: 14px;
}

body {
  font-family: Verdana,"メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック","MS PGothic",sans-serif;
  font-weight: 400; /* Noto Sans JPのレギュラーウェイトを指定 */
  color: #343C41;
  margin-top: 60px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }

  body {
    margin-top: 100px;
  }
}


h1, h2, h3, h4, h5, h6, th, strong {
  font-weight: 700;
}
a {
  color: #f30;
}


/* レスポンシブイメージと画像下スペース防止 */
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}


/* header */
.page-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 999;
  background-color: #FFF;
}

@media (min-width: 768px) {
  .page-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 999;
    background-color: #FFF;
  }

  .header-container {
    margin: 0 auto;
    padding: 0 20px;
    max-width: 1040px;
  }
}


/* ヘッダーロゴとモバイルナビボタン */
.sitetitle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (min-width: 768px) {
  .sitetitle {
    display: block;
    padding: 30px 0 0 0;
  }
}

/* ヘッダーロゴ */
.header-logo {
  margin: 0;/* h1のデフォルト設定オフ */
  padding-left: 15px;
  font-size: 0;/* 画像上下の余白を消すためh1の設定オフ */
  line-height: 0;/* 画像上下の余白を消すためh1のサイズオフ */
}

.header-logo img {
  width: 80px;
}

@media (min-width: 768px) {
  .header-logo {
    padding: 0;
  }

  .header-logo img {
    width: 150px;
  }
}

/* モバイル向けボタン */
.navbtn {
  display: block;
  width: 60px;
  height: 60px;
  background-image: url(../img/footer/nav-mobile-open.svg);
  background-repeat: no-repeat;
  background-position: center center;
}

.navbtn.close {
  background-image: url(../img/footer/nav-mobile-close.svg);
}

@media (min-width: 768px) {
  .navbtn {
    display: none;
  }
}

/* ヘッダーナビゲーション */
.header-nav {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-nav.collapse {
  display: none;
}

.header-nav li a {
  display: block;
  padding: 20px 30px;
  border-top: 1px solid #d8d8d8;
  background: #efefef;
  color: #000;
  text-decoration: none;
  font-size: 15px;
}

.header-nav li a:hover {
  background: #b8e5ea;
}

@media (min-width: 768px) {
  /* PC向けレイアウト */
  .header-nav {
    display: flex !important;
    flex-direction: row;
    justify-content: flex-end;
  }

  .header-nav li a {
    padding: 0px 20px 35px 20px;
    border-top: none;
    border-bottom: 4px solid transparent;
    background: none;
  }

  .header-nav li a:hover {
    background: none;
  }
}

/**
 * ***************************************
 * メインコンテナ
 * ***************************************
 */

/* メインビジュアル*/
.hero-container {
  position: relative;
}

/* about */
.home .page-main {
}

.home .main-container {
  padding: 50px 4%;
}

.home-lead{
  text-align: center;
}

.lead-about-img{
  width: 280px;
}

.home-lead h2{
  font-size: 1.5em; 
  font-weight: 400;
  color: #AA1C23;
  margin-top: 0px;
}

.home-lead h3{
  font-size: 0.8em; 
  color: #AA1C23;
}

.lead-text-about{
  line-height: 2; 
  font-size: 1.2em; 
  margin: 20px 5px 40px 5px;
  text-align: center;
}

.lead-text-message{
  line-height: 2; 
  font-size: 0.8em; 
  margin: 30px 30px 40px 30px;
  text-align: left;
}

.aboutimg{
    text-align: center;
}

.abouttext {
  margin-top: 30px;
}

.br-ctl {
  display:none;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease-in 1 forwards;
  animation-duration: 3s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* about */
@media (min-width: 768px) {
  .home .main-container {
      max-width: 1040px;
      margin: 0 auto;
      padding: 60px 20px;
  }

  .lead-about-img{
    width: 300px;
  }

  .home-lead h2{
    font-size: 2em; 
    color: #AA1C23;
  }

  .home-lead h3{
    font-size: 0.8em; 
    color: #AA1C23;
    margin-top: -15px;
  }
  
  .lead-text-about{
    line-height: 2; 
    font-size: 1.2em; 
    text-align: center;
  }

  .lead-text-message{
    line-height: 2; 
    font-size: 1.1em; 
    margin: 40px 120px 40px 120px;
    text-align: left;
  }


  .aboutimg1 {
    display: inline;
    width: 750px;
  }

  .abouttext {
    margin: 70px 0px 20px 0px;
    font-size: 1.1em; 
  }

  .about-bottom{
    display: flex;
    margin-top: 50px;
    margin-bottom: 30px;
  }
 
  .br-ctl {
    display: inline;
  }
  
  .hero-lead{
    font-size: 30px;
    text-align: center;
    text-shadow: 1px 2px 3px #808080;
  }

  .hero-img{
    width: 100%;
  }
}

/* service */
.service {
  background: #efefef;
}

.service-container {
  padding: 60px 4%;
}

.service-message-container{
  margin-top: 50px;
}

.img-center{
  text-align: center;
}

.service-box{
  background-color: #FFF;
  padding: 0px 20px 10px 0px;
  border: solid #AA1C23 3px;

  margin: 10px 10px 30px 10px;
}

.service-img {
  float: left;
  width: 40px;
}

.sp-none {
  display: none;
}

.pc-none {
  display: inline;
}

.service-box-title{
  font-size: 1.1em; 
  font-weight: bold;
  text-align: left;
}
.service-box-text{
  line-height: 1.5;
  padding-left: 40px;
  text-align: left;
}

.service-box-text{
  line-height: 1.5;
  padding-left: 40px;
  text-align: left;
}

.service-box-text-add{
  padding-top: 10px;
  padding-left: 40px;
  text-align: left;
}

.service-box-text-add-section{
  padding-left: 20px;
  padding-bottom: 20px;
  text-align: left;
  line-height: 1.5;
}

.right{
  width: 100%;
}


hr{
    border: none;
    border-bottom: 1px solid #c0c0c0;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left:20px;
    margin-right:20px;
}


/* pc */
@media (min-width: 768px) {
  .service-container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 60px 20px;
  }

  .service-message-container{
    margin-top: 50px;
  }
  
  .service-img {
    float: left;
    width: 180px;
  }
  
  .sp-none {
    display: inline;
  }
  .pc-none {
    display: none;
  }
  
  .service-box{
    background-color: #FFF;
    width: 100%;
    padding: 0px 70px 10px 0px;
    border: solid #AA1C23 3px;
    margin: 10px 10px 30px 10px;
  }
  
  .service-box-title{
    font-size: 1.1em; 
    font-weight: bold;
    text-align: left;
    padding: 10px 0px 10px 0px;
  }
  
  .service-box-text{
    line-height: 2;
  }

  .service-box-text-add{
    padding-top: 10px;
    padding-left: 180px;
    text-align: left;
    line-height: 1;
  }

  .service-box-text-add-section{
    display: flex;
    padding-left: 180px;
    padding-bottom: 30px;
    text-align: left;
    line-height: 2;
    justify-content: space-between;
  }

  .right{
    width: 70%;
  }



  hr{
      border: none;
      border-bottom: 1px solid #c0c0c0;
      margin-top: 40px;
      margin-bottom: 40px;
      margin-left:180px;
      margin-right:30px;
  }

}


.sp-br{
  display: inline;
}
.sp-space{
  display: inline;
}
.pc-br{
  display: none;
}
.pc-space{
  display: none;
}

@media (min-width: 768px) {
  .sp-br{
    display: none;
  }
  .sp-space{
    display: none;
  }
  .pc-br{
    display: inline;
  }
  .pc-space{
    display: inline;
  }
}


/* 会社概要 */
.company{
  /* background: #efefef; */
}
.company-container {
  padding: 60px 4%;
}

.company-table{
 font-size: 13px;
 margin: 30px auto 10px auto;
}

.company-table th,
.company-table td {
border: 1px solid #ccc;
border-width:0px 0px 1px 0px;
padding: 10px;
}

.company-table th {
  font-weight: lighter;
}
.company-table td {
 line-height: 1.5;
}

.contact-icon-img{
  margin-top: 30px;
  width: 200px;
}

.lead-company-img{
    width: 330px;
    margin-top: 30px;
}

.contact-icon-img{
  margin-top: 40px;
  width: 140px;
}

@media (min-width: 768px) {
  .company-container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 60px 20px;
  }
  .company-table{
   font-size: 10px;
   margin: 30px auto 10px auto;
  }
  .lead-company-img{
      width: 400px;
      margin-top: 40px;
  }
  
  .company-table{
    font-size: 14px;
    width: 65%;
  }
  
  .contact-icon-img{
    margin-top: 40px;
    width: 180px;
  }
}

/* お問合せ */
.info{
  background: #FFF;
}

.info-container {
  padding: 60px 4%;
}

.info-bold{
  font-weight: bold;
  font-size: 1.1em;
}

.info-main h2{
  font-size: 3em; 
  color: #019BD9;
  text-align: center;
}

.info-main h3{
  font-size: 1.2em; 
  color: #019BD9;
  text-align: center;
}

.info-mail{
  color: #019BD9;
}

@media (min-width: 768px) {
  .info-container {
    max-width: 840px;
    margin: 0 auto;
    padding: 60px 20px;
  }
  .info-bold{
    font-weight: bold;
    font-size: 1.0em;
  }
}

/* footer */
.page-footer {
  background: #AA1C23;
}

.footer-container {
  padding: 60px 4%;
  display: flex;
  justify-content: space-between;
}

.footer-logo {
  margin-bottom: 30px;
  text-align: left;
}

.footer-logo img {
  width: 150px;
}

@media (min-width: 768px) {
  .footer-container {
      max-width: 1040px;
      margin: 0 auto;
      padding: 60px 20px;
  }
  .footer-logo img {
    width: 200px;
  }
}