@charset "UTF-8";
@import url("grid.css");

html, body { /* スマホサイトで「戻るボタン」右の枠を超えるために追加した */
    max-width: 100%;
    overflow-x: hidden;
}

:root { /* 色変更される場合は、#以降のカラーコードを変更してください IE非対応 */
    --base-color: #000;
    --link-color: #666;
    --linkhover-color: #999;
    --back-color: #FFF; /* 背景色、#f7f7f7*/
    --back-color2: #000; /* 背景色、#DDFFDD*/
    --back-color-menu: #000;
    --back-color-menu-hover: #4873ff;
    --border-color: #ccc;
    --white-color: #fff;
    --red-color: #fff;
    --nav-color: #333;

}
body {
    background: var(--back-color); 
    color: var(--base-color);
    padding-top: 110px; /* ヘッダーの高さに応じて調整（PCサイト） */
}

.inner {/*実験的に追加*/
	width: 520px;
	max-width: 100%;
	margin: 0 auto;
	background: #eee;
}

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}



img.overlay {
    position: absolute;
    top: 500px;
}

img.lineup {
    margin:0 auto;/*左右中央揃え*/
    display: flex;
	max-width:90%;
	height: 200px;/*高さ自動*/
    vertical-align: top;
    align-items: flex-start;
}

img.customer {
    margin:0 auto;/*左右中央揃え*/
    display: flex;
	max-width:90%;
    height: auto;
    vertical-align: top;
    align-items: flex-start;
}


img.store {
    margin:0 auto;/*左右中央揃え*/
    display: flex;
   /* justify-content: center;効いてない*/
    /*align-items: center;効いてない*/
    max-width:170px;
	height: auto;/*高さ自動 前はauto*/
}

img.relive {
    margin:0 auto;/*左右中央揃え*/
    display: flex;
   /* justify-content: center;効いてない*/
    /*align-items: center;効いてない*/

    max-height:100%;

}

img.taikan {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

img.step {
    width: 90%;

    object-fit: cover;
}

img.yajirushi {
    width: 8%;

    object-fit: cover;
}

img.yajirushi-under {
    width: 100%;

    object-fit: cover;
}

img.merit {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 縦横比を保ったまま全体を表示 */


 /* メリット画像が小さくなった時、背景が白くならないようにするための要素 */   
    position: relative;
    padding: 0rem 0rem;/* 上下 | 左右 */
    margin: 0 0 20px 0;/* 上 | 右 | 下 | 左 */
    border-radius: 20px;
    background: #0068B6;
    font-weight:700;
    text-align: center;
    height: 100%;

}



/*ラインナップの商品画像のズーム*/
.hoverzoom-img {
    cursor: default; /*リンク先をつくるときは「pointer」にして指が表示されるようにする*/
    max-width: 500px;
    overflow: hidden;
    width: 100%;
   }
  .hoverzoom-img img {
    height: auto;
    transition: transform .6s ease; /* ゆっくり変化させる */
  }
  .hoverzoom-img:hover img {
    transform: scale(1.1); /* 拡大 */
}

/*ラインナップのテキストの位置*/
.lineup {
    text-align: left;
    margin:0 10pX;/*左右中央揃え*/
    font-size:90%;
    margin-bottom: 1em;
}

/*お客様の声のテキストの位置*/
.guest2 {
    display: block;
    text-align: right;
    margin-bottom: 1em;
}

/*お客様の声の画像の位置*/
.customer {
    margin:0 auto;/*左右中央揃え*/
    display: flex;
	max-width:90%;
    height: auto;
    vertical-align: top;
    align-items: flex-start;
}


.guest3 {
    margin:0 auto;/*左右中央揃え*/
    display: block;
    text-align: center;
    padding:0 15%;/* 左右のみ開けてる */
    margin-top: 0.5em;
    margin-bottom: 1em;
    border: solid 2px #fff;
    background-color: #fff;
    border-radius: 10px;
    width: 90%;
    color:black;
}

/*リライブシャツpoint*/
.box_product {
    float: left;
    width: 100%;
    margin: 20px 20px 20px 0px;/* 上・右・下・左 */
    color: #000;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background-color: #FFF;
    filter: drop-shadow(6px 7px 3px rgba(0,0,0,0.2));
  }

  .box_title {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 0px 0px 0px;/* 上・右・下・左 */
    float: left;
    width: 100%; /* ボックスの横幅を指定 */
    height: 60px; /*  ボックスの高さを指定 */
    background-color: #000000;
    border: 2px solid #FFF; /* 境界線を実線で指定 */
    text-align: center; /* テキストを中央寄せに指定 */
    color:#FFF;
    border-radius: 20px 20px 0px 0px; /* 左上・右上・右下・左下 */
    }
    
    .box_middle_top {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px 10px 20px 10px;/* 上・右・下・左 */
      width: 100%; /* ボックスの横幅を指定 */
      height: auto; /*  ボックスの高さを指定 */
      float: left;
      border: 1px solid #FFF; /* 境界線を実線で指定 */
      border-radius: 0px 0px 20px 20px; /* 左上・右上・右下・左下 */
    }

    span.b_big_xx {
        font-weight: bold;
        line-height: 1.8;
        font-size:17px;
    }

    .box_a {
        margin:0 auto;
        width:100%;
        margin: 0px -30px 0px 15px;/* 上 | 右 | 下 | 左 */
    }

/*ステップサークル(流れのSTEP1～STEP6)*/
.center {
    align-items: center;
    text-align: center;
    display: flex;
    justify-content: center; /* 横方向中央 */
}

.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;              
    align-items: center;    
  }
  
  .step-row {
    display: flex;
    gap: 60px;
    justify-content: center;
  }
  
  .step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 150px;
  }
  
  .step-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: #007bff;
    border-radius: 50%;
    color: #fff;
    margin-bottom: 10px;
  }
  
  .step-text {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
  }
  
  .step-number {
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
  }
  
  .step-title {
    font-size: 16px;
    font-weight: bold;
    margin: 8px 0;
}
  
  .step-image {
    width: 80px;
    height: auto;
    margin: 8px 0;
  }
  
  .step-desc {
    font-size: 14px;
    color: #333;
    margin-top: 4px;
    }   

