@charset "shift_JIS";
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700');

body {
  margin: 0 auto;
  padding: 0;
}

@media only screen and ( max-width : 900px ) {
  body {font-size: 14px;}
}

table {
  margin : 0;
  border-collapse: collapse;
  border-spacing: 0;
  empty-cells: show;
}

img {
  vertical-align: middle;
  border: none;
}

/* ----------------------------------------------
 * アンカータグの設定
---------------------------------------------- */
a {
    outline: none;
    color: #053D93;
}
#gNav a {
    color: #311D1D;
}
a:hover {
    text-decoration: none;
}

a,a:hover,a:hover img {
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    text-decoration: none;
}

a:hover {
  filter: alpha(opacity=80);
  -moz-opacity:0.80;
  opacity:0.80;
}

/* ----------------------------------------------
 * 要素を左右中央寄せ
---------------------------------------------- */
.taC {
  text-align: center !important;
}

.taR {
  text-align: right !important;
}

.taL {
  text-align: left !important;
}

* {
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing:border-box;
  *behavior:url(/scripts/boxsizing.htc)
}
.container{margin:0 auto}
.clr:after,.col:after,.container:after,.group:after,.row:after{content:"";display:table;clear:both}
.row{padding-bottom:0}
.col{display:block;float:left;width:100%}

@media (min-width:901px),print{
  .gutters .col{margin-left:2%}
  .gutters .col:first-child{margin-left:0}
  .gutters .colR:first-child{margin-right:0}
  .sp{display:none}
}
@media(max-width:900px){
  .sp_none{display:none !important;}
}

img {
    max-width: 100%;
    height: auto;
    width /***/:auto; /* 全角スペースを削除 */
}

@media only screen and ( max-width : 900px ) {
  .sbox {
    margin-bottom: 20px;
  }
  .container {
    padding: 0 30px;
  }
  section {
    padding: 0;
  }
}

@media only screen and ( max-width : 480px ) {
  .container {
    padding: 0 20px;
  }
}
@media only screen and ( max-width : 374px ) {
  .container {
    padding: 0 10px;
  }
}

@media print, screen and ( min-width : 901px ) {
  .sbox {
    margin-bottom: 25px;
  }
  .container {
    width: 1200px;
  }
  section {
  }
  .h_nav {
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    border-radius: 10px;
  } 
}

/* ---------------------------------------------------------------------------------------------
    HEADER
--------------------------------------------------------------------------------------------- */
#header {
    z-index: 99;
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
}
#gNav a:hover {
  color: #999;
}
nav li a {
    font-size: 16px;
    letter-spacing: 0em;
    font-weight: normal;
}
nav .sub-menu,.mean-container .mean-nav ul ul {
    background-color: #FBF9DC;
    margin-left: auto;
    list-style: none;
}

/* スマホ用設定 */
@media only screen and ( max-width : 900px ) {
  #header {
    padding: 10px 0;
    height: 95px;
    position: fixed;
    background-color: rgba(255,255,255,0.0);
    background-image: url(images/bg_body.png);
  }
  #h_phone {
    width: 130px;
    position: absolute;
    top:5px;
    right: 65px;
    z-index: 129;
  }
  #h_phone img {
    width: 100%;
  }
  nav li a {
    font-size: 16px;
    letter-spacing: 0.1em;
    border-bottom: 1px dashed #3290E7;
    font-weight: bold;
  }
  .h_logo {
    width: 130px;
    position: absolute;
    top: 0px;
    left: 10px;
    z-index: 130;
  }
  #gNav .nav {
    overflow-y: auto;
    height: 100vh;
  }
  .mean-nav .container {
    padding: 0;
  }
  nav li .fa {
    display: none;
  }
}

