@charset "utf-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

/* base design --------------------------------------------*/
:root {
	--main-font-family: "Yu Mincho Light", "YuMincho", "Yu Mincho", "游明朝体", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", sans-serif;
	/* 色設定 */
	--main-text-color:#8d7680;
	--main-bg-color:#f5f4ef;
	--accent:#f9a79e;
	--R18:#f9a79e;
}

html{
	font-size:15px;
}
body {
	 /* ※001 - 背景色の変更↓ */
	 background-color: #ffffff;
	 /* ※002 - 文字色の変更↓ */
	 color: #8d7680;
	 /* ※003 - 基本フォントの変更↓ */
	 font-family: "Yu Mincho Light", "YuMincho", "Yu Mincho", "游明朝体", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", sans-serif;

	font-feature-settings: "palt" 1;
	letter-spacing: 1px;
	line-height: 0.5;
	margin: 15vw;
	word-break: break-all;
}
header{
	  height: 0px
	  margin: 100px auto;
	  max-width: 1200px;
	  text-align: center;
	}

	main{
		margin: 0 auto;
		max-width: 1200px;
	}
	footer{
		margin: 100px auto 0;
		padding-bottom: 100px;
		max-width: 1200px;
		text-align: center;
	}
	section{
		margin-bottom: 2rem;
	}
	h1{
       text-align: center;
	   padding: 20px 0px 16px;
	}
	h2{
		margin-bottom: 0.7em;
		line-height: 1.3;
	}
	h2 span{
		display: inline-block;
		transform: translateY(-3px);
		padding: 0.3em 0.5em;
		font-size: 0.8rem;
		margin-right: 0.5em;
	}
	h3{
		line-height: 1.3;
		margin-bottom: 0.5em;
	}
	h3 span{
		padding: 0.1em 0.5em;
		font-size: 0.8rem;
		margin-right: 0.5em;
	}
	p{
		margin-bottom: 1.8em;
	}
	div p:last-child,
	section p:last-child{
		margin-bottom: 0;
	}
	ul,ol{
		margin-bottom: 1.8rem;
	}
	hr{
		margin: 1.3rem 0;
		border-top: 1px dashed var(--main-text-color);
		border-bottom: none;
		height: 0px;
		clear: both;
	}
	
	a{
		color: var(--main-text-color);
		text-decoration: underline;
		font-weight: bold;
	}
	a:hover{
		text-decoration: none;
	}
	a:hover img{
		opacity: 0.7;
		transition: opacity 0.3s ease-in-out;
	}
	em{
		font-style: normal;
		font-weight: 400;
		margin: 0 0.3em;
		padding: 0 0.4em;
		background-color: var(--accent);
		color: var(--main-bg-color);
	}
	small{
		opacity: 0.8;
	}
	
	
	
/* named parts --------------------------------------------*/