/*太い黄色マーカー*/
.marker_yellow_futo {
    background: linear-gradient(transparent 0%, #ffff66 0%);
}

/*太い黄色マーカー(赤文字)*/
.marker_yellow_futo_red {
    background: linear-gradient(transparent 0%, #ffff66 0%);
    color: red;
}

/*細い黄色マーカー（赤文字）*/
.marker_yellow_hoso {
    background: linear-gradient(transparent 60%, #ffff66 60%);
    color: red;
    font-weight: 700;
    font-size: 1.5em;
}

/*細い黄色マーカー（黄文字）*/
.marker_red_yellow {
    background: linear-gradient(transparent 87%, #FFFF66 80%);
    color: yellow;
    font-weight: 700;
}

.black_futo {
    color: black;
    font-weight: 700;
}

.black_small {
    color: black;
    font-weight: 500;
    font-size: 14px;
}

.red_futo {
    color: red;
    font-weight: 700;
}

.white_futo {
    color: white;
    font-weight: 700;
}

.yellow_futo {
    color: yellow;
    font-weight: 700;
}

a {
    display:block;
    color: var(--link-color);
    text-decoration-line: none;
}
a:hover { 
    color: var(--linkhover-color);
}



h1.big{
    font-size: 20px;
    color: #000;
    font-weight: 900;
    background-image: url("../img/top_tittle_logo.png");
    background-position: 0px 5px;
    background-size: 37px 37px; /* 画像サイズ */
    background-repeat: no-repeat; /* 繰り返し表示オフ */
    margin: 0px 0px 0px 10px;/* タイトル画像を右に移動 */
    padding: 15px 0px 10px 37px; /* 画像と重ならないように文字列を右に移動 */
    line-height: 22px;
}
h1.small{
    font-size: 10px;
    color: #000;
    margin: 5px 0px 0px 10px;/* タイトル画像を右に移動 */
    line-height: 5px;
}

h2 {
    position: relative;
    font-size: 40px;
    top:10px;
    margin-bottom: 3rem;
     padding-bottom: 2rem;
    text-align: center;


}
h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height:3px;
    background-color: var(--link-color); 
}
/*
h2:after {
    content: "";
    display: block;
    height: 4px;
    background: -webkit-linear-gradient(to right, rgb(230, 90, 90), transparent);
    background: linear-gradient(to right, rgb(230, 90, 90), transparent);
}
*/

h2.question {
    padding: 0.5rem 2rem;
    background: #000;
    color:#FFF;
    font-size:2.5rem;
    font-weight:700;
    width:100%;
    text-align: left;
}


h3.question {
    padding: 0.5rem 2rem;
    border-top: 3px solid #AAA;
    border-bottom: 3px solid #000;
    background: #AAA;
    color:#FFF;
    font-size:2rem;
    font-weight:700;
    width:100%;
}

h3.nagare {
    position: relative;
    overflow: hidden;
    padding: 0.3rem 2rem 0.3rem 80px;/* 上 | 右 | 下 | 左 */
    border-bottom: 3px solid #006400;
    color:#1e909f;
    font-weight: bold;
}

h3.nagare::after {
    position: absolute;
    top: -150%;
    left: -100px;/*黒バーの横幅*/
    width: 200px;
    height: 300%;
    content: '';
    -webkit-transform: rotate(75deg);/*元は25deg*/
    transform: rotate(75deg);/*元は25deg*/
    background: #008000;
}


h3.nagare span.no {
    font-size: 3rem;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    display: block;
    padding-top: 0px;
    padding-left: 16px;
    color: #fff;
    font-weight: bold;
  }

h3.sekou {
    position: relative;
    padding: 0.7rem 1.5rem;
    color: #fff;
    border-radius: 15px;
    background: #094;
    font-weight:700;
    font-size: 2.1rem

}

h3.kojin {
    position: relative;
    padding: 0.7rem 1.5rem;
    color: #fff;
    border-radius: 15px;
    background: #094;
    font-weight:700;
    font-size:16px;

}
h3.kigyou {
    position: relative;
    padding: 0.7rem 1.5rem;
    color: #fff;
    border-radius: 15px;
    background: #094;
    font-weight:700;
    font-size:16px;
    text-align: center;
}

h3.aria {
    position: relative;
    padding: 0.7rem 1.5rem;
    color: #fff;
    background: #094;
    font-weight:700;
    font-size:16px;
    text-align: center;
}

h3.relive1 {
    padding: 1rem 2rem;
    border-top: 3px solid #000;
    border-bottom: 3px solid #000;
    background: #000;
    color:#FFF;
    font-weight:700;
    width:100%;
  }

  h3.relive2 {
    font-size: 2.4rem;
    padding: 1rem -0.5rem;
    color:#000;
    font-weight:700;
    width:100%;
  }

h4.kaitori {
    padding: 0.7rem 2.5rem;/* 上下 | 左右 */
    background: #008000;
    color:#FFF;
    font-weight:700;
    text-align: center;
    width:100%;
  }

  h4.kaitori1 {
    position: relative;
    padding: 0.7rem 2.5rem;/* 上下 | 左右 */
    margin: 15px 0 5px 0;/* 上 | 右 | 下 | 左 */
    color: #fff;
    border-radius: 18px;
    background: #8EC31F;
    font-weight:700;
    text-align: center;
    width: 100%;
}

h4.sagyou {
    padding: 1rem 2rem;
    border-top: 3px solid #000;
    border-bottom: 3px solid #000;
    background: #000;
    color:#FFF;
    font-weight:700;
    width:100%;
  }

h4.sekou {
    position: relative;
    padding: 0.7rem 2.5rem;/* 上下 | 左右 */
    margin: 15px 0 5px 0;/* 上 | 右 | 下 | 左 */
    color: #fff;
    border-radius: 18px;
    background: #8EC31F;
    font-weight:700;
    text-align: left;
    width: 200px;
}




  h5 {
    position: relative;
    padding: 0.7rem 1.5rem;
    color: #fff;
    border-radius: 15px;
    background: #094;
    font-weight:700;
    text-align: center;
  }
  
  h5:after {
    position: absolute;
    bottom: -9px;
    left: 1em;
    width: 0;
    height: 0;
    content: '';
    border-width: 15px 10px 0 10px;
    border-style: solid;
    border-color: #094 transparent transparent transparent;
  }

  h6 {
    position: relative;
    padding: 0.7rem 1.5rem;
    color: #fff;
    border-radius: 15px;
    background: #000;
    font-weight:700;
    text-align: center;
  }
  


/*ヘッダー
-------------------------------------*/

header {/*ヘッダーを固定する*/
    position: fixed;/*初期値は「sticky」だったがスクロールするとずれるためfixedにした*/
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    background: #FFF;
    box-sizing: border-box;

  }

.header {
	display: flex;
    flex-direction: row;
    padding: 2rem 0 0 0;
    margin-bottom: 2rem; /* ヘッダーの下（無料見積もりの下の隙間） */
}




.menu {
	background-color: var(--back-color-menu);
    border-top: 3px solid #fff;/* メニューの上に隙間をあける */
}

.site {  /* 実験的に入れただけ */
    display: flex;
    flex-direction: row;
    font-size: 3.0rem;
    margin-top: auto; 
    justify-content: space-between; 
}


.sitetitle {
    font-size: 0.0rem;
    margin-top: auto; /* タイトルを下付け */
    height: 50px;
    line-height: 0px;
}

.sitetel {
    font-size: 3.0rem;
    margin-top: auto; /* タイトルを下付け */
    padding: 0px 5px 0px 5px; /*上右下左*/
}

.sns {
    margin-top: auto; /* タイトルを下付け */
    margin-bottom: -5px; /* タイトルを下付け */
    width: 50px;
    height: 50px;
    padding: 0px 5px 0px 5px; /*上右下左*/
}
.img_PC{/* PCで画像を非表示 */
    display:none;
}

.full {/* 画像をインナーをはみ出して画面いっぱいに伸ばす */
	background: #26a69a;
	padding: 4px 8px;
	margin: 0 calc(50% - 50vw);
    text-align: center;
}

.full2 {/* 画像をインナーをはみ出して画面いっぱいに伸ばす */
	background: #c00;
	padding: 4px 8px;
	margin: 0 calc(50% - 50vw);
    text-align: center;
}

.header-box {
	margin-left: auto;
    /* 	margin-top: 8px;  ヘッダーの上の隙間を削除する*/
}

.contact-button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 15px;
    height: 50px;
    width: 200px;
    font-size: 16px;
    text-decoration: none;
    background-color: var(--link-color);   
    color: var(--white-color);
    box-shadow: 1px 1px var(--base-color);
}

/* 無料見積もり依頼の右側の矢印を消せる */
.contact-button::after {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--white-color);
    border-right: 2px solid var(--white-color);
    transform: rotate(45deg);
}


.contact-button:hover {
    opacity: 0.9;
    color: var(--white-color);
}

/* 無料見積もりボタンのエフェクト */
.btn,
a.btn,
button.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

a.btn-flat {
    overflow: hidden;
  
    padding: 1.5rem 3.8rem;/* 見積りボタンの 縦ｻｲｽﾞ 横ｻｲｽﾞ */
  
    color: #fff;
    border-radius: 0;
    background: #000;
/*        border-bottom: 3px solid #fff; */
/*        border-top: 3px solid #C01920; */
  }
  
  a.btn-flat span {
    position: relative;
    z-index: 1;
    
  }
  
  a.btn-flat:before {
    position: absolute;
    top: 0;
    left: calc(-100% + 10px);
  
    width: 100%;
    height: 100%;
  
    content: '';
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    -webkit-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
  
    background: #C01920;
  }
  
  a.btn-flat:after {
    position: absolute;
    top: 0;
    right: calc(-100% + 10px);
  
    width: 100%;
    height: 100%;
  
    content: '';
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    -webkit-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
  
    background: #C01920;
  }
  
  a.btn-flat:hover:before {
    -webkit-transform: translateX(50%) translateY(0);
    transform: translateX(50%) translateY(0);
  }
  
  a.btn-flat:hover:after {
    -webkit-transform: translateX(-50%) translateY(0);
    transform: translateX(-50%) translateY(0);
  }


/* google mapルートボタンのエフェクト */
a.btn_map {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
    position: relative;
    background: #228bc8;
    border: 1px solid #228bc8;
    box-sizing: border-box;
    padding: 0 15px 0 25px;
    color: #fff;
    font-size: 16px;
    letter-spacing: 0.1em;
    line-height: 1.3;
    text-align: left;
    text-decoration: none;
    transition-duration: 0.3s;
    margin-top:10px;
    margin-bottom:30px;
  }

  a.btn_map:before {
    content: '';
    width: 8px;
    height: 8px;
    border: 0;
     position: absolute;
    top: 50%;
    right: 25px;
    margin-top: -6px;
  }
  a.btn_map:hover {
    background: #fff;
    color: #228bc8;
  }

  /* リライブ問合せボタンのエフェクト */
a.btn_houjin {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    position: relative;
    background: #c00;
    border: 1px solid #c00;
    border-radius: 30px;
    box-sizing: border-box;
    padding: 0 15px 0 25px;
    color: #fff;
    font-size: 16px;
    letter-spacing: 0.1em;
    line-height: 1.3;
    text-align: left;
    text-decoration: none;
    transition-duration: 0.3s;
    margin-top:10px;
    margin-bottom:30px;
    margin-left:-20px;/*問合せボタンの位置がずれるのを修正*/
    font-size:20px;
  }

  a.btn_houjin:before {
    content: '';
    width: 8px;
    height: 8px;
    border: 0;
     position: absolute;
    top: 50%;
    right: 25px;
    margin-top: -6px;
  }
  a.btn_houjin:hover {
    background: #fff;
    color: #c00;
  }


/* リライブシャツ取り扱い店舗ボタン */
a.btn_store1 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
    position: relative;
    background: #228bc8;
    border: 1px solid #228bc8;
    box-sizing: border-box;
    padding: 0 15px 0 25px;
    color: #fff;
    font-size: 18px;
    letter-spacing: 0.1em;
    line-height: 1.3;
    text-align: left;
    text-decoration: none;
    transition-duration: 0.3s;
    margin-top:10px;
    margin-bottom:10px;
  }

