@charset "UTF-8";

/*menu.html専用
-----------------------------------------*/
body nav ul li a[href="menu.html"] {
background: url(../img/menu_over.png) repeat-x;
color: #FFF;
}

/*メニュー一覧
-----------------------------------------*/
section > h2, article {
margin: 0 20px 20px 250px;
}
section > h2 {
background: url(../img/midashi2.png) no-repeat left center;
height: 30px;
line-height: 30px;
color: #4b0082;
font-size: 16px;
text-indent: 20px;
}
article + h2 {
margin-top: 50px;
}
article {
position: relative;
min-height: 160px;
}
article h1,
article p,
article p.price {
margin: 0 15px 0 230px;
}
article h1 {
color: #464646;
font-size: 16px;
margin-bottom: 5px;
}
article p {
color: #666;
font-size: 14px;
line-height: 1.6;
}
article p.price {
color: #666;
font-size: 18px;
font-weight: bold;
margin-top: 10px;
}
article img {
position: absolute;
top: 0;
left: 0;
}

/*メニューカテゴリーリスト
-----------------------------------------*/
section ul {
position: absolute;
top: 65px;
left: 0;
width: 225px;
}
section li a {
display: block;
font-weight: bold;
line-height: 1.2;
color: #FFF;
text-decoration: none;
padding: 10px;
background: #4b0082;
margin-bottom: 2px;
}
section li a:hover {
background: #438E07 url(../img/menu_over.png) repeat-x bottom;
color: #FFF;
}

/*3連画像用設定追加
-----------------------------------------*/
div.allImg {
height: auto;
padding: 0 0 25px 20px;
}
div.allImg:after {
content: "";
display: block;
clear: both;
}
*+html div.allImg {
min-height: 1px;
}
div.allImg img {
position: relative;
display: block;
float: left;
margin-left: 10px;
}
div.allImg img:first-child {
margin-left: 0;
}


/*230116追加 ポップアップ01
-----------------------------------------*/

.open {
	cursor:pointer;
}
#pop-up {
	display: none;
}
.overlay {
	display: none;
}
#pop-up:checked + .overlay {
	display: block;
	position: fixed;
	width: 100%;
	height: 100vh;
	top: 0;
	left: 0;
	z-index: 9999;
	background: rgba(0, 0, 0, 0.6);
}
.window {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 90vw;
	max-width: 360px;
    padding: 20px;
	height: 300px;
	background-color: #fff;
	border-radius: 4px;
	align-items: center;
	transform: translate(-50%, -50%);
}
.close {
	position: absolute;
	top: 4px;
	right: 4px;
	cursor:pointer;
}



/*230116追加 モダルポップアップ02
-----------------------------------------*/

.modal-wrapper {
  z-index: 999;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 40px 10px;
  text-align: center;
}

.modal-button {
    color: #4f96f6;
    background-color: #eeeeee;
    font-weight: bold;
    text-align: center;
    cursor :pointer;
    transition: all 0.3s;
    display: block;
    margin-top: 10px;
    margin-bottom: 1px;
    padding: 12px 2px;
    max-width:300px;
    text-decoration: none;
}

.modal-button:active {
  /*ボタンを押したとき*/
  -webkit-transform: translateY(2px);
  transform: translateY(2px);/*下に動く*/

}

/*アイコンを表示*/
.modal-button:after {
font-family: "Font Awesome 5 Free";
  content: "\f2d0";
    padding-left: 8px;
}

/*ラベルホバー時*/
.modal-button:hover {
  color: #FFFFFF;
  background-color: #4f96f6;
  transition: .6s;
}

.modal-wrapper:not(:target) {
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}

.modal-wrapper:target {
  opacity: 1;
  visibility: visible;
  transition: opacity .4s, visibility .4s;
}

.modal-wrapper::after {
  display: inline-block;
  height: 100%;
  margin-left: -.05em;
  vertical-align: middle;
  content: ""
}

.modal-wrapper .modal-window {
  box-sizing: border-box;
  display: inline-block;
  z-index: 20;
  position: relative;
  width: 70%;
  max-width: 600px;
  padding: 10px 30px 25px;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 0 30px rgba(0, 0, 0, .6);
  vertical-align: middle
}

.modal-wrapper .modal-window .modal-content {
  max-height: 80vh;
  overflow-y: auto;
  text-align: left
}

.modal_title {
  font-size: 1.5em;
	position: relative;
	overflow: hidden;
  padding: 0;
}

.modal_title::before,
.modal_title::after{
	content: "";
	position: absolute;
	bottom: 0;
}

/* h2 プライマリカラー*/
.modal_title:before{
	border-bottom: 4px solid #6bb6ff;
	width: 100%;
}
/* h2 セカンダリカラー*/
.modal_title:after{
	border-bottom: 4px solid #c8e4ff;
	width: 100%;
}

.modal-content p {
  margin: 10px 0 0 0;
}

.modal-overlay {
  z-index: 10;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, .8)
}

.modal-wrapper .modal-close {
  z-index: 20;
  position: absolute;
  top: 5px;
  right: 5px;
  width: 35px;
color: #95979c !important;
  font-size: 30px;
  font-weight: 700;
  line-height: 35px;
  text-align: center;
  text-decoration: none;
  text-indent: 0
}

.modal-wrapper .modal-close:hover {
  color: #2b2e38 !important
}




