/*
Template:easel
Theme Name:canvas on EASEL
Version: 1.1.0
*/

/* ここから下に書いたCSSが、親テーマCSSに上書きされます。 */
/* いつか整理する */
:root {
  --white-color: #ffffff;
  --title-color: #e9aa7f;
  --title-hover-color: #f08035;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 62.5%;
}

body {
  font-family: "游明朝 Demibold";
  font-size: 1.6rem;
  color: var(--white-color);
  min-height: 100vh;

  /* ローカルのみアップロードするときは消す */
  /* background-image: url("img/design.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center; */

  img {
    /* SPの長押し禁止 */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-touch-callout: none;
    -moz-user-select: none;
    user-select: none;
  }
}

.header {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  color: var(--white-color);
  background: rgba(55, 137, 207, 0.5);
}

#logo a {
  color: var(--white-color);
}

.main,
#main {
  padding: 20px 16px;
  color: var(--white-color);
  background-color: rgb(0, 0, 0, 0.5);
  display: flex; /* 中身を縦方向中央揃えなどに使える */
  flex-direction: column;
  min-height: 100vh;
}

#inner-header {
  display: flex;
  flex-direction: column; /* 縦並び */
  justify-content: center; /* 子要素を縦中央に */
  align-items: center; /* 子要素を横中央に */
  height: 100%; /* 親 .header の高さに合わせる */
}

.header-content {
  margin: -20px -16px 1px; /* mainのpadding打ち消し */
  display: flex; /* Flexbox にする */
  flex-direction: column; /* 縦に積む */
  align-items: center; /* 横中央揃え */
  justify-content: center; /* 縦中央揃え */
  text-align: center; /* 文字も中央揃え */
  gap: 10px; /* 要素間の余白 */
  position: relative;
}

/* プロフィール画像のホバー */
.profile_link {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  display: block;
}

.profile_avatar {
  width: 100px;
  height: 100px;
  border-radius: 100px;
  display: block;
}

.hover-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* 画像と同じサイズ */
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.profile_link:hover .hover-text {
  opacity: 1;
}

a,
a:visited,
a:visited:hover {
  color: rgba(255, 255, 255, 0);
}

.my-text {
  white-space: pre-line;
  line-height: 1.5; /* 行間を読みやすく */
}

/* ラインのスタイル */
/* 見た目調整 */
summary {
  font-size: 1.5rem;
  cursor: pointer;
  font-weight: bold;
}

summary.custom-summary {
  display: block;
  width: 100%;
  text-align: center;
}

/* デフォルトの矢印を非表示に */
summary.custom-summary::-webkit-details-marker {
  display: none;
}

/* デフォルト（閉じているとき） */
summary::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 6px solid #ffffff;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  margin-right: 5px;
}

details[open] summary::before {
  transform: rotate(90deg);
}

/* ラインのスタイル */
hr.style15 {
  border-top: 4px double #8c8b8b;
  margin: 1rem 0;
}

/* 折り畳みの内容部分のスタイル */
.content {
  padding: 1rem 0; /* 上下の余白は少なめ */
  margin: 0; /* marginは消す */
}

/* さらに内部のspan/p余白を消す場合 */
.my-text span,
.my-text p {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  color: var(--white-color);
}

/* h6見出し（機能タイトル、ポップアップの見出しなど） */
h6 {
  max-width: 80%;
  margin: 2rem auto 1rem auto;
  text-align: center;
  font-size: 1.6rem;
  line-height: 160%;
  color: var(--title-color);
}

h6 span {
  border-radius: 20px;
  position: relative;
  display: inline-block;
  padding: 10px 30px;
  background: rgba(60, 92, 132, 0.2);
}

h6 span::before,
h6 span::after {
  content: "";
  position: absolute;
  display: block;
  border-style: solid;
  border-width: 0 0 12px 12px;
}

h6 span::before {
  top: 0;
  left: 1px;
  border-radius: 2px;
  border-color: var(--title-color) var(--title-color) transparent;
}

h6 span::after {
  bottom: 0;
  right: 1px;
  border-radius: 2px;
  border-color: transparent transparent var(--title-color);
}

/* リスト */
ul {
  list-style: none; /* 点を消す */
  padding: 0; /* 左側の余白を消す */
  margin: 0; /* 上下の余白を消す（必要に応じて） */
}