/* 営業所ボタン */ 
a.btn_store2 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
    position: relative;
    background: #FFF;
    border: 1px solid #FFF;
    border-radius: 30px;
        box-sizing: border-box;
    padding: 0 15px 0 25px;
    color: #228bc8;
    font-size: 18px;
    letter-spacing: 0.1em;
    line-height: 1.3;
    text-align: left;
    text-decoration: none;
    transition-duration: 0.3s;
    margin-top:10px;
    margin-bottom:10px;
  }

  /*=============
  base
  =============*/
  body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    word-break: break-all;
}
  



/*スマホ用メニュー
-------------------------------------*/	
.spnavi {
    display: none;

}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin-bottom: 0;/* 元はmargin: 1rem 0 0 0 */

    
}
nav li {
	flex: 1 0 auto;
	margin-bottom: 0;
}
nav li a {
    text-decoration: none;
    text-align: center;
    width: 100%;
	color: var(--white-color);
    font-weight: 700;
}
nav a:hover {
    background-color: var(--back-color-menu-hover);
    color: var(--red-color);
    font-weight: 700;
}
nav a {
    padding: 1.5rem 1rem;/* 元はpadding: 0.5rem   緑メニューの太さの設定 */
    color: var(--nav-color);
}





/*----------印刷時のみ非表示（ここから）----------*/
 @media print{
    .print_none{
        display: none;
    }
}
/*----------印刷時のみ非表示（ここまで）----------*/


  /*PCの場合にはメニューを表示させない*/
