@charset "UTF-8";

/* ↓フォント関連 */

@import url('c?family=Noto+Sans+JP:wght@400;500;600;900&display=swap&subset=japanese');
@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@200;500;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css');

body{
	font-family: 'Noto Sans JP','Hiragino Kaku Gothic ProN', Meiryo,  sans-serif;
}

#top h1,
nav,
#scroll span,
h2,
#link a span,
.thum_caption,
summary.next,
.price,
.sample a,
.new,
#site ul,
#bkm h3{
	font-family: 'Urbanist', 'Noto Sans JP';
}

/* ↓各デバイス用サイズ調整 */

@media screen and (min-width: 1181px) {
	html{ font-size:62.5%;}}
@media screen and (max-width: 1180px) {
	html{ font-size:50%;}}
@media screen and (max-width: 1024px) {
	html{ font-size:45%;}}
@media screen and (max-width: 768px) {
	html{ font-size:90%;}}
@media screen and (max-width: 500px) {
	html{ font-size:62.5%;}}

html{
	scroll-behavior: smooth;
}

body{
	position: relative;
	font-weight: 400;
}
	
a {
	text-decoration: none;
}
	
a:focus, *:focus {
	outline:none;
}

section h2{
	margin:auto;
	text-align: center;
}



/* ↓top */
#top{
	margin-bottom: 1px;
	width: 100%;
	height: 100dvh;
	position: relative;
}

#top::after{
	content:"";
	display:block;
	position:fixed;
	top:0;
	left:0;
	z-index:-1;
	width:100%;
	height:100vh;
	background-size:cover;
	background-repeat: no-repeat;
	z-index: -2;
}

#top h1{
	line-height: 1;
	font-weight: bold;
}

#top nav,
#link{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

#top nav a,
#link a{
	display: block;
	text-align: center;
}

#top nav{
	border-bottom-style: solid;
}

#top nav a > *{
	display: inline-block;
}

#top nav a i,
#link a i{
	margin: 0 auto;
	border-radius:50%;
}

#top nav a span,
#link a span{
	font-weight: bold;
}

#scroll{
	display: block;
	position: absolute;
	margin: auto;
	right: 0;
	left: 0;
	width: fit-content;
	font-weight: bold;
	animation: flash 2s ease-out infinite;
}

@keyframes flash {
  0%,100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}



/* ↓me */

img#icon{
	display: block;
	object-fit: cover;
	border-radius: 50%;
}

#link a > *{
	display: block;
}

#link a i{
	border-style: solid;
}

/* ↓テキスト関連 */

#aboutme strong{
	font-weight: 500;
}

#aboutme ul li{
	font-weight: 500;
}

#aboutme ul li,
#text ul li{
	position: relative;
}

#aboutme ul li::before,
#text ul li::before{
	position: absolute;
	font-family: "Font Awesome 5 Free";
	content: "\f058";
}
	


/* ↓illust */

.imgbox{
	position: relative;
}

.pic{
	position: relative;
	float:left;
	overflow: hidden;
}

.pic::before {
    content: "";
    display: block;
}

.pic:first-child{
	margin-bottom: 0;
}

.pic img{
    position: absolute;
    top: 0; 
    left: 0;
	width:100%;
	height:100%;
	object-fit: cover;
	vertical-align:bottom; 
}

.thum_caption{
	position: absolute;
}

summary.next{
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	margin: 0 auto;
	display: inline-block;
	text-align: center;
	font-weight: bold;
}

summary.next::before,
summary.next::after{
	display: inline-block;
	font-family:'Font Awesome 6 Free';
	text-align: center;
	font-weight: bold;
	content:'\f103';
	font-size: 0.7em;
}


/* ↓offline */

.book{
	display:flex;
	position: relative;
}

.hyoushi{
	flex-shrink: 0;
}

.book img{
	width: 100%;
	height: auto;
	vertical-align: middle;
}

.info{
	flex:1;
	position: relative;
}

.price{
	font-weight: bold;
}

.sample{
	position: absolute;
	right: 0;
}

.sample a{
	display: inline-block;
}

.new::before{
	position: absolute;
	content: 'new';
	display: block;
	text-align: center;
	font-weight: bold;
	z-index: 1;
}



/* ↓about */

#site ul{
	display: table;
}

#site ul li{
	display: table-row;
}

#site ul li span{
	display: table-cell;
	border-bottom-style: solid;
}

#site ul li span:first-child{
	font-weight: bold;
}

#bkm a{
	font-weight: bold;
}

#bkm a::after{
	font-family: "Font Awesome 5 Free";
	content: "\f35d";
	vertical-align: top;
}



/* ↓トップに戻るボタン */

#page_top {
	position: fixed;
	display: none;
    animation: fade .5s;
}

#page_top.view {
	display: block;
}

#page_top a {
	display: block;
	text-align: center;
}


/* ↓float解除 */
.clear::after {
	content: "";
	display: table;
	clear: both;}
