@charset "UTF-8";
@import url("grid.css");

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: #666;
    text-decoration-line: none;
}
a:hover { 
    color: #999;
}
a img:hover {
	opacity: 0.8;
}
.underline {
	border-bottom: 3px solid #000;
	padding-bottom: 0.5rem;
}
.center {
	text-align: center;
}



/*ヘッダー
-------------------------------------*/

.head {
	display: flex;
    flex-direction: row;
    padding: 1rem 0 0 0;
}

.head h1 { 
    padding: 1rem 0;
	font-weight: 700;
	letter-spacing: 3px;
}
.snsbox {
	margin-left: auto;
	font-size: 3.0rem;
	padding: 1rem 0 0 0;
}
.snsbox li{
	list-style-type:none;
	float:left;
	padding:0 0 0 1rem;
	
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: center;
    list-style: none;
	margin-bottom: 0.5rem;
}
nav li {
    display: block;
    flex: 0 0 15%;
	color:#000000;
}
nav li a {
    text-decoration: none;
    text-align: center;
}
nav a:hover {
    text-decoration: underline;
}
nav a {
    padding: 1rem;
}

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

#navi {
    display: block !important;
}
}

@media screen and (max-width: 768px){
.head {
	flex-direction: column;
    text-align: left;
    margin-bottom: 20px;
}
.telbox {
	margin-left: 0;
	text-align: left;
}
.head #open,#close  {
    position: absolute;
    top: 28px;
    right: 12px;
    }
nav ul {
	flex-direction: column;
}

nav li {
	padding-top: 0;
	border-bottom: 1px solid #ccc;
	margin-bottom: 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 5rem 0;
}

/*キャッチタイトル
-------------------------------------*/
h2 {
  position: relative;
  padding: 1.5rem;
  text-align: center;
  margin-bottom:40px;
  font-weight:900;
}

h2:before {
  position: absolute;
  bottom: -10px;
  left: calc(50% - 30px);
  width: 60px;
  height: 5px;
  content: '';
  border-radius: 3px;
  background: #22ac38;
}

/*イントロ説明文
-------------------------------------*/
.intro {
	line-height:1.6;
	
}

/*イントロ小見出し
-------------------------------------*/


h5 {
  font-size:18px;
  position: relative;
  padding: 0.25em 1em;
  border-top: solid 2px #22ac38;
  border-bottom: solid 2px #22ac38;
  font-weight:800;
}
h5:before, h5:after {
  content: '';
  position: absolute;
  top: -7px;
  width: 2px;
  height: -webkit-calc(100% + 14px);
  height: calc(100% + 14px);
  background-color: #22ac38;
}
h5:before {
  left: 7px;
}
h5:after {
  right: 7px;
}


/*リンク
-------------------------------------*/
.container {
  font-family: "Yu Gothic", YuGothic, Verdana, 'Hiragino Kaku Gothic ProN','Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'メイリオ', Meiryo, sans-serif;
  text-align: center;
  padding-top: 10px;
  width:100%;
  
}
/*特徴7
-------------------------------------*/
.container2 {
  font-family: "Yu Gothic", YuGothic, Verdana, 'Hiragino Kaku Gothic ProN','Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'メイリオ', Meiryo, sans-serif;
  text-align: left;
  padding-top: 10px;
  width:100%;
  display: flex;
  
}

.child1 img {
	width:600px;	
      }
	  
.child2_txt{
	text-align:left;
	margin:0 0 0 15px;
}


      @media screen and (max-width: 800px) {
        .container2 {
          flex-wrap: wrap;
        }
	.child2_txt{
	text-align:left;
	
}
      }

      @media screen and (max-width: 400px) {
        .container2 {
          display: block;
        }
	.child2_txt{
	text-align:left;
	
}
      }

figcaption{
	text-align:left;
}

.item_link{
	text-align: center;
}

/*ボタン*/

.btn-border {
  display: inline-block;
  max-width: 180px;
  text-align: left;
  border: 2px solid #22ac38;
  font-size: 16px;
  color: #22ac38;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 4px;
  transition: .4s;
}

.btn-border:hover {
  background-color: #22ac38;
  border-color: #22ac38;
  color: #FFF;
}

.buy{
	margin-bottom:25px;
}

/*フッター
-------------------------------------*/
footer {
    background-color: #fff;
    padding: 3rem 0;
}


/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: #fff;
}
.copyright a {
    color: #000;
    text-decoration: none;
	display: inline-block;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background: #666;
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background: #999;
}
/*パンくずリスト
-----------------------------------*/
.breadcrumb {
    margin: 0 0 1em 0;
    padding: 0;	
}
.breadcrumb li {
    list-style-type: none;
}
.breadcrumb li a {
    display: inline-block;
    color: #959fa5;
}