@media (min-width: 768px) {
    .for-sp{
       display:none;
     }



 }




@media only screen and  (min-width: 769px){
/*---------- スワイパーの範囲指定 ----------*/
.swiper{

   
}


/* PC時はMENUボタンを非表示 */
#open,#close,#access,#instagram,#x_logo,#sp-fixed-menu {
    display: none !important;
}

#navi {
    display: block !important;
}



}

@media only screen and  (max-width: 768px){
body {
    padding-top: 50px; /* ヘッダーの高さに応じて調整（スマホサイト） */
} 

.header {
	flex-direction: column;
    margin-bottom: 10px;
}
.header #open,#close  {
    position: absolute;
    top: 25px;
    right: 12px;
}
nav ul {
	flex-direction: column;
}
.header li {
	padding-top: 0;
}

.sitetel {
    display:none;
    font-size: 3.0rem;
    margin-top: auto; /* タイトルを下付け */
}

.sns {
    display:none;
    margin-top: auto; /* タイトルを下付け */

}

.img_SP{/* スマホで画像を非表示 */
    display:none;
    vertical-align: bottom;
}
.img_PC{/* スマホで画像を非表示 */
    display: block;
    align-items: flex-end;
}

/*スマホでラインナップの商品画像を小さくする*/
img.lineup {
	max-width:70%;
}
/*スマホでラインナップの商品画像のズームを解除*/
.hoverzoom-img {
    max-width: none;
   }
  .hoverzoom-img img {
    transition: none; /* ゆっくり変化を解除 */
  }
  .hoverzoom-img:hover img {
    transform: none; /* 拡大を解除 */
}