.border{
	border: 1px solid var(--main-text-color);
}
header span.border{
	display: inline-block;
	border: 1px solid var(--main-text-color);
	padding: 0.5em 1em;
	margin: 1rem 0;
}
h2 span.border{
	margin-right: 8px;
}
ul.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 5px;
}
ul.gallery.capt {
	gap: 1rem 5px;
	padding: 1rem;
}
ul.gallery img{
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
ul.gallery li {
	font-size: 0.85rem;
	text-align: center;
}
span.accent{
	background-color: var(--accent);
	border: 1px solid var(--accent);
	color: var(--main-bg-color);
}
span.R18{
	background-color: var(--R18);
	border: 1px solid var(--R18);
	color: var(--main-bg-color);
}

br.mini{
	display: none;
}

a.btn,
.btn-fit a{
	display: inline-block;
	background-color: var(--main-text-color);
	color: var(--main-bg-color);
	font-weight: bold;
	font-size: 0.85rem;
	padding: 0.5em 0.8em;
	margin-right: 5px;
	text-decoration: none;
	text-align: center;
	border-bottom: none;
}
a.btn:hover,
.btn-fit a:hover{
	opacity: 0.7;
	transition: opacity 0.3s ease-in-out;
}
a.btn.large{
	display: block;
	margin-right: 0;
}
div.btn-fit{
	display: flex;
	gap: 7px;
}
div.btn-fit a{
	flex-grow: 1;
	display: block;
	margin-right: 0;
}
a.accent{
	background-color: var(--accent);
}
a.accent:hover{
	opacity: 0.7;
	transition: opacity 0.3s ease-in-out;
}
a.R18{
	background-color: var(--R18);
	color: var(--main-bg-color);
}
a.R18:hover{
	background-color: var(--R18);
	opacity: 0.7;
	transition: opacity 0.3s ease-in-out;
}
footer a.btn{
	padding: 0.3em 0.8em;
}
img.square,
ul.gallery img,
.square img{
	width: 100%;
	object-fit: cover;
	object-position: top;
	aspect-ratio: 1 / 1;
}
img.square-50,
ul.gallery img.square-50,
.square-50 img{
	width: 100%;
	object-fit: cover;
	object-position: 50%;
	aspect-ratio: 1 / 1;
}
img.ogp,
.ogp img{
	width: 100%;
	object-fit: cover;
	object-position: top;
	aspect-ratio: 1.9 / 1;
}
img.ogp-50,
.ogp-50 img{
	width: 100%;
	object-fit: cover;
	object-position: 50%;
	aspect-ratio: 1.9 / 1;
}

.grid{
	display: grid;
	gap: 2rem;
}
.grid1-1{
	grid-template-columns: 1fr 1fr;
}
.grid1-2{
	grid-template-columns: repeat(3, 1fr);
}
.grid1-2 *:first-child{ grid-area: 1 / 1 / 2 / 2; }
.grid1-2 *:last-child { grid-area: 1 / 2 / 2 / 4; }

.grid2-1{
	grid-template-columns: repeat(3, 1fr);
}
.grid2-1 *:first-child{ grid-area: 1 / 1 / 2 / 3; }
.grid2-1 *:last-child { grid-area: 1 / 3 / 2 / 4; }

.grid2{
	grid-template-columns: repeat(2, 1fr);
}
.grid2-book{
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 0;
}
.grid3{
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));;
}
.grid4{
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));;
}
.row-flex{
	display: flex;
	flex-direction: column;
}
.row-flex .inner{
	flex-grow: 1;
}
.left{
	padding: 2rem 0 2rem 2rem;
}
.right{
	padding: 2rem 2rem 2rem 0;
}
.inner{
	padding: 1.3rem 2rem 1.3rem;
}
.mt0{	margin-top: 0; }
.mt05{	margin-top: 0.5rem; }
.mt1{	margin-top: 1rem; }
.mt2{	margin-top: 2rem; }
.mb0{	margin-bottom: 0; }
.mb05{	margin-bottom: 0.5rem; }
.mb1{	margin-bottom: 1rem; }
.mb2{	margin-bottom: 2rem; }
.mb3{	margin-bottom: 3rem; }
.mb4{	margin-bottom: 4rem; }

.pt0{	padding-top: 0; }
.pb0{	padding-bottom: 0; }

.small{
	font-size: 0.85rem;
}
.normal{
	font-size: 1rem;
}


/* responsive --------------------------------------------*/

