﻿@charset "utf-8";

/*
本テンプレートのクレジット表示（削除不可）
Template Name: My Circle Space
Author: ASA
Version: 1.0.0
License URI: https://oshaten10.com/
*/

/* -----------------------------------------------------------------------
reset
---------------------------------------------------------------------- */
html {
	box-sizing: border-box;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
}

* {
	margin: 0;
	padding: 0;
	background-repeat: no-repeat;
}

*,
::before,
::after {
	box-sizing: inherit;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}

/* -----------------------------------------------------------------------
page design
---------------------------------------------------------------------- */
body {
	font-family: var(--font-family);
	font-size: 13px;
	line-height: 1.7;
	color: var(--color-text);
	letter-spacing: .1em;
	text-align: justify;
}

/* general params-------------------- */
section *:first-child {
	margin-top: 0;
}

section *:last-child {
	margin-bottom: 0;
}

/* parts-------------------- */
a:link,
a:visited {
	color: var(--color-link);
	transition: 0.3s;
	/* マウスホバー時のアニメーション */
}

a:hover {
	color: var(--color-accent);
}

a img {
	transition: 0.3s;
	/* マウスホバー時のアニメーション */
}

a img:hover {
	opacity: 0.5;
	/* マウスホバー時に半透明に */
}

p {
	margin: 0 0 1rem;
}

h2,
h3,
h4,
h5,
h6 {
	margin: 2rem 0 1rem;
	line-height: 1;
}

h2 {
	font-size: 24px;
	margin: 2rem 0 32px;
	line-height: 1;
	text-align: center;
}

h2 span {
	position: relative;
	letter-spacing: .2em;
	padding: 4px 24px;
}

h2 span:before,
h2 span:after {
	content: '';
	width: 16px;
	height: 24px;
	position: absolute;
	display: inline-block;
}

h2 span:before {
	border-left: solid 2px var(--color-accent);
	border-top: solid 2px var(--color-accent);
	top: 0;
	left: 0;
}

h2 span:after {
	border-right: solid 2px var(--color-accent);
	border-bottom: solid 2px var(--color-accent);
	bottom: 0;
	right: 0;
}

h3 {
	font-size: 18px;
	color: var(--color-wh);
	text-shadow: 1px 1px 0 var(--color-text), -1px -1px 0 var(--color-text),
		-1px 1px 0 var(--color-text), 1px -1px 0 var(--color-text),
		0px 1px 0 var(--color-text), 0-1px 0 var(--color-text),
		-1px 0 0 var(--color-text), 1px 0 0 var(--color-text);
}

h4 {
	font-size: 16px;
}

h5 {
	font-size: 13px;
	color: var(--color-accent);
}

h6 {
	font-size: 13px;
	font-weight: normal;
}

hr {
	border: none;
	border-top: 1px solid var(--color-text);
	border-bottom: none !important;
	margin: 24px auto;
}

table {
	width: 100%;
	margin: 1rem 0;
	font-size: 0.9em;
	line-height: 1.4;
	border-collapse: collapse;
	border-spacing: 0;
	border-top: 1px solid var(--color-grey);
}

th,
td {
	margin: 0;
	overflow: visible;
	padding: 8px;
	border: 0;
	border-bottom: 1px solid var(--color-grey);
}

table tbody>tr:nth-child(odd)>td {
	background-color: var(--color-pale);
}

table td:first-child {
	width: 30%;
}

img {
	max-width: 100%;
	border: none;
	vertical-align: top;
}

ul,
ol {
	padding-left: 1rem;
	margin-bottom: 16px;
}

/* bg-------------------- */
.bg {
	position: fixed;
	top: 0;
	left: 0;
	z-index: -10;
	width: 100%;
	height: 100lvh;
	overflow: hidden;
}