/*スマホでお客様の声の商品画像を小さくする*/
img.customer {
	max-width:70%;
}

/*スマホでステップ1～ステップ6を縦表示*/
.step-row {
    flex-direction: column; /* 横並び→縦並びに */
    gap: 30px;              /* 縦方向の間隔 */
  }

  .step-item {
    width: 100%;            /* 横幅いっぱいに */
    max-width: 200px;       /* 見やすい幅に制限 */
  }



h1.big{
    font-size: 50px;
    font-weight: 900;
    background-position: 0px 0px;
    background-size: 50px 34px; /* 画像サイズ */
    margin: 0px 0px 0px 10px;/* タイトル画像を右に移動 */
    padding: 10px 0px 10px 50px; /* 画像と重ならないように文字列を右に移動 */
    line-height: 18px;
}
h1.small{
    font-size: 10px;
    margin: 0px 0px 0px 10px;/* タイトル画像を右に移動 */
    line-height: 17px;
}


/*スマホでラインナップのテキストの位置*/
.lineup {
    text-align: center;
    font-size:100%;
}

/*スマホでお客様の声のテキストの位置*/
.guest {
    text-align: left;
    padding:0 15%;/* 左右のみ開けてる */
    margin-bottom: 2em;
    }

/*スマホでお客様の声の画像の大きさ*/
.customer {
    max-width:70%;
}