/* PC用設定 */
@media print, screen and ( min-width : 901px ) {
  .container {
    position: relative;
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
  #h_phone {
    width: 230px;
    position: absolute;
    top:100px;
    right: 140px;
  }
  #h_phone img {
    width: 100%;
  }
  .h_logo {
    padding-top: 40px;
    padding-bottom: 30px;
    text-align: center;
  } 
  .h_logo img {
    width: 300px;
  }
  #h_top {
    display: block;
    justify-content: space-between;
    align-items: center;
  }
  #gNav ul {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-left: auto;
    list-style: none;
  }
  #gNav li {
    position: relative;
    margin-right: 5px;
    margin-left: 5px;  
    text-align: center;
  }
  #gNav ul > li img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 15px;
  }
  #gNav li:last-child {
    margin-right: 0;
  }
  #gNav li i {
    font-size: 16px;
    margin-left: 5px;
  }
  #gNav li a {
    position: relative;
    display: block;
    text-align: center;
    line-height: 30px;
  }
  #gNav .sub-menu {
    visibility: hidden;
    opacity: 0;
    z-index: 1;
    display: block;
    position: absolute;
    top: 50px;
    left: 50%;
    margin-left: -100px;
    width: 220px;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 5px;
    padding-left: 10px;
    border-radius: 10px;
    background-color: #F5DEC9;
  }
  #gNav .sub-menu a {
    display: block;
    border-bottom: none;
    padding: 20px;
    line-height: 1.2em;
  }
  #gNav .sub-menu a:hover:after {
    content: none;
  }
  #gNav .sub-menu li {
    display: block;
    font-size: 15px;
    padding: 0;
    margin-bottom: 5px;
    border: 2px dashed #A0CBED;
    border-radius: 10px;
    background-color: #FFFFFF;
  }
  #gNav ul > li:hover {
    -webkit-transition: all .5s;
    transition: all .5s;
  }
  #gNav ul > li:hover a,#gNav .current-menu-item a,#gNav .current-menu-parent a {
    color: #E83148;
  }
  #gNav li:hover ul.sub-menu {
    top: 80px;
    visibility: visible;
    opacity: 1;
    z-index: 98;
  }
  #gNav li ul li:after {
    content: none;
  }
  #gNav li:hover ul.sub-menu a {
    color: #111;
  }
  #gNav .sub-menu li a:hover {
    background: #fff;
  }
  #gNav .contact_btn a:hover {
    color: #fff;
  }
} /* ← PC用メディアクエリをここで正しく閉じました */

/* ---------------------------------------------------------------------------------------------
    FOOTER
--------------------------------------------------------------------------------------------- */
#footer {
    font-size: 14px;
}
.f_logo,.f_logo p {
  text-align: center;
}
.copy {
  text-align: center;
}
@media only screen and ( max-width : 900px ) {
  #footer {
    padding: 40px 0;
    background-color: #DDDDDD;
  }
  .f_logo {
    padding: 0 20px;
    text-align: center;
  }
  .f_logo p {
    text-align: center;
  }
  .f_logo img {
    margin-bottom: 20px;
    width: 200px;
  }
}

@media print, screen and ( min-width : 901px ) {
  #footer {
    padding: 30px 0;
    background-color: #DDDDDD;
  }
  .f_logo img {
    margin-bottom: 20px;
    width: 300px;
  }
}

/* ---------------------------------------------------------------------------------------------
    CONTENTS
--------------------------------------------------------------------------------------------- */
#main p {
  word-break: break-all;
}

section {
  text-align: center;
}

#sec01 { background: #cadffa; }
#sec02 { background: #99c1f3; }
#sec03 { background: #7ea7d9; }
#sec04 { background: #618bbe; }

.btn {
  display: block;
  background: #fff;
  color: #618bbe;
  padding: 0.8em 1em;
  text-align: center;
  margin: 0 auto;
  border-radius: 100px;
}
.btn:before {
  content: "\f104";
  font-family: "FontAwesome";
  margin-right: 5px;
}

@media only screen and ( max-width : 900px ) {
  #main {
    padding-top: 110px;
  }
  .btn {
    width: 60%;
  }
}

@media only screen and ( max-width : 480px ) {
  .btn {
    width: 100%;
  }
}

@media print, screen and ( min-width : 901px ) {
  #main {
    padding-top: 0px;
  }
  .btn {
    width: 300px;
  }
}







/*メニューアイコンのサイズ指定*/
@media screen and (max-width:768px){
	.nav li span img {
		width: 35px;
		padding-right: 10px;
	}	
		}