/* IMPORT CSS */
@import url("grid.css");

img {
	/*max-width:100%;*/
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: #003399;
    text-decoration-line: none;
}
a:hover { 
    /*color: #3366cc;*/
	color: #333333;
}

p.left {
	text-align: left;
	padding: 0 8px;
}
p.center {
	text-align: center;
	padding: 0 8px;
}
p.right {
	text-align: right;
	padding: 0 8px;
}
p.catchphrase {
	padding: 0px 0 20px ;
}
.pc-br,.pc-txt {
	 display: inline;
}
.sp-br,.sp-txt {
	 display: none;	
}
h3 {
	text-align: center;
	color: #003399;
	padding: 20px auto;
}
h3.midashi {
	text-align: left;
	color: #003399;
	padding: 20px auto;
	font-size: 20px;
}
@media screen and (max-width: 480px){
.pc-br,.pc-txt {
	 display: none;
}
.sp-br,.sp-txt {
	 display: inline;
}
p.catchphrase {
	padding: 0px 10px 20px;
	text-align: left;
}
p.left,p.right,p.center {
	margin-bottom: 30px;
}
}
/*ヘッダー
-------------------------------------*/
.header {
	display: flex;
    flex-direction: row;
    padding: 2rem 0 1rem 0;
}
.header-box {
	margin-left: auto;
	margin-top: 8px;
}
.header-box2 {
	margin-left: 60px;
	margin-top: 8px;
	font-size: 16px;
	font-weight: bold;
	line-height: 20px;
}

.call {
	font-size: 26px;
	font-weight: bold;
}
.contact-button {
	color: #fff;
	font-weight: bold;
	background-color: #ff6600;
	padding: 1.5rem;
	border: 1px solid #ff6600;
	border-radius: 30px;
}
.contact-button a:hover{
    opacity: 0.7;
}
@media screen and (max-width: 768px){
.contact-button {
	 display: none !important;
}
.call {
	font-size: 16px;
	font-weight: bold;
}
.header-box2 {
	margin-left: 20px;
	margin-top: 16px;
	font-size: 16px;
	font-weight: bold;
	line-height: 10px;
}
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin: 1rem 0 0 0;
}
nav li {
	flex: 1 0 auto;
}
nav li a {
    text-decoration: none;
    text-align: center;
    width: 100%;
}
nav a:hover {
    background-color: #f7f7f7;    
}
nav a {
    padding: 0.5rem;
}

@media screen and (min-width: 760px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}
}

@media screen and (max-width : 1200px ){
.header {
	flex-direction: column;
    margin-bottom: 10px;
}
.header #open,#close  {
    position: absolute;
    top: 20px;
    right: 12px;
}
nav ul {
	flex-direction: column;
}
.header li {
	padding-top: 0;
}
/* スマホ時はMENUボタンを表示 */
#open,#close  {
    display: block;
    width: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
}
    
/*メイン画像
-------------------------------------*/
.mainimg img {
    width: 100vw;
}
/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 0 0;
}
section {
	margin: 3rem 0;
	padding: 3rem 0;
}
@media (max-width: 480px) {
section {
	margin: 0rem 0;
	padding: 2rem 0;
}
.white-back {
	background-color: #fff;
	margin: 3rem 0;
}
}
.gray-back {
	background-color: #f4f4f4;
}
.blue-back {
	/*background-color: #a5c8de;*/
	background-color: #c2e2bf;
}
.bg-img03 {
	background-color: #f7f7f7;
	/*background-image: url(../images/background-image03.jpg);*/
	background-repeat:repeat-y;
	background-repeat: no-repeat;
	background-size: contain;
}
.bg-img04 {
	background-image: url(../images/background-image04.jpg);
	background-repeat:repeat;
	width:100%;
}
.bg-img05 {
	background-image: url(../images/background-image05.jpg);
	background-repeat: no-repeat;
	background-size: contain;
}
.bg-img06 {
	/*background-color: #fbf8df;*/
	background-image: url(../images/background-image06.jpg);
	background-repeat: no-repeat;
	background-size: contain;
}
/*キャッチコピー
-------------------------------------*/
.catch {
    text-align: center;
}
.catch h2 {
    padding-bottom: 1rem;
	color: #ff6600;
}
@media (max-width: 480px) {
.small {
    font-size:22px;
}
}
.under {
    border-bottom: 0.4rem solid #6699ff;
    padding:0 1rem 1rem 1rem;
}
.center {
	text-align: center;
	margin-top: 4rem;
	margin-bottom: 4rem;
}
.left {
	text-align: left;
	margin-top: 4rem;
	margin-bottom: 4rem;
}
.catch p {
	line-height: 2.5em;
}
/*強調文字
-------------------------------------*/
.emphasis {
	font-weight:bold;
    font-size: 24px;
	line-height: 2.5em;
}
@media (max-width: 480px) {
.emphasis {
	font-weight:bold;
    font-size: 18px;
	line-height: 1.5em;
}
}
.orange {
	color:  #cc6633;
    text-align: center;
	padding: 8px 0;
}
.black {
	color:  #000;
    text-align: center;
	font-weight: bold;
	padding: 8px 0;
}
.darkgray {
	color:  #333;
    text-align: center;
}
.precautionstext {
text-decoration:underline;/*下線を引く*/
text-decoration-color:#FF0000;/*下線を赤色*/
}
.gimon {
	width: 600px;
	/*margin-left:8px; */
	margin: 30px auto;
  border: solid 3px #e1dede;/*線色*/
  padding: 0.75em;/*文字周りの余白*/
  border-radius: 0.5em;/*角丸*/

}
.gimontxt {
	text-align: left;
	font-weight: bold;

}
@media screen and (max-width: 480px){
.gimon {
	width: 90%;
	margin: 0 auto;
}
}
/*ロケケーション
-------------------------------------*/
.pc-img {
	 display: inline;
}
.sp-img {
	 display: none;	
}
@media screen and (max-width: 480px){
.pc-img {
	 display: none;
}
.sp-img {
	 display: inline;
}
}
/*よくある質問
-------------------------------------*/
.flow.row {
	margin-bottom: 3rem;
}
.qa_img {
    width:  180px;       /* ※縦横を同値に */
    height: 180px;       /* ※縦横を同値に */
    border-radius: 50%;  /* 角丸半径を50%にする(=円形にする) */
    background-position: center center;  /* 横長画像の中央を基準に表示 */
    display: inline-block;          /* 複数の画像を横に並べたい場合 */
}	
.staff_img {
	padding: 30px 0;
}
.staffcopy {
	padding: 40px 0;
	line-height: 1.8em;
}
.question {
	font-size: 18px;
    font-weight: bold;
	color: #336699;
}
.company{
	font-size: 20px;
	font-weight: bold;
	
	}