@media (max-width: 600px) {
	body{
		font-size: 0.95rem;
	}
	br.mini{
		display: inline;
	}
	ul.gallery{
		grid-template-columns: 1fr 1fr;
	}
	.imgwrap{
		text-align: center;
		padding-top: 1.5rem;
	}
	.left+.imgwrap{
		text-align: center;
		padding: 0 0 1.5rem;
	}
	.imgwrap img{
		width: 60%;
		display: inline;
	}
	.grid{
		display: block;
	}
	.grid div.border{
		margin-bottom: 1rem;
	}
	.grid2-book{
		grid-template-columns: 1fr;
		gap: 0;
	}
	.grid2-book .cover{
		text-align: center;
		padding-top: 1rem;
	}
	.grid2-book img{
		width: 60%;
		display: inline;
	}
	.grid2-book .inner{
		padding: 1rem 0 0;
	}
	.grid2-book .inner h3{
		padding: 0 1.5rem;
	}
	.grid2-book .inner p{
		padding: 0 1.5rem;
	}
	.grid2-book .inner p:last-child{
		margin-bottom: 1.8em;
	}
	.grid2-book .btn-fit{
		font-size: 0.9rem;
	}
	.inner{
		padding: 1rem 1.5rem;
	}
	.left{
		padding: 1.5rem;
	}
	.right{
		padding: 1.5rem;
	}
	.left+.right{
		padding: 0.3rem 1.5em 1.5rem;
	}
}


