@charset "utf-8";

:root {
  --party-font: "Megrim", system-ui;
  --font-1: Charter, 'Bitstream Charter', 'Sitka Text', Cambria, serif;
  --font-2: "Yusei Magic", sans-serif;
  --blog-color: #fffef9;
  --shadow-color: #00000059;
  --row-gap: 1.2rem;
}

.sort,
.main_article,
.footerbox,
.okareco {
  width: 970px;
  max-width: 93%;
  margin-left: auto;
  margin-right: auto;
}


/* メイン */
/* ブログヘッダー */
.blog_title {
  width: fit-content;
  margin: 2.5rem auto;
  font-family: var(--font-2);
  text-align: center;
}

rt {
  font-size: 14px;
}

.blog_title h2 {
  font-size: 34px;
  font-weight: normal;
  padding-bottom: 2px;
  transition-duration: 0.2s;
}

.blog_title h2:hover {
  filter: brightness(2);
}

.blog_title P {
  font-size: 18px;
  margin-top: 4px;
}

/* ソート */
.sort {
  margin-bottom: 1rem;
  user-select: none;
}

.selectlink {
  padding: 0 0.5em;
  background-color: var(--blog-color);
  border-radius: 2px;
  border: none;
  outline: none;
}

.main_article {
  display: grid;
  grid-template-columns: 3fr 1fr;
  column-gap: 2.4rem;
}


.blogbox {
  display: grid;
  row-gap: 4.8rem;
}

.blog,
.share_etc,
aside>div {
  background-color: var(--blog-color);
  box-shadow: 0 2px 4px var(--shadow-color);
}

/* ブログ記事 */
.blog {
  padding: 1.6rem 2.5rem 2.5rem;
  border-radius: 44px 0px;
}

.blog hgroup {
  margin-bottom: 1rem;
}
.thum{
  margin-bottom: 2rem;
}
.honbun {
  display: grid;
  row-gap: 5rem;
}

.honbun h5 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.price {
  font-size: 14px;
  margin: 8px 0;
}

.price::before {
  content: "(";
}

.price::after {
  content: ")";
}

/* 目次 */
.mokuji {
  width: fit-content;
  margin: 4rem auto;
  padding: 8px 3rem 16px;
  border-radius: 4px;
}

.mokuji p {
  text-align: center;
  font-size: 17px;
}

.mokuji {
  display: grid;
  row-gap: 4px;
}

.mokuji li {
  list-style: decimal;
  text-decoration: underline;
  transition-duration: 0.1s;
}
.mokuji li:hover {
opacity: 0.7;
}

#a,
#b,
#c,
#d,
#e {
  text-align: center;
}

.blog .img {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 2px;
  overflow: hidden;
}

.blog .img img {
  height: 100%;
  margin: 0 auto;
}

h3 {
  padding-bottom: 0.5rem;
  border-bottom: 1.5px solid #ccc;
  line-height: 1.2;
}

.time {
  margin-top: 0.5rem;
  color: #555;
  font-size: small;
  font-family: system-ui, sans-serif;
}

.blog>div>p {
  text-align: justify;
  line-height: 1.98;
}


/* デコレーション */
.decoration {
  display: flex;
  flex-wrap: wrap;
  justify-content: right;
  column-gap: 1rem;
  margin-top: 2rem;
  user-select: none;
  font-family: system-ui, sans-serif;
}

.decoration>li>span {
  position: relative;
}

.decoration>li>span::before {
  display: none;
  content: '';
  position: absolute;
  bottom: calc(100% + 3px);
  font-size: small;
  padding: 4px 6px;
  width: max-content;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  background-color: #efefef;
}

.decoration>li>span:nth-child(1)::before {
  content: 'スキ';
}

.decoration>li:nth-child(2)>span::before {
  content: 'シェア';
}

.decoration>li>span:hover::before {
  display: block;
}

.decoration>li>span {
  vertical-align: middle;
}

.share {
  position: relative;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;
}

#favoritebtn,
#favoritebtn2,
#favoritebtn3 {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;
}

/* シェアボックス */
.share_etc {
  position: absolute;
  z-index: 3;
  bottom: 30px;
  width: 200px;
  padding: 0.8em 0.6em;
  border-radius: 2px;
  font-size: small;
}

#share_etc,
#share_etc2,
#share_etc3 {
  display: none;
}

.share_etc img {
  display: inline-block;
  height: 1.1em;
  margin-right: 1em;
  vertical-align: text-bottom;
}

.share_etc li {
  margin-top: 0.4em;
  padding: 0.3em 0.6em;
  transition-duration: .1s;
}

.share_etc li:hover {
  background-color: #efefef;
}

.share_etc>li:first-child {
  margin-top: 0;
}

#customDialog {
  display: none;
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  padding: 16px 18px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: top 0.3s ease;
  font-weight: bold;
}

#customDialog.show {
  top: 20px;
}


.topbtn{
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 2px var(--shadow-color);
  text-align: center;
  border-radius: 100px;
  transition-duration: 0.4s;
}

.topbtn a {
  position: relative;
  display: block;
  width: fit-content;
  padding: .5em 1em;
}

/* 補助欄 */
aside {
  max-width: 300px;
}

h4 {
  text-align: center;
  font-size: 16px;
  margin-bottom: 1rem;
}

aside>div {
  position: relative;
  display: grid;
  margin-top: var(--row-gap);
  padding: 0.8rem 0.5rem;
  border-radius: 7px;
  max-width: 232.9px;
  font-size: 14px;
}

#calendar {
  margin: 0 auto;
}

aside .my p {
  text-wrap: balance;
  text-align: center;
}

.me {
  width: 100px;
  border-radius: 100px;
  margin: 0 auto 1rem;
}

.name {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

aside a {
  transition-duration: 0.1s;
}

aside a:hover {
  opacity: 0.7;
}

aside>div:first-child {
  margin-top: 0;
}

/* フッター */
footer {
  position: relative;
  font-size: small;
  text-align: center;
}

.blood {
  vertical-align: bottom;
}

.footerbox {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

footer section:first-child {
  display: grid;
  row-gap: 1em;
}

.footer_title {
  font-size: 0.9rem;
  font-weight: bold;
}

footer section:first-child div {
  font-weight: bold;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding: 4px 0.7em;
  border-radius: 2px;
  transition-duration: .1s;
}

footer section:first-child div:hover {
  opacity: 0.7;
}

.powerd {
  margin-top: 3em;
}

.okareco {
  color: rgba(255, 255, 255, 0.2);
  padding-bottom: 0.5em;
}