@charset "utf-8";

/*----------- 基本の設定 -----------*/
a {
	color: #5f6fac; /*aタグを全てこの色に*/
}
/*
img {
	filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 15%)); /*画像に全て影をつける
}*/
p {
	font-family: fot-tsukuardgothic-std, sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
}
ul {
	font-family: fot-tsukuardgothic-std, sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	color: #5f6fac;
}
li {
	list-style: none;
}
dd {
	font-family: fot-tsukuardgothic-std, sans-serif;
	font-style: normal;
	font-weight: 400;	
}
h1, h2, h3, h4, h5, h6 {
	font-family: fot-tsukuardgothic-std;
	font-weight: 400;
	font-style: normal;
	color: #5f6fac;
}
h1 {
	font-size: 25px;
	margin: 20px 0;
	line-height: 1.5;
}
h2 {
	font-size: 19px;
	padding: 0.5em 0;/*上下 左右の余白*/
	margin: 50px 0 10px 0;
}
.fade{
  opacity : 0;
  transition: opacity 2s;
}
.fade.view{
  opacity: 1;
}
/* 背景画像擬似要素 */
body::before {
	content: "";/* 必ず指定する */
  	display: block;
	position: fixed; 
	z-index:-1;
	top: 0;
	left: 0;
	background-image: url(../images/img/main_img.jpg); 
	height: 100vh; 
	width: 100%;
	background-size: cover;
	background-position: center center; 
	background-repeat: no-repeat;
}

body {
	position: relative;
    animation: fadeIn 2s ease 0s 1 normal;
    -webkit-animation: fadeIn 2s ease 0s 1 normal;
}
@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}
@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}
	/*フォントのかくつき防止*/
html {
  visibility: hidden;
}
html.wf-active, html.loading-delay {
  visibility: visible;
}
/*URLの折り返し*/
.kaigyou {
word-wrap: break-word; 
}
/*----------- 基本の設定おわり -----------*/

/*------------------------ ヘッダー・フッターの設定 ------------------------*/
/*------------- ヘッダー ------------*/
header {
	position: relative;
	z-index: 10;
  	top: 0;
   	right: 0;
	left: 0;
  	bottom: 0;
}
.header-inner, .top-bar {
	position: relative;
}
.site-title-wrap {
	text-align: center;
	padding: 30px 0;
}
.logo {
	width: 180px;
  	padding: 10px;
	opacity: 70%;
}
.white {
	/*ヘッダー内Artsit|Illustratorの白い文字*/
	color: #fff;
	font-family: fot-tsukuardgothic-std;
	font-weight: 100;
	font-style: normal;
	opacity: 70%;
}
.insta-logo {
	width: 15px;
	margin-top: 20px;
	opacity: 70%;
}
#header-nav-wrap {
	/*ナビバー*/
	margin-top: 40px;
}
#header-nav-wrap { 
	text-align: center; 
	display: flex; 
	justify-content: center; 
}
#header-nav {
	display: block;
	width: 50%;
}
#header-nav ul {
	 display: flex;
	justify-content: space-evenly;
}
#header-nav ul li {
	  text-align: center;
}
#header-nav a {
	display: block;
	text-align: center;
	color: #fff;
	transition: .5s;
	float: left;
	font-family: fot-tsukuardgothic-std, sans-serif;
	font-style: normal;
	font-weight: lighter;
	font-size: 16px;
	opacity: 70%;
}
#header-nav a:hover {
	text-shadow: 1px 1px 10px #ffffff40, -1px 1px 10px #ffffff40, 1px -1px 10px #ffffff40, -1px -1px 10px #ffffff40;
}
#header-nav a:active {
	text-shadow: 1px 1px 10px #ffffff40, -1px 1px 10px #ffffff40, 1px -1px 10px #ffffff40, -1px -1px 10px #ffffff40;
}
#header-nav { 
	display: inline-block;
}

.menu_title a {
	display: none!important;
}

/*???
.bg-style-page {
	position: absolute;
	top: 0;
}*/
/*いまはないやじるし
.scrollarrow {
	position: absolute;
	margin: 0 auto;
	top: 940px;
	left: 0;
	right: 0;
	z-index: 3;   
	width: 60px;	
}*/
.arrow-wrapper {
	position: fixed;
	bottom: 10px;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	padding: 6px 40px;
	/*text-align: center;
	margin-top: 40vh;*/
}


