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

img {
	max-width:100%;
	height: auto;/*高さ自動*/
    vertical-align: bottom;
}
a {
    display:block;
    color: #666;
    text-decoration-line: none;
}
a:hover { 
    color: #999;
}

body {
    min-width: 800px;
}

/*ヘッダー
-------------------------------------*/
.c-navy {
    background: #232f3e;
}

.header {
	display: flex;
    flex-direction: row;
    align-items: center;
    height: 70px;
}

.header h1 {
    margin-bottom: 0;
    line-height: 1;
    padding-bottom:.5rem;
}
.header h1 a {
    vertical-align: middle;
}


.header-box {
	margin-left: auto;
}
.contact-button {
	padding: 1rem;
	border: 2px solid #000;
}

header nav li {
	flex: 1 0 auto;
}

#navi > ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
    margin: 0;
}

#navi > ul > li {
    margin: 0;
}

#navi > ul > li > a {
    text-decoration: none;
    text-align: center;
    width: 100%;
    color: #fff;
    padding: 0 1.5rem;
    line-height: 70px;
    transition: .3s ease;
}
#navi > ul > li:hover {
    background: #4B5461;
}

nav a {
    padding: 0.5rem;
}

/* 2階層目 */
header > .container {
    position: static;
}

#navi li .navi-inner {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    top: 70px;
    background: #4B5461;
}

#navi li ul {
    max-width: 1200px;
    height: 0;
    padding: 0 2.0rem;
    overflow: hidden;
    margin: auto;
    transition: .3s ease;
}

#navi li ul li {
    overflow: hidden;
    height: 0;
    transition: ease 0.3s;
/*    width: 23%;*/
    margin-right: 2%;
    margin-bottom: 0;
    float: left;
    list-style: none;
    line-height: 0;
    transition: .3s ease;
}

#navi li ul li a {
	letter-spacing: 0.02em;
	text-align: left;
	font-size: 15px;
    color: #fff;
}

#navi li ul li a:before {
	content: "";
	display: inline-block;
	margin: 0px 5px 2px 0;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 4px 0 4px 5px;
	border-color: transparent transparent transparent #fff;
}

/* マウスオーバー時 */
#navi li:hover .navi-inner {
    
}

#navi li:hover ul {
    height: auto;
	border-width: 0 0 4px;
    padding: 1.5rem 2rem;
}

#navi li:hover ul > li {
    overflow: visible;
    height: auto;
    line-height: 1.6;
}

#navi li:hover ul > li a:hover {
	text-decoration: underline;
}


@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: 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.top  {
    position: relative;
    background: url(../img/top/mainvis.jpg) center center no-repeat;
    background-size: cover;
    padding-bottom: 29%;

    min-height: 464px;
    
}

.mainimg.top  img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 40%;
    max-width: 396px;
}

/* 中ページ */
.mainimg.sub {
    position: relative;
    background: url(../img/share/mainvis-sub.jpg) center center no-repeat;
    background-size: cover;
    height: 160px;
}

.mainimg.sub img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}

/*パンくずリスト
-------------------------------------*/
.breadcrumbs {
    background: #f0f0f0;
}

.breadcrumbs .container {
    text-align: left;
}

.breadcrumbs ul {
    list-style: none;
    overflow: hidden;
    margin-bottom: 0;
}

.breadcrumbs ul li {
    float: left;
    margin-bottom: 0;
}

.breadcrumbs ul li a {
    display: inline-block;
    padding: 1.5rem 1rem;
    font-size: 92%;
}

.breadcrumbs ul li:last-of-type a {
    pointer-events: none;
}

.breadcrumbs ul li:not(:first-child)::before {
    content: "＞";
}

/*目次
-------------------------------------*/
.toc {
    padding: 1rem 0;
    background: rgba(255,255,255,.9);
}
.toc .container {
    text-align: left;
}

.toc ul {
    list-style: none;
    overflow: hidden;
    margin-bottom: 0;
}

.toc ul li {
    float: left;
    margin-bottom: 0;
}

.toc ul li a {
    display: inline-block;
    padding: .5rem 2rem;
    margin: .5rem;
    background: #f9e8eb;
    font-size: 92%;
    border-radius: 40px;
    box-shadow:1px 1px 2px 1px rgba(0,0,0,0.2)
}

/* 追従 */
.sticky1 {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 999;
}

.sticky2 {
    position: -webkit-sticky;
    position: sticky;
    top: 70px;
    z-index: 998;
}

