﻿@charset "UTF-8";
@import url(https://fonts.googleapis.com/css?family=Noto+Sans+JP:300,400,500,700,900&display=swap&subset=japanese);
@import url(https://fonts.googleapis.com/css?family=Barlow+Semi+Condensed:300,400,500,600,700&display=swap);
@import url("grid.css");

:root { /* 色変更される場合は、#以降のカラーコードを変更してください IE非対応 */
    --base-color: #000;
    --link-color: #666;
    --linkhover-color: #999;
    --back-color: #f7f7f7;
    --border-color: #ccc;
    --white-color: #fff;
    --nav-color: #333;
}
body {
    background: var(--white-color); 
    color: var(--base-color);
}

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    /*display:block;*/
    color: var(--link-color);
    text-decoration-line: none;
}
a:hover { 
    color: var(--linkhover-color);
}
.vegas-content-scrollable{overflow: hidden;}
h1{overflow: hidden;}
h2 {
    position: relative;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    text-align: center;
    font-weight: 500;
}
h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color:rgba(102,102,102,0.7);   
}
.button {
    margin: 1rem;
}
h3 {
    font-weight: 400
}
.cta {
    width:190px;
    height: auto;
    margin-left: 10px;
}
.cta:hover{opacity:0.8;}
/*kunibe*/
.center-text{text-align:center;}
.left-text{text-align:left;}
img.poyoyon{animation: 3.6s poyoyon-anim infinite;/*animation-delay: 0.5s;*/}
img.poyoyon:hover{opacity:0.8;}
@keyframes poyoyon-anim{
   0% { transform: scale(1.1, 0.9); } /*少し縮む*/
  5% { transform: scale(1.2, 0.80); } /*縮む*/
  10% { transform: scale(0.85, 1.15); } /*反動で縦長*/
  15%{ transform: scale(1.1, 0.9); } /*また反動で縮む*/
  20% { transform: scale(0.95, 1.08); } /*反動が小さく*/
  25%{ transform: scale(0.98, 1.02); } /*最後の震え*/
  30% { transform: scale(1,1); } /*元に戻る*/
  35% { transform: scale(1,1); } /*元に戻る*/
  100% { transform: scale(1, 1); } /*動かない*/
}
.anim-box.poyoyon.is-animated {
  animation: poyoyon 0.5s cubic-bezier(0.12, 0, 0.39, 0) 1 forwards;
}
 
@keyframes poyoyon {
  0% {
    transform: translateX(140px);
    opacity: 0;
  }
  50% {
    transform: translateX(0);
  }
  65% {
    transform: translateX(30px);
  }
  100% {
    transform: translateX(0);
  }
  20%,100% {
    opacity: 1;
  }
}

/*ヘッダー
-------------------------------------*/
.header {
	display: flex;
    flex-direction: row;
    padding: 2rem 0 0 0;
    margin-bottom: 0.5rem;
	align-items:baseline;
	justify-content:center;
}
.header>.cta{width:20%;}
.header-box {
	margin-left: auto;
	margin-top: 8px;
}
.contact-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 15px;
    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);
}
/*スマホ用メニュー
-------------------------------------*/	
.spnavi {
    display: none;
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin: 10px 0 15px 15px;
}
nav li {
	flex: 1 0 auto;
	padding: 0 10px;
}
nav li a {
    font-size: 1em;
    text-decoration: none;
    text-align: center;
    width: 100%;
}
nav a:hover {
    background-color: var(--back-color);   
}
nav a {
    padding: 0.5rem;
    color: var(--nav-color);
}

@media screen and (min-width: 768px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
	
}
}

@media screen and (max-width: 768px){
.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;
}
/* スマホ時は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: 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: 25px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
.cta {
    display: none;
}
}
    
/*メイン画像
-------------------------------------*/
#mainimg {
    width: 100%;
}
#mainimg h1 {
    height: 600px;
    display: flex;
    align-items: flex-end; /* 元はcenter */
    justify-content: normal; /* 元はcenter */
    text-align: left;
    line-height: 2;
    text-align: center;
    color: var(--white-color);
    text-shadow: 1px 2px 3px var(--link-color); 
    font-weight: bold;
}

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 0 0;
}
section {
	margin: 3rem 0;
	padding: 3rem 0;
}
.gray-back {
	background-color: var(--back-color);
    /*background: url('../img/gray-back.jpg'); gray-back.jpg背景画像を使用したい時にオンにしてください*/
    background-size: cover;
}

