@charset "UTF-8";

/*!
Theme Name: tosaiholdings
Description: トーサイホールディングス公式テーマ
Author: murakami
Template:   cocoon-master
Version:    1.0.0
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
* {
  margin: 0;
  padding: 0;
}
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  font-style: normal;
  -webkit-box-shadow: none;
  box-shadow: none;
  outline: none;
  line-break: strict;
  word-break: break-word;
  word-wrap: break-word;
  overflow-wrap: break-word;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
*,
*:focus,
a:focus {
  outline: none;
}
body {
  font-family: 'Noto Sans JP', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  -webkit-text-size-adjust: 100%;
  color: #333;
  max-width: 100%;
  width: 100%;
  background-color:#f8f8f8;
  margin:0;
}
p{
  font-size:18px;
}
h2, h3 {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 800;
  line-height: 1.2;
}
h1, h2{
  font-size: 60px;
}
h3{
  font-size: 1.5em;
}
img{
  line-height: 0;
}
li{
  list-style: none;
}
a{
  text-decoration: none;
}

.pc{
  display: block;
}
.sp{
  display: none;
}
.content{
  margin: 0;
}
.wrap{
  width: 100%;
}
.wrap_a, .wrap_b{
  max-width: 1200px;
  margin: auto;
}
.wrap_c{
  max-width: 950px;
  margin: auto;
}
.wrap_d{
  max-width: 750px;
  margin: auto;
}
.main{
  padding: 0!important;
}
.main-content{
  width: 100%;
  background-color: #f8f8f8;
  padding-top: 70px;
  padding-bottom: 50px;
  margin: 0 auto;
}
.go-to-top-button{
  display: none;
}

/* 固定ページ */
.title-header{
  padding: 50px 0;
}

/* ----- bg ----- */
.radius{
  border-radius: 0 50px 0 0;
}
.bg-white{
  background-color: #fff;
  padding: 50px 0;
}

/* ----- text ----- */
.tx-bold{
  font-weight: bold;
}
.tx-center{
  text-align: center;
}

/* ----- text-color ----- */
.tx-blue{
  color: #1f286f;
}
.tx-red{
  color: #d32929;
}
.tx-orange{
  color: #EB2B2B;
}
.tx-white{
  color: #fff;
}

/* ----- TOPボタン ----- */
.page-top{
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 998;
}
.page-top a{
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #d32929;
  text-indent: -9999em;
}
.page-top a::after{
  display: block;
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: calc(tan(60deg) * 10px) solid #fff;
}

/* ----- スクロールアニメーション ----- */
/* top */
.slide-in-target {
  opacity: 0;
  transform: translate(50px, 0);
}

/* その他 */
.fade-in, .top-in {
  opacity: 0;
  transition-duration: 1000ms;
  transition-property: opacity, transform;
}
.fade-in-up {
  transform: translate(0, 50px);
}
.fade-in-down {
  transform: translate(0, -50px);
}
.fade-in-left {
  transform: translate(-50px, 0);
}
.fade-in-right, .top-in-right {
  transform: translate(50px, 0);
}
.scroll-in, .slide-in {
  opacity: 1;
  transform: translate(0, 0);
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1200px以下*/
@media screen and (max-width: 1200px){
  .wrap_b{
    padding: 0 15px;
  }
}

/*950px以下*/
@media screen and (max-width: 950px){
  body {
    font-size: 15px;
  }
  p{
    font-size:15px;
  }
  h1, h2{
    font-size: 35px;
  }
  .wrap_c{
    padding: 0 15px;
  }

  .pc{
    display: none;
  }
  .sp{
    display: block;
  }

  .main-content{
    padding-top: 50px;
    padding-bottom: 30px;
  }
  
  .radius{
    border-radius: 0 30px 0 0;
  }
  .bg-white{
    background-color: #fff;
    padding: 30px 15px;
  }

  .hidden{
    overflow-x: hidden;
  }

  /* 固定ページ */
  .title-header{
    padding: 30px 15px;
  }
}

/*750px以下*/
@media screen and (max-width: 750px){
  .wrap_d{
    padding: 0 15px;
  }
}


/*480px以下*/
@media screen and (max-width: 480px){
  body {
    font-size: 14px;
  }
  h1, h2{
    font-size: 30px;
  }
  p{
    font-size:14px;
  }

  /* ----- TOPページ ----- */
  .page-top{
    bottom: 10px;
    right: 10px;
  }
  .page-top a{
    width: 30px;
    height: 30px;
  }
  .page-top a::after{
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: calc(tan(60deg) * 5px) solid #fff;
  }
}