.bg::after {
	position: fixed;
	content: "";
	background: var(--bg);
	background-size: cover;
	z-index: -10;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

/* スクロールバー-------------------- */
/* スクロールバーの幅 */
::-webkit-scrollbar {
	width: 10px;
}

/* スクロールバー全体の背景 */
::-webkit-scrollbar-track {
	background: var(--color-wh);
}

/* スクロールバーの動く部分 */
::-webkit-scrollbar-thumb {
	background: var(--color-text);
	border-radius: 999px;
}

/* wrap-------------------- */
.wrap {
	width: 100%;
	height: 100dvh;
	max-width: 390px;
	margin: 0 auto;
}

/* layout-------------------- */
header,
.cnt,
footer {
	width: 100%;
	max-width: 390px;
	margin: 0 auto;
}

/* header-------------------- */
header {
	position: relative;
	height: 100dvh;
	padding: 72px 16px 40px;
	color: var(--color-hdrftr);
	text-align: center;
}

header * {
	text-shadow: 2px 2px 10px var(--color-hdrftrshadow),
		-2px 2px 10px var(--color-hdrftrshadow),
		2px -2px 10px var(--color-hdrftrshadow),
		-2px -2px 10px var(--color-hdrftrshadow);
}

header .sitename {
	margin-bottom: 16px;
	font-size: 32px;
	font-weight: bold;
	line-height: 1.2;
}

header .author {
	font-size: 18px;
}

header ul.eventdata {
	list-style: none;
	padding: 0;
	font-size: 12px;
}

header ul.eventdata::before {
	content: "";
	display: block;
	width: 32px;
	height: 4px;
	border-radius: 2px;
	background: var(--color-accent);
	margin: 16px auto;
}

/* スクロールアイコン */
header .scroll_wrap {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	bottom: 32px;
}

header .scroll {
	display: inline-block;
	padding-top: 70px;
	position: relative;
	font-weight: bold;
}

header .scroll::before {
	animation: scroll 2s infinite;
	border: solid var(--color-hdrftr);
	border-width: 0 0 3px 3px;
	content: "";
	display: inline-block;
	margin: auto;
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	transform: rotate(-45deg);
	width: 20px;
	height: 20px;
}

@keyframes scroll {
	0% {
		transform: rotate(-45deg) translate(0, 0);
	}

	80% {
		transform: rotate(-45deg) translate(-30px, 30px);
	}

	0%,
	80%,
	100% {
		opacity: 0;
	}

	40% {
		opacity: 1;
	}
}

/* ピックアップ欄 */
header .pickup {
	position: relative;
}

/* マーカー */
header .pickup .marker {
	position: absolute;
	top: 64px;
	left: 112px;
	z-index: 1;
}

header .pickup .marker img {
	display: block;
	width: 64px;
}

/* 書影 */
header .pickup .cover {
	position: absolute;
	top: 32px;
	left: -64px;
	transform: rotate(-10deg);
}

header .pickup .cover img {
	display: block;
	width: 210px;
	;
}

/* アニメーション */
header .pickup {
	animation: fadeup 2s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

@keyframes fadeup {
	0% {
		transform: translateY(20px);
		opacity: 0;
	}

	80% {
		opacity: 1;
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

/* cnt-------------------- */
.cnt {
	position: relative;
	/* すりガラス疑似要素用 */
	z-index: 0;
	/* すりガラス疑似要素用 */
}

.cnt::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	display: block;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.5);
	/* 背景色と透明度 */
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.cnt,
.cnt::after {
	border-radius: 8px;
}

.cnt section {
	padding: 56px 16px;
	border-bottom: 1px dashed var(--color-text);
}

.cnt section:last-of-type {
	border-bottom: none;
}

/* アイテム-------------------- */
.item {
	position: relative;
	/* marker用 */
	margin: 0 -16px;
	padding: 24px 16px;
}

.item *:first-child {
	margin-top: 0;
}

.item *:last-child {
	margin-bottom: 0;
}

.item h3,
.item h4 {
	margin: 0 0 0.5rem;
	text-align: center;
}

/* 既刊・新刊マーカー */
.item .marker {
	position: absolute;
	top: 8px;
	left: 8px;
	width: 72px;
	height: auto;
}

/* 書影 */
.item .cover {
	margin: 16px 0;
}

.item .cover img {
	display: block;
	margin: 0 auto;
	box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.2);
}

/* 価格 */
.item .price {
	font-size: 18px;
	font-weight: bold;
	text-align: center;
}

.item .price span {
	font-weight: normal;
	font-size: 0.6em;
}

/* 説明 */
.item .info {
	display: flex;
	font-size: 0.8em;
}

.item .info .left {
	width: 60%;
	margin-right: 16px;
}

.item .info .right {
	width: 40%;
}

/* 年齢区分のアイコン画像 */
.item .icn_age {
	margin-bottom: 12px;
}

.item .icn_age img {
	width: 56px;
	height: auto;
}

/* アイテムの仕様 */
.item table {
	width: 100%;
	margin: 0;
	font-size: 1em;
	line-height: 1.4;
	border-collapse: collapse;
	border-spacing: 0;
	border-top: 1px solid var(--color-grey);
}

.item th,
td {
	margin: 0;
	overflow: visible;
	padding: 4px;
	border: 0;
	border-bottom: 1px solid var(--color-grey);
}

.item table tbody>tr:nth-child(odd)>td {
	background-color: inherit;
}

.item table td:first-child {
	width: 36%;
}

/* ボタン */
.item .btn a {
	position: relative;
	display: block;
	padding: 8px 16px;
	border-radius: 9999px;
	color: var(--color-wh);
	line-height: 1.4;
	text-decoration: none;
	background-color: var(--color-link);
}

.item .btn a:hover {
	background-color: var(--color-accent);
}

.item .btn a::before,
.item .btn a::after {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	margin: auto;
	content: "";
	vertical-align: middle;
}

.item .btn a::before {
	right: 16px;
	width: 10px;
	height: 1px;
	background: var(--color-wh);
}

.item .btn a::after {
	right: 16px;
	width: 7px;
	height: 7px;
	border-top: 1px solid var(--color-wh);
	border-right: 1px solid var(--color-wh);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

/* キャプション */
.item .caption {
	margin-top: 8px;
	line-height: 1.2;
}

/* 横スクロール */
.scroll_x {
	display: flex;
	justify-content: space-evenly;
	overflow-x: scroll;
	-webkit-overflow-scrolling: touch;
	margin: 0 -16px 0 0;
}

.scroll_x .item {
	min-width: 240px;
	margin: 0;
	padding: 24px;
}

.scroll_x .item:first-of-type {
	border-top: none;
}

.scroll_x .item:last-of-type {
	border-right: none;
}

.scroll_x .item h3,
.scroll_x .item h4 {
	font-size: 1em;
}

/* 横スクロール-既刊・新刊マーカー */
.scroll_x .item .marker {
	width: 40px;
}

/* 横スクロール-書影 */
.scroll_x .item .cover img {
	width: 64%;
}

/* 横スクロール-価格 */
.scroll_x .item .price {
	font-size: 1.2em;
	margin-bottom: 0.5rem;
}

/* 横スクロール-年齢区分のアイコン画像 */
.scroll_x .item .icn_age img {
	display: block;
	width: 48px;
	margin: 0 auto;
}

/* 横スクロール-説明 */
.scroll_x .item .info {
	display: inherit;
}

/* 横スクロール-アイテムの仕様 */
.scroll_x .item table {
	margin-bottom: 1rem;
}

/* 横スクロール-ボタン */
.scroll_x .item .btn {
	width: 64%;
	margin: 0 auto;
}

/* 横スクロールバー-------------------- */
/* スクロールバーの高さ */
.scroll_x::-webkit-scrollbar {
	height: 10px;
}

/* スクロールバー全体の背景 */
.scroll_x::-webkit-scrollbar-track {
	border-radius: 999px 0 0 999px;
}

/* 横スクロールアイコン-------------------- */
.scroll_icn_x {
	position: relative;
	font-weight: bold;
}

.scroll_icn_x::before {
	animation: scroll_icn_x 1.5s infinite;
	border: solid var(--color-text);
	border-width: 0 0 1px 1px;
	content: "";
	display: inline-block;
	position: absolute;
	left: 48px;
	top: 6px;
	transform: rotate(225deg);
	width: 8px;
	height: 8px;
}

@keyframes scroll_icn_x {
	0% {
		transform: rotate(225deg) translate(0, 0);
	}

	80% {
		transform: rotate(225deg) translate(-10px, 10px);
	}

	0%,
	80%,
	100% {
		opacity: 0;
	}

	40% {
		opacity: 1;
	}
}

/* プロフィール-------------------- */
.profile_box {
	padding: 40px;
	background-color: var(--color-pale);
	border-radius: 16px;
	box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.08);
	font-size: 0.9em;
	line-height: 1.4;
}

.prf_icn {
	position: relative;
}

.prf_icn img,
.prf_icn::before {
	display: block;
	width: 112px;
	height: 112px;
}

.prf_icn img {
	border: 4px var(--color-wh) solid;
	transform: rotate(5deg);
	margin: 0 auto;
	box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
}

.prf_icn::before {
	content: '';
	position: absolute;
	top: 0;
	left: 30%;
	background-color: var(--color-grey);
	transform: rotate(-10deg);
}

.prf_hdr {
	margin: 1rem 0;
	font-size: 24px;
	color: var(--color-wh);
	text-shadow: 1px 1px 0 var(--color-text), -1px -1px 0 var(--color-text),
		-1px 1px 0 var(--color-text), 1px -1px 0 var(--color-text),
		0px 1px 0 var(--color-text), 0-1px 0 var(--color-text),
		-1px 0 0 var(--color-text), 1px 0 0 var(--color-text);
	text-align: center;
}

.prf_name {
	margin-top: 8px;
	font-size: 16px;
	text-align: center;
}

ul.prf_sns {
	display: flex;
	justify-items: center;
	justify-content: space-evenly;
	list-style: none;
	padding: 0;
}

ul.prf_sns li img {
	width: 40px;
}

/* リンクボタン-------------------- */
.btn a {
	position: relative;
	display: inline-block;
	padding: 8px 40px 8px 16px;
	border-radius: 40px;
	color: var(--color-wh);
	text-align: center;
	line-height: 1.4;
	text-decoration: none;
	background-color: var(--color-accent);
	box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
}

.btn a::before,
.btn a::after {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	margin: auto;
	content: "";
	vertical-align: middle;
}

.btn a::before {
	right: 16px;
	width: 10px;
	height: 1px;
	background: var(--color-wh);
}

.btn a::after {
	right: 16px;
	width: 7px;
	height: 7px;
	border-top: 1px solid var(--color-wh);
	border-right: 1px solid var(--color-wh);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

.btn a:hover {
	background-color: var(--color-text);
}

/* 更新履歴-------------------- */
.news_box {
	overflow: auto;
	width: 100%;
	height: 100px;
	padding: 8px;
	border: 1px solid var(--color-text);
}

ul.news_list {
	padding: 0;
}

ul.news_list li {
	display: flex;
	align-items: center;
	list-style: none;
	padding: 4px 0;
	font-size: 0.9em;
	line-height: 1.3;
}

ul.news_list li span {
	width: 70px;
	margin-right: 8px;
	padding: 2px 4px;
	font-size: 0.8em;
	color: var(--color-wh);
	background-color: var(--color-text);
}

/* form setting--------------------*/
input,
textarea,
select,
optgroup,
option,
button {
	font: inherit;
}

button,
input[type="button"],
input[type="submit"] {
	border: none;
	cursor: pointer;
}

form {
	margin-bottom: 16px;
}

input,
textarea {
	display: block;
	width: 100%;
	margin-bottom: 16px;
	padding: 8px;
	background-color: var(--color-pale);
	border: 1px solid var(--color-grey);
	border-radius: 3px;
}

span.form-required {
	color: var(--color-accent);
}

button {
	padding: 4px 16px;
	border-radius: 40px;
	color: var(--color-wh);
	letter-spacing: .1em;
	background-color: var(--color-accent);
	box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
}

/* ページトップに戻る-------------------*/
.page_top_wrap {
	position: relative;
	margin-top: 32px;
	text-align: center;
}

.page_top_wrap * {
	text-shadow: 2px 2px 10px var(--color-hdrftrshadow),
		-2px 2px 10px var(--color-hdrftrshadow),
		2px -2px 10px var(--color-hdrftrshadow),
		-2px -2px 10px var(--color-hdrftrshadow);
}

.page_top_wrap::after {
	content: "";
	display: block;
	width: 48px;
	height: 4px;
	border-radius: 2px;
	background: var(--color-accent);
	margin: 24px auto 0;
}

.page_top a {
	color: var(--color-hdrftr);
	text-decoration: none;
	font-weight: bold;
}

.page_top a::before {
	border: solid var(--color-hdrftr);
	border-width: 0 0 3px 3px;
	content: "";
	display: inline-block;
	margin: 0 auto;
	position: absolute;
	top: -8px;
	right: 0;
	left: 0;
	transform: rotate(135deg);
	width: 8px;
	height: 8px;
}

/* footer-------------------- */
footer {
	padding: 16px;
	text-align: center;
	color: var(--color-hdrftr);
}

footer * {
	text-shadow: 2px 2px 10px var(--color-hdrftrshadow),
		-2px 2px 10px var(--color-hdrftrshadow),
		2px -2px 10px var(--color-hdrftrshadow),
		-2px -2px 10px var(--color-hdrftrshadow);
}

footer .copyright {
	font-size: 10px;
	color: var(--color-hdrftr);
}

/* -----------------------------------------------------------------------
スマホ用の処理
---------------------------------------------------------------------- */
@media screen and (max-width:600px) {
	/* ←←←消さないよう注意！ */

	header, .cnt, footer, .wrap {
		max-width: 100%;
	}

	/* ピックアップ欄 */
	/* マーカー */
	header .pickup .marker {
		top: 32px;
		left: 128px;
	}

	header .pickup .marker img {
		width: 64px;
	}

	/* 書影 */
	header .pickup .cover {
		top: 16px;
		left: -8px;
	}

	header .pickup .cover img {
		width: 80%;
	}

	/* cnt-------------------- */
	.cnt,
	.cnt::after {
		border-radius: 0;
	}

	/* スマホでタップ時に半透明にならないようにする-------------------- */
	a:hover {
		opacity: 1;
	}

	/* 横スクロールバー-------------------- */
	/* スクロールバーの高さ */
	.scroll_x::-webkit-scrollbar {
		height: 4px;
	}
}

/* ←←←消さないよう注意！ */
/* -----------------------------------------------------------------------
スマホ用の処理ここまで
---------------------------------------------------------------------- */