/*ニュース
-------------------------------------*/
.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: 2.0;
}
.center {
	text-align: center;
	margin-bottom: 4rem;
}

/* Googleマップ
-------------------------------------*/
.gmap {
	margin: 3rem 0;
}

/*フッター
-------------------------------------*/
footer {
    background-color: var(--back-color); 
    /*background: url('../img/gray-back.jpg'); gray-back.jpg背景画像を使用したい時にオンにしてください*/
    background-size: cover;
    padding: 5rem 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);
}
/*電話
-------------------------------------*/
a.tel {
    display: inline-block;
}
@media screen and (min-width: 768px){
a[href*="tel:"] { /* 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);
}
/*成功事例
-------------------------------------*/
.casestudy-block{background:#fff;padding:2% 1%;margin-top:2%;}
.casestudy-text{padding:1%;}
/*.pura0-green_img{margin-bottom:5%;}*/
/*Ｑ＆Ａ
-------------------------------------*/
.green{color:#5ab9aa;}
.qa-block1 .ac_answer-box1,.qa-block2 .ac_answer-box2,.qa-block3 .ac_answer-box3,.qa-block4 .ac_answer-box4,.qa-block5 .ac_answer-box5,.qa-block6 .ac_answer-box6,.qa-block7 .ac_answer-box7,.qa-block8 .ac_answer-box8,.qa-block9 .ac_answer-box9,.qa-block10 .ac_answer-box10,.qa-block11 .ac_answer-box11{
    display:none;
	/*margin-top:2%;*/
	background:#f5f5f5;
	border-radius:5px 5px 5px 5px;
	/*border-bottom:dashed 1px;*/
	padding:0.2% 1.1% 0.2% 1.1%;
}
/*.qa-block .ac_answer-box{
    display:none;
	margin-top:2%;
}*/
.ac_question{cursor:pointer;position:relative;font-size:2rem;/*border-bottom:dashed 1px;padding-bottom:1.2%;*/margin-bottom:0;padding:1% 1% 1.2% 1%;/*display:flex;*/align-items:center;}
.ac_question:hover{color:#999;}
.active .ac_question{border:unset;}
.ac_question:after{content:"＞";font-size:0.7vw;position:absolute;right:5%;font-weight:600;}
.active .ac_question:after{content:"＞";font-size:0.7vw;position:absolute;right:5%;transform: rotate(90deg);font-weight:500;}
.icon-answer{flex-basis:7%;font-size:20px;}
.red{color:#ee827c;}
/*横並びパーツ
-------------------------------------*/
.flexbox{
	display:flex;
	justify-content:flex-start;}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: var(--link-color);
}
.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 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);
}
nav>#navi .p-header__nav-link{font-size: 4vw!important;}
/*メイン画像
-------------------------------------*/
#mainimg h1 {
    height: 350px;
	font-size:5.8vw;
}
h2{padding:0 2rem 2rem;}
/*ニュース
-------------------------------------*/
.news-list .item .title{
    margin-top: 1em;
}
/*お問い合わせ
-------------------------------------*/
.table th {
	width: 100%;
	display: block;
}	
.table td {
	display: block;
}
/*Q&A
-------------------------------------*/
.ac_question:after{right:1%;}
.active .ac_question:after{right:1%;}
}
/*追加
-------------------------------------*/
.sitetitle img {
    width: 200px;
}
nav{width:100%;}
.p-header__nav-list {
  display: -webkit-box;
  display: flex;
  /* margin: 0 -23px */
  margin:0;
  align-items:center;
}
.p-header__nav-item {
  /* padding: 0 18px */
}
.p-header__nav-link {
  display: block;
  position: relative;
  padding-bottom: 1em;
  font-size: 1vw;
  font-weight: 500
}
@media screen and (min-width:769px) {
  .p-header__nav-link::after,
  .p-header__nav-link::before {
    content: "";
    display: block;
    position: absolute;
    bottom: -1px;
    width: 0;
    height: 4px;
    /* background-color: #0d0a0a; */
    background-color: #5ab9aa;
    -webkit-transition: width .3s ease;
    transition: width .3s ease
  }
}
.p-header__nav-link::before {
  right: 50%
}
.p-header__nav-link::after {
  left: 50%
}
@media screen and (min-width:769px) {
  .p-header__nav-link:hover::after,
  .p-header__nav-link:hover::before {
    width: 50%
  }
}

