/* ヘッダーを固定させる */　
/* .zen-maru gothic-regular {
  font-family: "Zen Maru Gothic", serif;
  font-weight: 400;
  font-style: normal;
}

.zen-maru gothic-medium {
  font-family: "Zen Maru Gothic", serif;
  font-weight: 500;
  font-style: normal;
} */

#header{
  display: flex;
	text-align: center;
  background:#ffffff;
	/* padding: 20px; */
  justify-content: space-between;
}

/*JSを使いfixedクラスが付与された際の設定*/
#header.fixed{
	position: fixed;/*fixedを設定して固定*/
  z-index: 999;/*最前面へ*/
  top:0;/*位置指定*/
  left:0;/*位置指定*/
  background:#ffffff;
  width: 100%;
}

#header .header-logos {
  display:flex;
  flex-direction: row;
  justify-content: space-between;
}

.description{
  display:flex;
  align-items: center;
  right: 0;
  width: 400px;
  font-size: 24px;
  font-family: "Zen Maru Gothic", serif;
  font-weight: 500;
  font-style: normal;
}

/* main{
  padding-top: 445px;
  overflow: auto;
} */

h1, h2{
  text-align: center;
  margin-bottom: 0;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  font-family: "Zen Maru Gothic", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 36px;
}

h2{
  width: 75%;
}

p{
  text-align: center;
  margin-left: auto; /*ブロックや画像を中央寄せ*/
  margin-right: auto; /*ブロックや画像を中央寄せ*/
  font-family: "Zen Maru Gothic", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 28px;
}

/* buttonタグのリセットCSS */
button {
  padding: 0;
  font-family: inherit;
  appearance: none;
  cursor: pointer;
  background-color: transparent;
  border: none;
}

/* ボタンのスタイル */
button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  height: 64px;
  padding: 8px 24px;
  font-family: sans-serif;
  font-size: 16px;
  color: #000;
  text-align: center;
  overflow-wrap: anywhere;
}

ul {
  display: flex; /*リスト要素を横並びにする*/
  justify-content: center;/*リスト要素を中央揃えにする*/
  padding: 0px 10px 30px 10px;
}

.tab{
  width: 80%;
  padding: 0;
  margin-bottom: 0;
  font-size: 26px;
  font-family: "Zen Maru Gothic", serif;
  font-weight: 400;
  font-style: normal;
}

.lastul{
  padding: 30px 10px;
}

li{
  list-style: none; /*リストのスタイル消去*/
  display: inline;
  width: 50%;
}

.relative {
  position: relative; /*親要素：親要素を基準として子要素の位置を指定させる。画像重ねるために使用。*/
  width: calc(472px*0.9);
  text-align: center;
}

div{
  text-align: center;
}

.photo{
  width: 90%;
}

.absolute {
  width: 20%;
  position: absolute; /*子要素：親要素を基準として子要素の位置を指定させる*/
  left: 20px;/*親要素基準の位置*/
}

/*tabの形状*/
.tab{
	display: flex;
	flex-wrap: wrap;
  text-align: center;
}
.tab li a{
	display: inline-block;
	margin:0 2px;
	padding:10px 20px;
  text-decoration: none;
  color: black;
}
.tab-all{
  background-color: #F5AC0F;
}
.tab-search{
  background-color: #f9cc6c;
}
.tab-detail{
  background-color: #f9cc6c;
}

/*エリアの表示非表示と形状*/
.area {
	display: none;/*はじめは非表示*/
	opacity: 0;/*透過0*/
	padding:30px 10px;
}
.area-all{
  background-color: #F5AC0F;
}
.area-search{
  background-color: #f9cc6c;
}
.area-detail{
  background-color: #f9cc6c;
}

/*areaにis-activeというクラスがついた時の形状*/
.area.is-active {
    display: block;/*表示*/
    animation-name: displayAnime;/*ふわっと表示させるためのアニメーション*/
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

@keyframes displayAnime{
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* 以下モーダル */
.detail-img{
  display: flex;
}

/*全て共通：hideエリアをはじめは非表示*/
.hide-area{
	display: none;
}

/*全て共通：モーダルのボタンの色を変更したい場合*/
.modaal-close:after,
.modaal-close:before{
	background:#ccc;
}

.modaal-close:focus:after,
.modaal-close:focus:before,
.modaal-close:hover:after,
.modaal-close:hover:before{
	background:#666;
}

/*確認を促すモーダル：タイトルの色を変更したい場合*/
#modaal-title{
	font-size:1.2rem;
	text-align: center;
	margin: 0 0 20px 0;
}

/*動画表示のモーダル：余白を変更したい場合*/
.modaal-video .modaal-inner-wrapper{
	padding:0;
}

/* モーダルウィンドウ設定 */
h3{
  text-align: center;
}
.detail-img{
  /* background-color: #ffffff; */
  justify-content: center;
}
/* .detail-item{
  background-color: #ffffff;
} */
.side-img{
  height: 150px;
}
.menu-img{
  height: 150px;
}
section .hide-area{
 background-color: #ffffff;
}

.nav-tab{
  display: flex;
  justify-content: center;
}

.detail-div{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: auto;
}
.detail-description p{
  font-size: 16px;
}
.detail-divs{
  padding: 30px 10px;
}
.detail-description{
  margin-right: auto;
}

/* カテゴリー */

/*＝＝＝並び替えボタンのCSS*/
.sort-btn{
	display: flex;
	justify-content: center;
	padding:20px 20px;
  font-family: "Zen Maru Gothic", serif;
  font-weight: 400;
  font-style: normal;
}

.sort-btn li{
	background:#eee;
  list-style:none;
	border-radius:10px;
	cursor: pointer;
	padding: 10px;
	margin:0 10px;
}

.sort-btn li.active{/*ボタンに現在地＝activeというクラス名がついたら背景色を変更*/
	background:#ccc;
}

/*内側のボックスの高さが崩れないように維持*/
.item-content {
  position: relative;
  width: 100%;
  height: 100%;
}