.guest2 {
    text-align: right;
    padding:0 15%;/* 左右のみ開けてる */
    margin-bottom: 1em;
}

.guest3 {
    text-align: center;
    width: 70%;
}

/*スマホで法人欄のボックス3つの上下幅の解除*/
.box_title {
    height: auto; /*  ボックスの高さを指定 */
    }
    
    .box_middle_top {
      height: auto; /*  ボックスの高さを指定 */
    }

/*スマホで正規代理店とリライブシャツとは？の左右にスペースを作る*/
.text-location {
    padding:0 2em;/* 左右のみ開けてる */
}

 /*スマホでクエスチョンの位置*/   
 .question1 {
    margin: 0;
    width: 100%;
    padding-left: 20px; /* または margin-left: 20px; */
}

 /*スマホでメリットの位置*/   




/* スマホ時はMENUボタンを表示 */
#open {
    display: block;
    background: url(../img/button.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 3px;/* MENUボタンの位置(元は25px) */
    right: 12px;
}
#close  {
    display: block;
    background: url(../img/button2.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 3px;/* closeボタンの位置(元は25px) */
    right: 12px;
}
#access {
    display: block;
    background: url(../img/access.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 3px;/* MENUボタンの位置(元は25px) */
    right: 65px;
}

#instagram {
    display: block;
    background: url(../img/instagram_logo.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 40px;
    height: 40px;
    border: none;
    position: absolute;
    top: 8px;/* MENUボタンの位置(元は25px) */
    right: 125px;
}

#x_logo {
    display: block;
    background: url(../img/x_logo.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 40px;
    height: 40px;
    border: none;
    position: absolute;
    top: 8px;/* MENUボタンの位置(元は25px) */
    right: 170px;
}

/*---------- スマホ下部の問合せ欄 ----------*/
/*メニューをページ下部に固定*/
#sp-fixed-menu{
    position: fixed;
    width: 100%;
    bottom: 0px;
    font-size: 0;
    opacity: 0.9;
    z-index: 99;
 }
 
 /*メニューを横並びにする*/
 #sp-fixed-menu ul{
    display: flex;
    list-style: none;
    padding:0;
    margin:0;
    width:100%;
 }
 
 #sp-fixed-menu li{
    justify-content: center;
    align-items: center;
    width: 50%;
    padding:0;
    margin:0;
    font-size: 14px;
    border-right: 1px solid #fff;
 }
 
 /*左側メニューを緑色に*/
 #sp-fixed-menu li:first-child{
    background: #2162fe; /*初期色 緑色 #38b435*/
 }
 
 /*左側メニューをオレンジ色に*/
 #sp-fixed-menu li:last-child{
    background: #ff3232; /*初期色 オレンジ色 #f3a324*/
 }
 
 /*ボタンを調整*/
 #sp-fixed-menu li a{
    color: #fff;
    text-align: center;
    display:block;
    width: 100%;
    padding:20px;
 }


/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}


h1.big{
    font-size: 18px;
}




h2 { /* 幅に合わせて文字サイズを変える */
    font-size: 5.33333vw; /* 文字サイズ(20px) / デザイン幅(375px) * 100 = 5.33333 */
    text-align: center;
    float: center;
}

h3.nagare {
    padding: 0.3rem 2rem 0.3rem 80px;/* 上 | 右 | 下 | 左 */
}

h3.nagare span.chousei {/* 375pxの範囲で改行されるのを修正 */
    font-size: 2.2rem;
  }