ul .description,
ol .description {
  display: block;
  margin-left: 10px;
}
ul .description::before,
ol .description::before {
  content: "└";
  margin-right: 10px;
}
dl.border dt,
dl.border dd,
dl.inline dt,
dl.inline dd {
  display: block;
}
dl.border dt,
dl.inline dt {
  width: 100%;
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
dl.border dd,
dl.inline dd {
  width: 100%;
  padding-left: 40px;
}

/* 装飾 */
.text-center {
  text-align: center;
}

.text-small {
  font-size: 1rem;
}

.text-bold {
  font-weight: bold;
}

/* newラベル */
.new {
  margin-right: 10px;
  font-size: 0.9rem;
  padding: 0.2rem 0.4rem;
  color: #b01015;
  font-weight: bold;
  background: #f7d7a0;
  border-radius: 8px;
  animation: blink-animation 2s ease-in-out infinite alternate; /* 点滅はゆっくりに */
  display: inline-block;
  vertical-align: middle;
}

/* 点滅アニメーション */
@keyframes blink-animation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*ボタン*/
*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

.btn_f,
a.btn_f,
button.btn_f {
  margin: 5px auto 5px;
  font-size: 100%;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 1.2rem;
}

a.btn_f-flat {
  overflow: hidden;

  padding: 1.5rem 6rem;

  color: #fff;
  border-radius: 20px;
  background: #000;
}

a.btn_f-flat span {
  position: relative;
}

a.btn_f-flat:before {
  position: absolute;
  top: 0;
  left: 0;

  width: 100px;
  height: 100px;

  content: "";
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-transform: translateX(-80%) translateY(-25px);
  transform: translateX(-80%) translateY(-25px);

  border-radius: 50%;
  background: #83ccd2;
}

a.btn_f-flat_koi:before {
  background: #b1df9f;
}

a.btn_f-flat_ff14:before {
  background: #f7f19f;
}

a.btn_f-flat_afk:before {
  background: #4b68e9;
}

a.btn_f-flat:hover:before {
  width: 400px;
  height: 400px;

  -webkit-transform: translateX(-1%) translateY(-175px);

  transform: translateX(-1%) translateY(-175px);
}

.btn_f-small {
  padding: 0.5rem 2rem !important; /* 小さいボタンのためのパディング */
  font-size: 14px !important; /* フォントサイズを小さくする */
}
/* 特定ボタンの固定サイズ */
.btn_f-fixed {
  width: 200px; /* 固定幅 */
  height: 60px; /* 固定高さ */
  font-size: 1rem;
  padding: 1.5rem 4rem; /* 固定したボタンのパディング */
  display: flex; /* テキストの位置調整用 */
  align-items: center;
  justify-content: center;
}

/* リンク */
a,
.toggle_more .show,
.toggle_more .hide,
.main .top_icons a {
  color: #83ccd2;
}

/* リンクリスト */

ul.sns-list {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  margin: 1em auto;
  -webkit-box-pack: center;
  justify-content: center;
  max-width: 600px;
}

ul.sns-list li {
  margin-top: 10px; /* 上部に10pxの余白を追加 */
  margin-bottom: 0.5em;
}

ul.sns-list li a {
  font-size: 1.4rem;
  border: 2px solid #83ccd2;
  color: var(--white-color);
  padding: 5px 8px;
  border-radius: 20px;
  background-color: #ffffff00;
}

ul.sns-list li a:hover {
  background: #83ccd2;
  color: var(--white-color);
}

ul.sns-list li a.twitter:hover {
  background: #333333;
  border: 2px solid #333333;
  color: var(--white-color);
}

ul.sns-list li a.bsky:hover {
  background: #0096fa;
  border: 2px solid #0096fa;
  color: var(--white-color);
}

ul.sns-list li a.litlin:hover {
  background: #d882ed;
  border: 2px solid #d882ed;
  color: var(--white-color);
}

ul.sns-list li a.wave:hover {
  background: #5c20df;
  border: 2px solid #5c20df;
  color: var(--white-color);
}

ul.sns-list li a.diary-3:hover {
  background: #b62616;
  border: 2px solid #b62616;
  color: var(--white-color);
}
ul.sns-list li a.bookshelf:hover {
  background: #42a437;
  border: 2px solid #42a437;
  color: var(--white-color);
}
ul.sns-list li a.ilust:hover {
  background: #0066ff;
  border: 2px solid #0066ff;
  color: var(--white-color);
}
ul.sns-list li a.tubuyaki:hover {
  background: #ffa600;
  border: 2px solid #ffa600;
  color: var(--white-color);
}

ul.sns-list li a.update:hover {
  background: var(--title-color);
  border: 2px solid var(--title-color);
  color: var(--white-color);
}

ul.sns-list li:not(:last-of-type) {
  margin-right: 20px;
}

/* 更新履歴とお知らせ wrapper */
.two-columns-wrapper {
  max-width: 100%;
  margin: 0;
  padding: 0 10px;
}

/* 日付と本文の横並び */
.two-columns {
  margin-left: 0;
  display: flex;
  align-items: flex-start; /* 上揃え */
  margin-bottom: 1em; /* ブロック間の余白 */
}

/* 日付カラム固定 */
.two-columns .update-date {
  width: 100px;
  flex-shrink: 0;
  font-weight: bold;
}

/* 本文は残り幅を使う */
.two-columns .update-content {
  flex: 1;
}

footer.footer {
  background-color: rgb(0, 0, 0, 0.5);
}

.center {
  text-align: center;
}

/* ヘッダーアニメーション*/
.wave-hover:hover {
  animation: wave 0.6s ease-in-out infinite;
}

@keyframes wave {
  0% {
    transform: skewX(0deg);
  }
  50% {
    transform: skewX(5deg);
  }
  100% {
    transform: skewX(0deg);
  }
}

.message-btn {
  background-color: #f1f1f1;
  border-radius: 10px;
  padding: 10px;
}

/*リンク色*/
a.moji {
  color: var(--title-color);
}

a.moji:hover {
  color: var(--title-hover-color);
}

/* PC用 */
@media screen and (min-width: 768px) {
  .two-columns-wrapper {
    max-width: 600px; /* 中央に寄せる幅 */
    margin: 0 auto; /* 中央寄せ */
    padding: 0;
  }

  /* 日付と本文の横並び */
  .two-columns {
    margin-left: 100px;
  }

  /* プロフィール画像をヘッダー下に少し出す */
  .profile_link {
    position: absolute;
    top: 100%; /* ヘッダー下端に合わせる */
    left: 50%; /* 横中央 */
    transform: translate(-50%, -45%); /* 半分上にずらしてチョイ下に配置 */
    width: 100px;
    height: 100px;
  }
}

.name-block {
  text-align: center; /* 中央寄せ */
  margin-top: 75px;
  margin-bottom: 10px;
}

/* メインの名前 */
.main-name {
  font-size: 1.6rem; /* 少し大きめ */
  font-weight: bold;
}

/* 補足 */
.name-note {
  font-size: 1rem;
  margin-top: -5px;
  opacity: 0.7;
}

/* サークル名 */
.circle-name {
  font-size: 1rem;
  margin-top: 1px;
  opacity: 0.7;
}

.notice-swiper {
  padding-bottom: 20px;
}

.notice-swiper .swiper-pagination {
  bottom: 0;
}

.swiper-pagination-bullet {
  background: #ccc;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #67c1ec;
}

.update-swiper {
  padding-bottom: 20px;
}

.update-swiper .swiper-pagination {
  bottom: 0;
}

.update-swiper .swiper-pagination-bullet {
  background: #ccc;
}

.update-swiper .swiper-pagination-bullet-active {
  background: #67c1ec;
}

/* ギャラリー */
body.single-works main {
  padding: 0 !important;
}

body.single-works .entry-content {
  padding: 0 !important;
}

@media only screen and (max-width: 748px) {
  body.single-works .wrap,
  body.single-works .wrap .container,
  body.single-works .wrap .inner-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
  }
}

.pagination.single {
  display: flex;
  justify-content: space-between;
  min-height: 1.5em;
  align-items: center;
}

.pagination.single a {
  padding: 0.5em 1em;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition:
    background-color 0.3s,
    color 0.3s;
}

.pagination.single a,
.pagination.single .dummy {
  display: inline-block;
}

.pagination.single .dummy {
  visibility: hidden; /* 見えないけどスペース確保 */
}

.pagination.single a.next {
  margin: 10px;
  background-color: var(--title-color); /* 左の次ボタンの色 */
  color: #fff;
}

.pagination.single a.prev {
  margin: 10px;
  background-color: var(--title-color); /* 右の前ボタンの色 */
  color: #fff;
}

/* ホバー時 */
.pagination.single a:hover {
  opacity: 0.8;
  cursor: pointer;
}

.pagination.single a.next::before {
  content: "◀ "; /* 左側の「次」に左向き矢印 */
}

.pagination.single a.prev::after {
  content: " ▶"; /* 右側の「前」に右向き矢印 */
}