/* 追加--------------------------------------------*/
nav#globalnav {
	width: 100%;
  }
  
  nav#globalnav .header-container {
	background: #fef9f0;
	position: relative;
	-webkit-transition: 0.3s;
	transition: 0.3s;
  }
  
  @media (min-width: 1030px) {
	nav#globalnav .header-container {
	  display: -webkit-box;
	  display: flex;
	  -webkit-box-orient: vertical;
	  -webkit-box-direction: normal;
			  flex-direction: column;
	  -webkit-box-align: center;
			  align-items: center;
	}
  }
  
  nav#globalnav .header-container.scrolled {
	background: #ffffff;
  }
  
  nav#globalnav h1 {
	margin: 0 auto;
	line-height: 60px;
	width: -webkit-fit-content;
	width: -moz-fit-content;
	width: fit-content;
  }
  
  @media (min-width: 1030px) {
	nav#globalnav h1 {
	  line-height: 1.6em;
	  margin: 30px auto 0;
	}
  }
  
  nav#globalnav h1 a {
	/* ※008 - ヘッダーバーサイトタイトル色↓ */
	color: #5b3633;
	display: -webkit-box;
	display: flex;
	height: 60px;
	-webkit-box-align: center;
			align-items: center;
	padding: 0;
	font-size: 18px;
  }
  
  @media (min-width: 1030px) {
	nav#globalnav h1 a {
	  font-size: 30px;
	  height: auto;
	}
  }
  
  nav#globalnav h1 a:hover {
	/* ※008 - ヘッダーバーサイトタイトルホバー色↓ */
	color: #f49a66;
  }
  
  nav#globalnav h1 a img {
	height: 40px;
	width: auto;
	-o-object-fit: contain;
	   object-fit: contain;
  }
  
  nav#globalnav ul {
	display: -webkit-box;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
			flex-direction: column;
  }
  
  nav#globalnav ul li a {
	display: block;
	text-decoration: none;
	color: #5a322b;
	font-family: "Vidaloka", "Shippori Mincho", serif;
  }
  
  nav#globalnav ul li a:hover {
	/* ※009 - ヘッダーバーメニューホバー色↓ */
	color: #f49a66;
  }
  
  /* -----------------------------------
  上からスライドインしてくるタイプのハンバーガーメニュー
  ----------------------------------- */
  nav#globalnav .header-container {
	overflow-y: scroll;
	max-height: 100vh;
  }
  
  @media (min-width: 1030px) {
	nav#globalnav .header-container {
	  overflow-y: inherit;
	}
  }
  
  nav#globalnav ul#navmenu {
	list-style: none;
	position: relative;
	width: 100%;
	height: auto;
	top: 0;
	right: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	-webkit-transition: 0.3s;
	transition: 0.3s;
  }
  
  @media (min-width: 1030px) {
	nav#globalnav ul#navmenu {
	  position: relative;
	  background: transparent;
	  width: -webkit-fit-content;
	  width: -moz-fit-content;
	  width: fit-content;
	  max-width: 80%;
	  height: 80px;
	  right: auto;
	  padding: 0;
	  overflow: visible;
	  box-shadow: none;
	  -webkit-transition: none;
	  transition: none;
	  -webkit-box-orient: horizontal;
	  -webkit-box-direction: normal;
			  flex-direction: row;
	  -ms-overflow-style: none;
	  scrollbar-width: none;
	}
	nav#globalnav ul#navmenu::-webkit-scrollbar {
	  display: none;
	}
  }
  
  nav#globalnav ul#navmenu li {
	margin: 0;
	min-height: 0;
	height: 0;
  }
  
  @media (min-width: 1030px) {
	nav#globalnav ul#navmenu li:hover ul {
	  opacity: 1;
	  z-index: 10;
	}
	nav#globalnav ul#navmenu li:hover ul li {
	  height: 46px;
	  -webkit-transition: 0.5s;
	  transition: 0.5s;
	}
	nav#globalnav ul#navmenu li:hover ul li a {
	  height: 46px;
	  line-height: 46px;
	  overflow: visible;
	  -webkit-transition: 0.5s;
	  transition: 0.5s;
	}
  }
  
  nav#globalnav ul#navmenu li a {
	height: 0;
	opacity: 0;
  }
  
  @media (min-width: 1030px) {
	nav#globalnav ul#navmenu li a {
	  opacity: 1;
	  display: block;
	  font-weight: bold;
	  width: -webkit-fit-content;
	  width: -moz-fit-content;
	  width: fit-content;
	  padding: 0 15px;
	  margin: auto;
	  font-size: 15px;
	  height: 80px;
	  line-height: 80px;
	}
  }
  
  nav#globalnav ul#navmenu.checked li {
	min-height: 46px;
	height: auto;
	-webkit-transition: 0.5s;
	transition: 0.5s;
  }
  
  nav#globalnav ul#navmenu.checked li a {
	opacity: 1;
	height: 46px;
	line-height: 46px;
	-webkit-transition: 0.5s;
	transition: 0.5s;
  }
  
  nav#globalnav ul#navmenu ul {
	list-style: none;
	margin-left: 20px;
  }
  
  @media (min-width: 1030px) {
	nav#globalnav ul#navmenu ul {
	  margin-left: auto;
	  opacity: 0;
	  -webkit-transform-origin: top center;
			  transform-origin: top center;
	  -webkit-transition: all 0.3s;
	  transition: all 0.3s;
	  height: auto;
	  background: #ffffffe6;
	  position: absolute;
	  top: 100%;
	}
	nav#globalnav ul#navmenu ul li {
	  overflow: hidden;
	  position: relative;
	  height: 0;
	}
	nav#globalnav ul#navmenu ul li a {
	  min-width: 150px;
	  padding: 0 20px;
	  width: 100%;
	  text-align: left;
	  height: 0;
	  line-height: 0;
	  margin: 0;
	  font-size: 16px;
	}
  }
  button#menubtn {
	color: #421c1c;
	margin: 0;
	cursor: pointer;
	background: transparent;
	border: 0;
	display: block;
	width: 45px;
	height: 45px;
	text-align: center;
	font-size: 24px;
	position: absolute;
	color: #421c1c;
	top: 10px;
	right: 20px;
	-webkit-transition: color 0.4s;
	transition: color 0.4s;
	z-index: 99999;
  }
  
  @media (min-width: 1030px) {
	button#menubtn {
	  display: none;
	}
  }
  
  button#menubtn:hover {
	cursor: pointer;
  }
  
  button#menubtn#inmenu {
	color: #ffffff;
  }
  
  button#menubtn#inmenu-back {
	opacity: 0;
	width: 100vw;
	height: 100vh;
	top: 0;
	right: 0;
	z-index: -1;
  }
  