/*スライド
-------------------------------------*/
.slide-wrapper {
    position: absolute;
    top: 90px;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 1240px;
    min-width: 800px;
    margin: auto;
    padding: 0 40px;
}

#slide {
    width: 22%;
    height: 732px;
    margin:0 0 0 auto;
    position:relative;
}  

#slide li {
    list-style: none;
}

#slide img {
    position:absolute;
    left:0;
    top:0;
}


/*メインコンテンツ
-------------------------------------*/
main {
    margin: 0;
}
section {
	margin: 0;
}
.gray-back {
	background-color: #f4f4f4;
}

/* ボタンリンク */
a .btn {
    display: inline-block;
    padding: 1rem 6rem;
    background: #fff;
    border: 2px solid #b61c37;
    border-radius: 30px;
    font-size: 115%;
    font-weight: bold;
    color: #b61c37;
    transition: .3s;
}

a:hover .btn {
    background: #b61c37;
    color: #fff;
}

/*ブロック
-------------------------------------*/
.block {
    text-align: center;
    padding: 12rem 0 8rem;
}

/* h2 */
.block h2 {
    padding-bottom: 2rem;
    font-weight: bold;
    margin-bottom: 0;
}
.under {
    border-bottom: 2px solid #b61c37;
    padding: .5rem 1rem 1rem 1rem;
}

.desc {
    font-size: 116%;
    margin-top: .5rem;
}

/* コンテンツ */
.block .container {
    margin-top: 6rem
}

/* 汎用 */
.center {
	text-align: center;
}

/*setA - 商品リスト
-------------------------------------*/
.setA,
.setB {
    background: url(../img/share/setA-bg.png) bottom center no-repeat;
    background-size: contain;
}

.setA .part {
    margin-bottom: 4rem;
    position: relative;
}

.setA .part a {
    position: relative;
    box-shadow:4px 4px 10px 2px rgba(0,0,0,0.25);
    overflow: hidden;
}

/* 商品コード */
.p-label {
    margin-bottom: 1.75rem;
    text-align: left;
}

.p-label span {
    display: inline-block;
    padding: .5rem 2rem;
    border-radius: 4px;
    background: #777;
    color: #fff;
    font-size: 92%;
}

/* 商品番号 */
.p-num {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 48px;
    font-weight: bold;
    line-height: 1;
    color: #dca7ae;
    opacity: .6;
}

/* 商品名 */
.p-name {
    margin-bottom: 2rem;
    text-align: left;
    font-size: 128%;
}

/* hover */
.setA .part a {
    position: relative;
    background: #000;
}

.setA .part a img {
    transition: ease .3s;
}

.setA .part a:hover img {
    opacity: .6;
}

.setA .part a::before {
    content: "View";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    line-height: 40px;
    height: 40px;
    color: #fff;
    font-weight: bold;
    font-size: 180%;
    letter-spacing: .05em;
    opacity: 0;
    transition: .3s;
}

.setA .part a:hover::before {
    opacity: .7;
}


/*setB - タイルメニュー
-------------------------------------*/
.setB .col a {
    display: block;
}
.setB .col a .ttl {
    display: block;
    padding: .75rem 1rem;
    font-size: 100%;
}

.setB .part {
    margin-bottom: 4rem;
}

.setB .part a img {
    margin-bottom: 2rem;
    box-shadow:2px 2px 6px 1px rgba(0,0,0,0.25)
}

/*申し込みの流れ
-------------------------------------*/
.flow.row {
	margin-bottom: 3rem;
}

/*フッター
-------------------------------------*/
footer {
    background-color: #232f3e;
    padding: 4rem 0 3rem;
}
footer h4 {
    border-bottom: 3px solid #ccc;
}

.footer a {
    display: inline-block;
}

/* logo */
.footer .logo {
    padding: .5rem 1rem;
}

.footer-box {
    margin-top: 1.5rem;
}

.footer-box ul {
    display: flex;
    justify-content: center !important;
}

.footer-box ul li {
    margin-bottom: 0;
    list-style: none;
}

.footer-box ul li a {
    display: inline-block;
    margin: auto;
    padding: .5rem 1.5rem;
    color: #fff;
}

.footer-box ul li a:hover {
    text-decoration: underline;
}

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

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

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

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){
	
/*ヘッダー
-------------------------------------*/
.header-box {
/*	display: none;*/
}	
/*お問い合わせ
-------------------------------------*/
.table th {
	width: 100%;
	display: block;
}	
.table td {
	display: block;
}
}