h3.kigyou {
    text-align: left;
}



p.kigyou {
    margin-top: 0px;/* スマホ表示時に企業情報の隙間が空くのを防ぐ */
    padding: 0rem 1.5rem;
}




}
    
/*メイン画像
-------------------------------------*/

#header-img {
    width: 100%;
    margin: 0px 0 12px 0;
    text-align: center;
    background-image: url(../img/lineup_bg.png);
    background-color: #ccc;
    background-position: bottom;
  }

#mainimg {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 0 auto;
    position:relative;
}

#mainimg h1 {
    width: 100%;
    background-size: cover;
    display: flex;
    align-items: flex-start;/*初期値center*/
    justify-content: flex-start;/*初期値center*/
    line-height: 2;
    text-align: left;/*初期値center*/
    color: var(--white-color);
    text-shadow: 1px 2px 3px var(--link-color);
    font-weight: 700;
}


#main_photo {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 0 auto;
    position:relative;
  }

#sub_photo {
    width: 95%;
    height: auto;
    display: block;
    margin: 0 auto 0 auto;
    position:relative;
}



/*
.topimg {
    position: absolute;
    
    top: 500px;
}
-*/

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0rem 0rem 0rem;
    background-color:#aaa;    /*sectionの間の色を埋めるために指定してる*/
}
section {
    margin: 3rem 0;
    padding: 0.01rem 0;
    margin-bottom: 0%;/*sectionの下の隙間を表示しない*/

}


.gray-back {
	background-color: var(--back-color);
    /*background: url('../img/gray-back.jpg'); gray-back.jpg背景画像を使用したい時にオンにしてください*/
    background-size: cover;
}

.black-back {
	background-color: var(--back-color2);
    /*background: url('../img/gray-back.jpg'); gray-back.jpg背景画像を使用したい時にオンにしてください*/
    background-size: cover;
    color: #FFF;
}

.flame1 {    /*緑角丸の枠*/
    padding: 1em 1.5em;    /*初期値：0.5em 1em*/
    margin: 2em 0;
    border: solid 5px #006400;
    background-color: #fff;
    border-radius: 10px;
}

.flame2 {    /*白四角の枠*/
    padding: 1em 2em;
    margin: 2em 0;
    background-color:#fff;
}

.flame3 {    /*灰色角丸の枠*/
    padding: 1em 2em;
    margin: 2em 0;
    background-color: #fff;
    /*
    border: solid 5px #a9a9a9;
    border-radius: 10px;
    */
}

.flame4 {    /*セクションロゴの画像をセンタリング--*/
    text-align: center;
}

.flame5 {    /*セクションロゴの画像を左揃え--*/
    text-align: left;
}

.flame6 {    /*セクションロゴの画像を左揃え--*/
    text-align: center;
    background-color: #4c6cb3;
}


}

/*ニュース
-------------------------------------*/
.news {
    margin: 0 auto;
    max-width: 980px;
    padding: 2rem;
}
.news-list{
    list-style: none;
  }
.news-list .item, .item p {
    margin-bottom: 0;
  }
.news-list .item a{
    display: flex;
    flex-wrap: wrap;
    color: var(--nav-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}
.news-list .item:first-child a{
    border-top: 1px solid var(--border-color);
}
.news-list .item .date{
    min-width: 120px;
    color: var(--link-color);
}
.news-list .item a:hover .title{
    color: var(--base-color);
}

/*キャッチコピー
-------------------------------------*/
.catch {
    text-align: center;
    line-height: 1.7;
}
.center {
	text-align: center;
	margin-bottom: 4rem;
}

/* Googleマップ
-------------------------------------*/
.gmap {
	margin: 3rem 0;
}

/*フッター
-------------------------------------*/

.footer2 {
     display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 30px 0 30px 0;
    text-align: center;
    margin: 0;
    font-size: 14px;
    height: 50;
    clear: both;
    width: 100%;



}

.policy, .company {
    padding: 0px 10px 0px 10px;
    margin: 0;
    box-sizing: border-box;
}




footer {
    background-color: var(--back-color); 
    /*background: url('../img/gray-back.jpg'); gray-back.jpg背景画像を使用したい時にオンにしてください*/
    background-size: cover;
    padding: 0 0;
}

footer h4 {
    position: relative;
    padding-bottom: 1rem;
    width: 100%;
    border-bottom: 2px solid var(--border-color);
}
footer h4::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 70px;
    height: 2px;
    background-color: var(--link-color);
}

