/* ====================================================
 * KAGAYAKI deputize Style CSS
 * ===================================================*/
@charset "utf-8";

* {
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: "Kagayakilogo";
  src: url("./font/Kagayakilogo-Regular.eot");
  src: url("./font/Kagayakilogo-Regular.eot?#iefix") format('embedded-opentype'),
       url("./font/Kagayakilogo-Regular.woff") format('woff'),
       url("./font/Kagayakilogo-Regular.ttf") format('truetype');
}

div.header_cpname {
  font-size: 26px;
  font-family:"Kagayakilogo" , "HG正楷書体-PRO" , "Roboto Slab" , Garamond , "Times New Roman" , "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "ヒラギノ明朝 Pro W3" , "Hiragino Mincho Pro" , "HiraMinProN-W3" , "HGS明朝E" , "ＭＳ Ｐ明朝" , "MS PMincho" , serif;
}
@media screen and (min-width : 480px){
    div.header_cpname{ font-size : 32px;  left: 10%;} 
}

@media screen and (min-width : 780px) {
    div.header_cpname{ font-size : 46px;  left: 15%;} 
}

html {
  background-color: #FFFFFF;
*  scroll-behavior: smooth;*/
}

body {
  font-size: 16px;
  font-family: 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  max-width: 100%;
  min-height: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0px;
  margin-bottom: 0px;
  padding: 8px;
  -webkit-text-size-adjust: 100%;
  background-color: #fdfdfd;
  background: linear-gradient(90deg, #00608d 0%, #F3F3F3 8%, #F3F3F3 92%, #00608d 100%);
  border-right: 0px solid #999999;
  border-left: 0px solid #999999;
  overflow-y: scroll;
  color: black;
}
@media screen and (min-width : 480px){
    body{ font-size : 18px; }
}

@media screen and (min-width : 780px) {
    body{ font-size : 20px; }
}

a.top-link:link,
a.top-link:visited {
  color: black;
}

div.head_right {
  bottom: -5px;
}
div.head_inquiry {
  background-color: transparent;
  width: 100%;
  padding: 18px 20px 18px 0;
}
img.telicon {
  margin: 0 auto;
  width : 30px;
}
@media screen and (min-width : 780px) {
    img.telicon{ width : 60px; }
}
a.head_text {
  font-family: 'ヒラギノ角ゴシック Pro', 游ゴシック体, 'Yu Gothic', YuGothic, 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  position: static;
  background-color: #ffefd5;
  box-shadow: 3px 3px 3px 0px #505050;
  border-radius: 3px;
}
a.head_text:active {
  box-shadow: none;
  position: relative;
  top: 2px;
}

p.cl {
  clear:both;
}

hr {
  margin: 2em auto;
  border: 0;
  height: 1px;
  background: #b0b0b0;
  background-image: -webkit-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
  background-image: -moz-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
  background-image: -ms-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
  background-image: -o-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
}






div.center {
  text-align: center
}

div.topboard {
  margin-bottom: 0.5em;
}
div.topboard img{
  width : 80%;
}
div.samplesite {
  width: 35%;
  vertical-align: top;
  margin: 1em;
}
div.ib {
  display: inline-block;
}
div.sheep img{
  width : 30%;
}
div.logo img{
  width : 40%;
}
img.website {
  width: 100%;
}

@media screen and (min-width : 780px){
  div.topboard img{ width : 700px; }
  div.sheep img{ width : 200px; }
  div.logo img{ width : 300px; }
}}
@media screen and (min-width : 700px){
  div.samplesite { width: 80%;}
}

span.exsamples {
  font-size: 0.8em;
}


div.normal {
  width: 80%;
  margin: 0 auto;
  max-width: 1200px;
}


div.colorbox-container {
  width: 100%;
  text-align: center;
}

div.colorbox {
  display:inline-block;
  width: 80%;
  max-width: 780px;
  margin: 0.3em 0.5em;
  padding: 0.9em 0.9em 0.6em 0;
  border-radius: 3px;
  font-weight: bold;
}
@media screen and (min-width : 780px){
  div.colorbox { width : 45%; }
}