@media (max-width: 480px) {
.company-sub {
	font-size: 11px;
	line-height: o.5em;	
	}
.staffcopy {
	padding: 20px 0;
	text-align: left;
	line-height: 2.0em;
}
}
/*フッター
-------------------------------------*/
footer {
    background-color: #f7f7f7;
    /*background-color: #fff;*/
    padding: 5rem 0;
}
footer h4 {
    border-bottom: 3px solid #ccc;
}

/*お問い合わせ
-------------------------------------*/
.contact-box {
	border: 1px solid #ccc;
	text-align: center;
	padding: 2rem 0;
}
.table {
	margin: 4rem 0;
}
.table th {
	width: 250px;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    color: #fff;
    padding: 1rem 0;
    background-color: #000;
}
.copyright a {
    color: #cccccc;
    text-decoration: none;
	display: inline;
}
@media (max-width: 480px) {
.copyright a {
    font-size: 9px;
	}
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background: #000;
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background: #666;
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width : 1200px ){
	
/*ヘッダー
-------------------------------------*/

h1 .logo {
	 color: #3399cc;
	  font-size: 24px;
	}
/*お問い合わせ
-------------------------------------*/
.table th {
	width: 100%;
	display: block;
}	
.table td {
	display: block;
}
}

@media (max-width: 480px) {	
/*ヘッダー
-------------------------------------*/
.header-box.header-box2 {
	display: none;
}
.call {
	display: none;
}
}


.btn-square {
  display: inline-block;
  font-size: 30px;
  font-weight: bold;
  padding: 0.5em 2.5em;
  text-decoration: none;
  background: #ff6600;/*ボタン色*/
  color: #FFF;
  border-bottom: solid 4px #666666;
  border-radius: 50px;
}
.btn-square a:hover { 
    color: #ffffff;
}
.btn-square:active {
  /*ボタンを押したとき*/
  -webkit-transform: translateY(4px);
  transform: translateY(4px);/*下に動く*/
  border-bottom: none;/*線を消す*/
}

.tel {
  font-size: 48px;
  font-weight: bold;
  padding: 0.5em 2.5em;
}
@media screen and (max-width: 768px){
.btn-square,.tel {
  font-size: 24px;
  font-weight: bold;
  padding: 0.75em 1em;
}

}
.sns ul {
     overflow: hidden;
     letter-spacing: -.5em;
}
.sns li {
     display: inline-block;
     /*width: 50%;*/
     vertical-align: middle;
     letter-spacing: 0;
     text-align: center;
}
 .sns li a {
     margin: -4em 0;
     padding: 5em 1em;
     display :block;
}
 .anchor_btn {
  margin: 10px auto;
  width: 180px;
  font-size: 14px;
  text-align: center;
  border: solid 2px #ff6600;/*線色*/
  padding: 0.5em;/*文字周りの余白*/
  border-radius: 0.5em;/*角丸*/
}

.kimari ul {
	/*display: flex;*/
    /*flex-direction: row;*/
    /*justify-content: space-around;*/
    list-style: none;
	margin: 0.25rem 0 0 0;
}
.kimari li {
	padding-top:10px;
  padding-bottom:10px;
    /*flex: 1 0 auto;*/
}
/*電話番号
-------------------------------------*/
@media (min-width: 751px) {
a[href*="tel:"] {
pointer-events: none;
cursor: default;
text-decoration: none;
}
}
