@charset "utf-8";
/* ===================================================================

	-	html
	-	font
	-	body

	-	@media print

=================================================================== */

html{
  overflow-y: scroll;
  height: 100%;
}

/*--------------------------------------------------------------------------
   font
---------------------------------------------------------------------------*/



/*--------------------------------------------------------------------------
   body
---------------------------------------------------------------------------*/
body{
  width: 100%;
  min-width: 320px;
  height: 100%;
  font-family: 'Robot', 'Noto Sans Japanese', Arial, 'ヒラギノ角ゴ ProN W3',"Hiragino Kaku Gothic ProN","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",sans-serif;
  font-size: 18px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  font-weight: 300;
}


img{
  border-style: none;
  max-height: none;
}


/*--------------------------------------------------------------------------
   base link
---------------------------------------------------------------------------*/
a{
  outline: none;
  cursor : pointer;
  color:#fff;
  transition:all 0.3s ease 0s;
}
a:link,
a:visited{
  color:#fff;
  text-decoration: none;
}
a:hover{
  color:#fff;
  text-decoration: none;
  outline: none;
}
a:active{
  outline: none;
}
a.hover{
  text-decoration:none;
}



/*--------------------------------------------------------------------------
   見出し　
---------------------------------------------------------------------------*/

h1{
  font-size: 2.5em;
  line-height: 1.3em;
  margin-bottom: 2rem;
  height: auto;
}

h1.main-ttl{
  text-align: center;
  margin-top: 3em;
  font-size: 3em;
  color: #005bac;
  font-weight: 700;	
	
}

h1.main-ttl span{
	  font-size: 1.5em;
}

#top h1{
  text-align: center;

  font-size: 5em;
  color: #005bac;
  font-weight: 700;	
	
}


h2{
  color: rgba(255,255,255,1.00);
  font-weight: 700;
  text-align: center;
  background-color: #042275;
  margin-bottom: 0.5em;
  padding-top: 0.3em;
  padding-right: 0.3em;
  padding-bottom: 0.3em;
  padding-left: 0.3em;
  font-size: 1.3em;
}

h2.digital-midashi{
  color: #005bac;
  background-color: #005bac;
  font-weight: 700;
  text-align: center;
  background-color: #c7e8fa;
  margin-top: 1em;
  margin-bottom: 1em;
  padding-top: 0.5em;
  padding-right: 0.5em;
  padding-bottom: 0.5em;
  padding-left: 0.5em;
  font-size: 1.5em;
}

h3{
	text-align: center;

    margin-top: 2rem;
  margin-bottom: 1rem;
}


span.font-em{
	font-weight: 700;
	color: #005bab;
	
}

/*-- list --------------------------*/

ul.list-square{}
.list-square li{
  text-indent: -1.5em;
  margin-left: 2em;

}

.list-square li:before {
    content: "■";
    color: #005bac;
	margin-left:0.2em;
	margin-right:0.3em;
	bottom: 1em;
	
}

li.list-mark-none{  text-indent: 0em;
  margin-left: 0em;}
li.list-mark-none:before{
	content:"";   	
}


/*-- layout --------------------------------------------*/

.p-center{
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}


.flex-container{
	display:flex;	
	flex-flow: row wrap;
	justify-content:space-between;
margin-top: 2em;}

.flex-container div{width: 45%;
}

















/*--------------------------------------------------------------------------
   header
---------------------------------------------------------------------------*/
header{
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  transition: .3s;
  background-color: rgba(255,255,255,0);
	
	display: flex;
	align-content: space-between;
}

.is-fixed  {
  position:  fixed;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  background-color: rgba(255,255,255,0.8);
  -webkit-transition: all .4s ease 0s,background .6s ease .2s;
  transition: all .4s ease 0s,background .6s ease .2s;
  -webkit-overflow-scrolling: touch;
  overflow-scrolling: touch;
  height: 100px;
}



.h-logo{
z-index: 3;
}

nav{
	overflow: hidden;
	z-index: 3;



	
}

nav li{
	float: left;
	margin-right:1em;
	margin-left:1em;
}


nav li:first-letter{
	color:red;

}


main{
  background-color: rgba(225,225,225,1.00);
  padding-bottom: 5em;
  overflow: hidden;
}


/*--------------------------------------------------------------------------
   footer
---------------------------------------------------------------------------*/


footer{
	text-align: center;
	width: 1025px;
  margin: 1em auto;
  padding: 2em 3em;

}

footer .copy{
	margin-top: 2em;
	color: rgba(160,160,160,1.00);
}

footer p{margin-top: 1em;}





/*--------------------------------------------------------------------------
   section
---------------------------------------------------------------------------*/
section{
width: 100%;
padding-top:5em;
padding-bottom:5em;
	margin-left:auto;
	margin-right: auto;
	
}


 .section-box{
  width: 1025px;
  margin: 5em auto;
  padding: 2em 3em;
  border: 5px solid #bbd4ef;/*線*/
  border-radius: 20px;/*角の丸み*/
  -webkit-box-shadow: 10px 10px 10px rgba(200,200,200,1.00);
  box-shadow: 10px 10px 10px rgba(200,200,200,1.00);
  position: relative;
  background: #fff;
  overflow: hidden;
	 

}

 .section-box::before {
	 content: '';
    position: absolute;
    top: 0;
    left: 0;
    border-style: solid;
    border-width: 70px 70px 0 0 ;
    border-color: #fce8a9 transparent transparent transparent;
}