.scrollarrow {
	width: 50px
}
/*scrollarrowを右下にした場合、フッターで消えるようにする*/
.hidden {
    animation: fade .2s ease-in-out forwards;
    pointer-events:none;/* 重要 */
}

@keyframes fade {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.visible {
    animation: fadeOut .2s ease-in-out forwards;
    pointer-events:all;/* 重要 */
}

@keyframes fadeOut {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ----------------- フッター -------------------*/
.copyright { 
	color : #5f6fac;
	padding: 50px 0; 
	text-align: center; 
}
.copyright p {
	text-align: center; 
	color: #5a6077; 
	padding: 15px 0;
	font-family: baskerville-urw, serif;
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
}
.copyright a {
	text-align: center; 
	color: #5a6077; 
	padding: 15px 0;
	font-family: baskerville-urw, serif;
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	text-decoration: underline;
}
.to-top {
	width: 50px;
	height: 50px;
	background: #86abe2;
	border-radius: 50%;
	position: fixed;
	right: 40px;
	bottom: 40px;
	cursor: pointer;
	z-index: 1000;
	filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 15%));
}

.footer-to-top {
	display: none;
}
/*------------------------ ヘッダー・フッターの設定おわり ------------------------*/
/*------------------------ 各ページの下敷き部分 --------------------------------------*/

.container p {
	/*下敷き部分に載っている文字*/
	color : #5f6fac;
}
.front-page { 
	/*トップページの白い下敷き部分*/
	background: #fff; 
	padding-top: 100px ;
	padding-bottom: 100px; 
	margin-top: 75vh;
}
/*Aboutページの半透明下敷き*/
.contents-transparent {
	background: #ffffffb8;
	max-width: 760px;
	margin: 100px auto 0;
	padding: 50px 150px 130px;
}
/*Books、Newsページの白い下敷き*/
.contents{
	background: #fff;
	max-width: 760px;
	margin: 100px auto 0;
	padding: 50px 150px 130px;
}
/*.about-contentの名前がついている下敷き（現在Books, About）に載っている文字の行間・字間*/
.about-content p {
	margin-top: 50px;
	line-height: 2.4;
	letter-spacing: 1px;
}
.about-content a {
	text-decoration: none!important;
}
/*------------------------ 各ページの下敷き部分おわり --------------------------*/

/*------------------------ 個別の固定ページの設定 --------------------------------*/
/*---------- トップページ ------------*/
/*ギャラリー部分*/
/*lightboxのキャプションの位置。キャプションはなぜか出てない…*/
.pgc-rev-lb-b-view .pgc-rev-lb-b-info-wrap {
	top: 940px;
}
/*lightboxのキャプションのフォント*/
.pgc-rev-lb-b-item-title {
	font-family: fot-tsukuardgothic-std, sans-serif;
	font-style: normal;
	font-weight: 400;
}
/*------------- Aboutページ --------------*/
.about-title {/*タイトル*/
	display: block;
	margin: 0 auto 50px;
	width: 130px;
}
.about-top-img {/*星の草原の絵*/
	width:1000px;
	height: 400px;
	object-fit: cover;
}
/*私の名前*/
.about-myname {
	padding: 0 2em;/*上下 左右の余白*/
	border-left: solid 1px #5f6fac;
}
h1.name {
	letter-spacing: 3px;
}
/*プロフィール文*/
.about_text {
	margin-bottom: 100px;
}
/*略歴タイトル*/
h2.experience-title {
	border-bottom: solid 0.5px #5f6fac;
}
/*略歴*/
.experience ul {
	line-height: 2.4;
    letter-spacing: 1px;
}
.dan {
float:left;
}
.dan2 {
display: block;
margin-left: 80px;
}
/* ----------- Booksページ ---------------- */
/*ページタイトル*/
.commissions-text {
	display: block;  
	margin: 0 auto 50px;
	width: 130px;
}
.commissions-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