div.blue {
/*  background: #36478D; */
  background: #4472C4;
  color: #FEFEFE;
}
div.pink {
/*  background: #FF5C9F; */
  background: #FF5C9F;
  color: #FEFEFE;
}
div.green {
  background: #00B050;
  color: #FEFEFE;
}
div.orange {
  background: #FFC796;
  color: #020202;
}
div.yellow {
  background: #FFFCAB;
  color: #483737;
}

p.service {
  text-align: center;
  padding-left: 0.5em;
  padding-right: 0.5em;
  font-size: 24px;
}
p.price {
  text-align: center;
  font-size: 22px;
}
span.ext20pc {
  font-size: 1.2em;
}
span.rdc20pc {
  font-size: 0.8em;
}
span.note {
  font-size: 0.8em;
}
span.tax {
  font-size: 0.5em;
}
@media screen and (min-width : 780px){
p.service {font-size: 32px;}
p.price   {font-size: 30px;}
}
div.inner-table {
  display: table;
  width: 100%;
}
div.topicon-container{
  width: 35%;
  margin: 0 auto;
}
img.topicon {
  display: table-cell;
  width : 60px;
}
p.topwretter {
  width: 75%;
  display: table-cell;
  text-align: left;
  vertical-align: middle;
  padding-left: 1em;
}
@media screen and (min-width : 780px){
  img.topicon { width : 80px;}
}




span.font-small {
  font-size: 16px;
}

hr.flex-hr {
  display: block;
  width: 100%;
}

@media screen and (min-width:780px) { 
  hr.flex-hr { display: none; }
  br.flex-br { display: none; }
}


li.link {
  display: block;
}
a.link:link {
  color: #050505;
  text-decoration: none;
}
a.link:visited {
  color: #050505;
  text-decoration: none;
}
a.link:hover {
  color: #FF2222;
}
a.link:active {
  color: #FF0000;
}

a.conv {
  font-weight: bold;
}

div.center_link {
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin-top: 2em;
}
div.service_link, div.apply_link {
  width: 300px;
  text-align: center;
  margin: 0.2em auto;
  border-radius: 5px;
  text-shadow: 0.1px 0.1px 0.1px #c0c0c0;
  box-shadow: 0 1px 1px #c0c0c0;
}
div.service_link:active, div.apply_link:active {
  box-shadow: none;
  position: relative;
  top: 2px;
}
div.service_link {
  background: #d7ebfe;
  background: linear-gradient(#d7ebfe 0%, #c7dbee 100%);
}
div.apply_link {
  background: #ffefd5;
  background: linear-gradient(#ffefd5 0%, #efdfc5 100%);
}
@media screen and (min-width:780px) { 
  div.center_link {  flex-direction: row;}
}


div.box-corp{
  width: 80%;
  max-width: 1000px;
  margin: 2em auto;
  padding: 0.25em 1em;
  border: solid 2px #ffcb8a;
  border-radius: 0;
  background-color: #ffefd5;
  color: #000020;
  font-size: 16px;
}
@media screen and (min-width:480px) { 
  div.box-corp{  font-size: 24px;}
}

table.tbl-corp {
  margin: 0.2em 0 0.2em 0.2em;
}
table.tbl-corp tr td:nth-child(1){
  width: 2.8em;
}
span.flex-small {
  font-size: 14px;
}

form {
  font-size: 16px;
}
label {
    display: inline-block;
    width: 100px;
    text-align: right;
}
@media screen and (min-width:480px) {
  table.tbl-corp {  margin: 0.4em 0 0.4em 1.5em; }
  table.tbl-corp tr td:nth-child(1){ width: 4em; }
  span.flex-small { font-size: 18px; }
  form  { font-size: 20px;  }
  label {     width: 160px; }
}

.consul {
  font-size: 16px;
}

#consul_name {
  width: 200px;
}

#consul_telnumber {
  width: 200px;
}

div.mailerbtn {
  padding-left: 20px;
}
div.mailerbtn button {
  font-size: 1em;
  margin: 0.4em 0 0.5em 0;
}

#mailadrs {
  color: #000020;
}