#footer {

    clear: both;
    width: 100%;
    margin: 0;
    padding: 30px 0 30px 0;
    text-align: center;
    font-size: 14px;
    color: #333333;
    line-height: 1.8;
    background-image: url(../img/head_img_bg.png);
  
  }

#footer a {
    color: #333333;
    font-size: 14px;
    text-decoration:none;
  }
  
  #footer a:hover {
    color: #555555;
    text-decoration:underline;
  }

/*電話
-------------------------------------*/
a.tel {
    display: inline-block;
}
a[href*="0120390404:"] { /* PC時は電話番号無効 */
    pointer-events: none;
    cursor: default;
}
/*お問い合わせ
-------------------------------------*/
.contact-box {
	border: 1px solid var(--border-color);
	text-align: center;
	padding: 2rem 0;
}
.table {
	margin: 4rem 0;
}
.table th {
	width: 150px;
}
input[type="email"], input[type="number"], input[type="search"], input[type="text"], input[type="tel"], input[type="url"], input[type="password"], textarea { 
    background-color: var(--white-color);
}
/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: var(--link-color);
    margin-top: 0%;
}
.copyright a {
    color: var(--white-color);
    text-decoration: none;
	display: inline;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: block;
    width: 40px;
    height: 40px;
    box-sizing: border-box;
    background: var(--white-color);
    border: 1px solid var(--linkhover-color);
    padding-top: 30px;
    text-align: center;
    text-decoration: none;
    opacity: 0.8;
}
#pagetop::after{
    content: "";
    display: block;
    border-top: 2px solid var(--base-color);
    border-right: 2px solid var(--base-color);
    width: 25%;
    height: 25%;
    top: 45%;
    left: 0;
    right: 0;
    margin: auto;
    position: absolute;
    transform: rotate(-45deg);
}
#pagetop:hover{
    opacity: 0.5;
}

/* 下層ページヘッダー
-------------------------------------*/
.subimg {
    height: 350px;
    background: url('../img/subimg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    margin-bottom: 2rem;
}
.subimg h1 {
    height: 350px;
    line-height: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    text-shadow: 1px 2px 3px var(--link-color); 
    margin: 0;
}
/* パンくずリスト
-----------------------------------*/
.breadcrumb {
    margin: 0 0 1em 0;
    padding: 0;	
}
.breadcrumb li {
    list-style-type: none;
}
.breadcrumb li a {
    display: inline-block;
    color: var(--link-color);
}

/* 幅768px以下の表示
-------------------------------------*/
@media only screen and (max-width: 768px){
/*ヘッダー
-------------------------------------*/
.header-box {
    display: none;
}	
/*スマホ用メニュー
-------------------------------------*/	
.spnavi {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 15px;
    text-decoration: none;
    background-color: var(--link-color);   
    color: var(--white-color);
}
.spnavi a {
    display: inline-block;
    color: var(--white-color);
}
.spnavi a:hover {
    opacity: 0.9;
    background-color: var(--link-color);   
    color: var(--white-color);
}
.spnavi::after {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--white-color);
    border-right: 2px solid var(--white-color);
    transform: rotate(45deg);
}

.menu {
	background-color: var(--back-color-menu);
    border-top: 0px solid #fff;/* スマホサイトでのメニューの上の隙間をなくす */
}


/*フッター画像
-------------------------------------*/
.copyright {
    margin-bottom: 60px;
}

/*ページトップへ戻るボタン（スマホサイトで問合せと重なるのを回避）
-------------------------------------*/
#pagetop {
    bottom: 75px;
}



/*メイン画像
-------------------------------------*/
#mainimg {
    top: 40px;/*メイン画像の上側がバーに隠れないように下げている*/
    margin-bottom:80px;/*メイン画像の下に隙間を入れる*/
/*    height: 40vh;　　初期値500px-*/
    min-height: 40vh;/*後から追加した*/

}

/*sectionの上側のスペースを少し開ける（スマホサイトのみ）
-------------------------------------*/
section {
    padding-top: 30px;/*sectionの下の隙間を表示しない*/
}


}

#mainimg h1 {
    height: 350px;
    font-size: 1.8rem;
}
/*ニュース
-------------------------------------*/
.news-list .item .title{
    margin-top: 1em;
}
/*お問い合わせ
-------------------------------------*/
.table th {
	width: 100%;
	display: block;
}	
.table td {
	display: block;
}
}