.commissions {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.commissions:hover {
  transform: translateY(-5px);
}

.commissions img {
  width: 100%;
  height: 200px;
  object-fit: cover; /* 長方形にクロップ */
}

.commissions-caption-text dt {
  font-size: 1.2em;
  margin: 10px 0;
}

.button p {
  display: inline-block;
  background-color: #9cc3dd;
  color: #fff;
  padding: 10px 20px;
  margin: 10px 0 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.button p:hover {
  background-color: #2980b9;
}
/* ----------------- Newsページ --------------------*/
/*Newsページタイトル*/
.newsletters-text {
	display: block;
	margin: 0 auto 100px;
	width: 185px;
}

/*サイドバー*/
.side-category span {
	font-family: baskerville-urw, serif;
	font-style: normal;
	font-weight: 400;
	font-size: 18px;
	color: #5f6fac;
}
.side-category {
	margin-bottom: 20px;
}
#sidebar {
	width: 20%;
	border-left: solid 0.5px #5f6fac;
	float: left;
	height: fit-content;
}
.sidebar-inner {
    margin-left: 10px;
	color: #5f6fac;
	font-family: fot-tsukuardgothic-std, sans-serif;
	font-style: normal;
	font-weight: 400;
}
.sidebar-inner a {
	color: #5f6fac;
}
.sidebar-inner li + li {
	margin-top: 20px;
}

/*???
#content_main {
	width: 70%;
	float: right;
}*/

/*floatのはみ出し解除*/
.clearfix:after {
	content: "";
	clear: both;
	display:block;
}
/*「お知らせループ」内*/
.articles {
    display: block;
    width: 100%;
    clear: both;
}
/*記事リストの一範囲*/
.article-list {
    float: left;
    border: solid 0.5px #5f6fac59;
    padding: 35px;
	width: auto;
}
/*記事リストとリストの間*/
.article-list + .article-list {
	margin-top:35px;
}
/*サムネ画像の範囲*/
.img-wrap {
	    width: auto;
    float: left;
}

.img-wrap {
    width: 30%;  /* Image width is set to 30% */
    height: 200px; /* Set a fixed height for the image container */
    overflow: hidden; /* Hide the part of the image that overflows */
    margin-right: 15px;
}
.img-wrap img {
    width: 100%; /* Stretch image to fill width */
    height: auto; /* Keep aspect ratio */
    min-height: 100%; /* Ensure it always covers the height */
    object-fit: cover; /* Crop the image to fit the square */
    object-position: center; /* Keep the focus in the center */
}

/*記事タイトル*/
.color1 {
	font-size: 28px;
	font-family: fot-tsukuardgothic-std, sans-serif;
	font-style: normal;
	font-weight: 400;
	color: #5f6fac;
	margin: 0 0 10px 0;
}
/*カテゴリータグ*/
.cat-data {
	font-family: fot-tsukuardgothic-std, sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 13px;
    background-color: #bfd8e682;
    color: #5f6fac;
    padding: 2px 4px 2px 4px;
	display: none;
}
/*日付*/
.article-date {
	font-family: fot-tsukuardgothic-std, sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	color: #5f6fac;
	/*margin: 0 8px;*/
}
/*日付をインライン要素（横並び）に（レスポンシブでは縦並びにしています）*/
.time {
		display: inline;
	}
.fa-clock:before {
	/*時計マークを非表示に*/
	display: none;
}
/*テキスト範囲*/
.text {
	float: right;
    width: 60%;
}
.text p {
	margin-top: 30px;
	line-height: 1.5;
}



/*Newsページの子ページ（一つ一つの投稿）*/
/*記事の全範囲（サイドバー除く）*/
.article-content {
    float: none;
    width: auto;
}
.article-content h1 {
	font-family: fot-tsukuardgothic-std, sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 30px;
	color: #5f6fac;
}
.article-content .article-img img {
	margin: 20px 0;
	object-fit: cover;
    height: 300px;
    width: 100%;
}
.article-content p {
	line-height: 2em;
	font-size: 18px;
}
/*投稿の「前の記事へ」*/
.next {
	margin-top: 50px;
	text-align: center;
}
.next a {
	font-family: fot-tsukuardgothic-std, sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	color: #5f6fac;
}
.next a + a {
	margin-left: 20px;
}
figcaption {
	font-family: fot-tsukuardgothic-std, sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 16px;
	color: #5f6fac;
	line-height: 1.5em;
}

/*---------------------------------- レスポンシブ対応設定 ----------------------------*/
/* --------------------------- pc -----------------------------*/
@media screen and (min-width: 769px) {
/*ここにpc用スタイルを記述*/
	/*---------- トップページ ------------*/
		/*ギャラリー部分*/
	.gallery-content {
		background: #ffffffb3;
		width: auto;
		transition: 3s;
		margin: 100px 200px;
}
}
 
/*-------------------------- tablet ------------------------------- */
@media only screen and (min-width: 641px) and (max-width: 960px) {
/*ここにtablet用スタイルを記述*/
	
	/*---------- Booksページ ------------*/
	.commissions img {
		height: auto;
		width: auto;
	}
	.commissions-caption-text dt {
		font-size: 16px;
	}
	.commissions {
		margin-bottom: 50px;		
	}

	/*サイドバー*/
	.sidebar-area {
		display: none;
	}
	
/* Tablet - News */
.articles {
  margin-left: auto;
  margin-right: auto;
	display: block;
	width: 100%;
}

.article-list {
    width: 100%;
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
	width: 87%;/*ボックスの横幅を調整*/
}

.img-wrap {
    width: 30%;  /* Image width is set to 30% */
    height: 200px; /* Set a fixed height for the image container */
    overflow: hidden; /* Hide the part of the image that overflows */
    margin-right: 15px;
}

.article-list .img-wrap img {
    width: 100%;   /* Ensure the image takes up the full width of the container */
    height: 100%;  /* Let the image fill the height of the container */
    object-fit: cover; /* Cover the space and crop the image if necessary */
}

		.article-content {
		float: none;
		width: 100%;
	}
}
 
/* ---------------------- SmartPhone ---------------------------*/
@media screen and (max-width: 640px) {
/*ここにスマホ用スタイルを記述*/

	#header-nav-wrap {/*ナビバーを非表示に*/
		display: none;
	}
	/*---------- トップページ ------------*/
	/*ギャラリー部分*/
	.gallery-content {
		background: #ffffffb3;
		transition: 3s;
		margin: 10px 15px;
	}
	.contents {
    background: #fff;
	margin: 100px auto 0;
    padding: 34px 55px 130px;
	}
	
	/*---------- Booksページ ------------*/
	.commissions img {
		height: auto;
		width: auto;
	}
	.commissions-caption-text dt {
		font-size: 16px;
	}
	.commissions {
		margin-bottom: 50px;		
	}
	/*------------ Aboutページ -----------*/
	/*Aboutページの半透明下敷き*/
.contents-transparent {
	background: #ffffffb8;
	margin: 100px auto 0;
	padding: 34px 55px 130px;
}
	.about-top-img {
		height: 170px;
	}
/*サイドバー*/
	.sidebar-area {
		display: none;
	}
/*------------ News ページ -----------*/
/* Set the container for the articles to take full width */
	.articles {
		margin-left: auto;
		margin-right: auto;
		display: block;
		width: 100%;
	}

	/* Article list container */
	.article-list {
		width: 100%;
		border: solid 0.5px #5f6fac59;
		padding: 15px;
		box-sizing: border-box;
	}

	/* Image container, set to take full width */
	.article-list .img-wrap {
		width: 100%;
		height: 200px; /* Adjust the height as needed */
		overflow: hidden; /* Crop the image if needed */
	}

	/* Image should cover the full width, maintaining aspect ratio */
	.article-list .img-wrap img {
		width: 100%;
		height: 100%;
		object-fit: cover; /* Ensure image is cropped if necessary */
	}

	/* Text container */
	.text {
		width: 100%; /* Stretch text to full width */
		margin-top: 10px; /* Space between image and text */
		padding: 0; /* No padding for text */
	}

	/* Title styling */
	.color1 {
		font-size: 25px;
		color: #5f6fac;
		padding-top: 30px;
	}

	/* Date styling */
	.article-date {
		font-size: 14px;
		color: #5f6fac;
	}

	/* Ensure time is inline with the date */
	.time {
		display: inline-block;
		margin-top: 8px;
	}

	/* Make sure article content stretches fully */
	.article-content {
		width: 100%;
	}
}


/*----------------- NAV BAR ON/OFF -----------------*/
@media screen and ( max-width:768.1px ){/*When the screen width is under 768.1px, this will be applied*/

	#header-nav-wrap {/*WPRのメニューアイコンが表示される代わり、ナビバーを非表示に*/
		display: none;
	}
}