img.serviceicon {
  width : 28px;
}
@media screen and (min-width:480px) { 
  .consul { font-size: 18px;}
  div.mailerbtn {  padding-left: 220px; }
  div.mailerbtn button {
    font-size: 1em;
    margin: 0.2em 0 0.5em 0;
  }
  #consul_name {     width: 270px; }
  #consul_telnumber {width: 270px; }
}


div.cpname {
  width: 50%;
  margin: 2em auto;
  font-family:"HG正楷書体-PRO" , "Roboto Slab" , Garamond , "Times New Roman" , "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "ヒラギノ明朝 Pro W3" , "Hiragino Mincho Pro" , "HiraMinProN-W3" , "HGS明朝E" , "ＭＳ Ｐ明朝" , "MS PMincho" , serif;
  font-size: 32px;
/*  font-weight: bolder; */
  white-space: nowrap;
}

#corplogo {
  color: #111111;
  text-decoration:none; 
}


div.fotter {
  background: #2F3F84;
  font-size: 12px;
  text-align: right;
  color: #aaaaaa;
}

.white_link a:link {
  color: #FFFFFF;
  text-decoration: none;
}
.white_link a:visited {
  color: #FFFFFF;
  text-decoration: none;
}
.white_link a:hover {
  color: #FF0000;
}
.white_link a:active {
  color: #FF0000;
}

.black_link a:link {
  color: #000000;
  text-decoration: none;
}
.black_link a:visited {
  color: #000000;
  text-decoration: none;
}
.black_link a:hover {
  color: #FF0000;
}
.black_link a:active {
  color: #FF0000;
}

/* 吹き出し用 */

.left-balloon {
  width: 100%;
  margin: 1.5em 0;
  overflow: hidden;
}

.left-balloon .faceicon {
  float: left;
  margin-right: -90px;
  width: 80px;
}

.left-balloon .faceicon img{
  width: 100%;
  height: auto;
  border: solid 3px #eee8aa;
  border-radius: 50%;
}

.left-balloon .chatting {
  width: 100%;
}

.left-says {
  display: inline-block;
  position: relative; 
  margin: 5px 0 0 105px;
  padding: 17px 13px;
  border-radius: 12px;
  background: #FFFCC5;
  color: #0B0012;
}

.left-says:after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 18px; 
  left: -24px;
  border: 12px solid transparent;
  border-right: 12px solid #FFFCC5;
}


.right-balloon {
  width: 100%;
  margin: 1.5em 0;
  overflow: hidden;
}

.right-balloon .faceicon {
  float: right;
  margin-right: 6px;
  width: 80px;
}

.right-balloon .faceicon img{
  width: 100%;
  height: auto;
  border: solid 3px #d7ebfe;
  border-radius: 50%;
}

.right-balloon .chatting {
  width: 100%;
   width : -webkit-calc(100% - 86px) ;
   width : calc(100% - 86px) ;
}

.right-says {
  display: inline-block;
  position: relative; 
  float: right;
  margin: 5px 20px 0 auto;
  padding: 17px 13px;
  border-radius: 12px;
  background: #C7EBFF;
  color: #1F0500;
}

.right-says:after {
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  right: -12px;
  top: 20px;
  border-left: 15px solid #C7EBFF;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
}

/* チェックポイント */
img.checkpoint {
  width: 40px;
  margin-left: 1em;
}
td.cpsecond {
  padding-left: 0.5em;
  font-weight: bold;
}



div.fb-wrapper {
  width: 500px;
  margin: 0 auto;
}
@media screen and (max-width:760px) { 
  div.fb-wrapper {
    width: 80%;
    max-width: 500px;
  }
}

img.fb-icon {
  width: 3em;
}


/* トップへ戻るボタン */
#btt {
  height: 50px;
  width: 50px;
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: #2F3F84;
  border: solid 2px #5F6Fb4;
  border-radius: 50%;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2;
}
.btt_arrow {
  height: 10px;
  width: 10px;
  border-top: 3px solid #fefefe;
  border-right: 3px solid #fefefe;
  transform: translateY(20%) rotate(-45deg);
}
#btt.active {
  display: flex;
}