/*-- top ---------------------------*/

#top{
  background-image: url(../img/iyakuhinshu-top-back.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 0;
  padding-bottom: 0;
  background-color: white;
	width: 100%;
  height: 100vh;
  min-height: 950px;
}

#top .sec-wrap{
  text-align: center;
  top: 200px;

}

#top .smart{
  background-image: url(../img/iyakuhinshu-top-1.png);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  height: 150px;
  background-size: 150px auto;
  width: 450px;
  margin-top: auto;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 1em;
  min-height: 0px;
  padding-top: 2em;
}

#top .smart p{
  background-color: #005bab;
  padding-top: 0.3em;
  padding-right: 0.3em;
  padding-bottom: 0.3em;
  padding-left: 0.3em;
  color: rgba(255,255,255,1.00);
  position: relative;
  top: 30%;
  bottom: auto;
	
}


/*    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
	*/



.keigen-flow{
  text-align: center;
  margin: 0 auto;
  padding-top: 0px;
  display: block;
}

/*-- digital ------------------------*/

#digital .naze{
    background: #C7E8FA;
    height: 100px;
    width: 100px;
text-align: center;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
	    transform: rotate(-10deg);
    -moz-transform: rotate(-10deg);
    -webkit-transform: rotate(-10deg);
	position: absolute;

}

.naze p{
  font-weight: 700;
  display: block;
  position: relative;
  top: 35px;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  color: #005bac;
  font-size: 1.3em;

}

.naze-txt{ 
	width: 70%; 
	margin-left:auto; 
	margin-right:auto;
}

/*-- sakuin ----------------*/
#sakuin{
  height: 420px;
}
.sakuin-sample1{
	right:3em; 
	top:3em; 
	position: absolute; 
}
.sakuin-sample2{
	position: relative;
	left: 9em; 
	top:4em;
}




/*-- contact ---------------*/
#contact{
	  width: 1025px;
  margin: 0em auto;
	text-align: center;
}



#contact .number{
  font-size: 2em;
  font-weight: 700;
  height: 80px;
}

#contact p{ position: relative;}

.icon-tel{
vertical-align: -25px;
}


.icon-fax{
vertical-align: -25px;
}


#contact .fax::before{
 content: "";
 background-image: url(../img/iyakuhinshu_icon-tel.png);

	display: inline-block;
}

#contact .contact-flex-item{
  width: 450px;

	margin: 0em auto;
  border: 5px solid #bbd4ef;/*線*/
  border-radius: 20px;/*角の丸み*/
  -webkit-box-shadow: 10px 10px 10px rgba(200,200,200,1.00);
  box-shadow: 10px 10px 10px rgba(200,200,200,1.00);
  position: relative;
  background: #fff;
  overflow: hidden;
  text-align: center;
	
}

#contact h2{
margin: 0 auto;}






@media print{
.newpage_before{page-break-before:always;}
    body {
        zoom: 0.5;
        -webkit-print-color-adjust: exact;
    }
#top{background-size: 200%;}
	}








/*---------------------------------------------*/
@media screen and (max-width: 480px) {
	/* 480px以下に適用されるCSS（スマホ用） */
	
	body{
		font-size: 13px;}
	
	.section-box{
			width: 90%;
			padding: 2em 0.5em;}
	
	
	/* --- contents --- */
#top .smart{width: 100%;}

	
#sakuin{ height:100%}
	.sakuin-txt{text-align: center;}
.sakuin-sample1{
	position:static;
	margin-top:1em;
}
.sakuin-sample2{
	position: static;
margin:1em auto 0 auto;
}

	
	
	
	
	
	
	
	

	#digital .naze{

    height: 70px;
    width: 70px;
}

.naze p{

  top: 23px;

}

.naze-txt{ 
	width: 75%; 
	margin-left:auto; 
	margin-right:0;
}



#contact{
	  width: 80%;
}
#contact .contact-flex-item{
	margin-top:1rem;
  width: 90%;
}

footer{
	width: 100%;
	padding-left:0;
	padding-right: 0;}	
	
	
	
	
	
	
	/* --- 見出し --- */
	#top h1{font-size: 4em;}
h1.main-ttl{font-size: 2.8em;}
	.section-box h1{margin-left: 1em;}
	.section-box h2{padding:0.5em 1em;
	font-size: 1.1em}
	
	/* --- img --- */
	img{
			max-width: 100%;
			height:auto;
	}
	
	
	
	
	/* --- list --- */
		ul.list-square{}
.list-square li{
  text-indent: -1.5em;
  margin-left: 2em;
}

.list-square li:before {
    content: "■";
    color: #005bac;
	margin-left:0.2em;
	margin-right:0.3em;
	bottom: 1em;
	
}

li.list-mark-none{  text-indent: 0em;
  margin-left: 0em;}
li.list-mark-none:before{
	content:"";   	
}
	
	
	
	/* --- flex --- */
	.flex-container{
		flex-direction:column;
		align-items:center;
		justify-content: space-around;
	}

	.flex-container div{width: 100%;
}
	
	/* --- margin --- */
	.sp-mt-1{margin-top: 1rem;}	


	
	
	
	
}	
	
	

