@charset "utf-8";

@font-face
{
font-family:"ロゴたいぷゴシック-コンデンスド" ;
src: url('https://cdn.leafscape.be/LogoTypeGothicCondense/07LogoTypeGothic-Condense_web.woff2')
     format("woff2");
}

:root {
  --white: #fff;
  --main-color: #A296AF;
  --article-color: #fff;
  --bg-color: #F1F1F1;
  --tx-color: #000000;
  --link-color: #A296AF;
  --content-padding: 3rem 2.5rem 2.7rem;
}

/*ページ遷移ふわっと*/
@view-transition {
  navigation: auto;
}

/*------------------------------------------------全体-------------------------------------------------------------------*/

body {
  font-family: "ロゴたいぷゴシック-コンデンスド", Meiryo, sans-serif;
  overflow-wrap: break-word;
  /*文字の折り返し方を制御*/
  font-size: 0.75rem;
  font-feature-settings: "palt";
  /*文字カーニング*/
  letter-spacing: .03em;
  /*字間*/
  background-color: var(--bg-color);
  color: var(--tx-color);
}


/*画像を画面内に収める*/
img {
  width: 100%;
  height: auto;
}

/*スクロールバー色*/
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background-color: var(--bg-color);
}

::-webkit-scrollbar-thumb {
  background-color: var(--link-color);
  border-radius: 15px;
}

/*-------------------------------------------------------------メニューとメインエリアを横並びにするための全体のコンテナ*/
.wrapper {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  flex-direction: row-reverse;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

/*-------------------------------------------------------------右にある細いメニュー*/
.menu-icon-container {
  width: 5%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  position: sticky;
  top: 0;
  right: 0;
  z-index: 10;
  padding: 6vh 0;
  background: var(--main-color);
}

/*てがろぐ著作権表記エリア*/
.poweredby {
  font-size: 0.8rem;
  color: var(--white);
  word-break: break-all;
  writing-mode: vertical-rl;
  /*縦書き*/
  letter-spacing: .3em;
}

/*管理画面リンク*/
.setting-icon svg {
  width: 1rem;
  height: 1rem;
  color: var(--white);
}

/*3つ並んだボタンエリア*/
.menu-icons {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  gap: 16px;
}

.home-icon,
.rotate-icon,
.menu-icon {
  cursor: pointer;
  background: var(--white);
  border-radius: 50%;
  padding: 0.9rem;
}

.menu-icon-container svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: var(--link-color);
  stroke-width: 1.5;
  stroke-linecap: square;
  stroke-linejoin: miter;
  fill: none;
  color: var(--link-color);
}



/*----------------------------------------------------------------------左の投稿一覧とプロフィールエリアを包むコンテナ*/

.container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  flex-direction: row-reverse;
  width: 95%;
  max-width: 100%;
  margin: 0 auto;
}


/*--------------------------------------------------------------------固定プロフィールエリア*/


/*固定プロフィールエリア全体*/
.header {
  position: sticky;
  width: 30%;
  height: 100vh;
  top: 0;
  right: 0;
  z-index: 10;
  align-items: center;
  overflow-wrap: break-word;
  padding: 5vw var(--content-padding);
  background: var(--bg-color);
  color: var(--tx-color);
}

/*プロフィールエリア*/
.profile-area {
  display: flex;
  /*flex-direction: column;*/
  /*←お好みで縦並びにできます*/
  justify-content: flex-start;
  gap: 24px;
  margin-bottom: 32px;
}

/*プロフィール画像*/
.iconarea {
  width: 68px;
  height: 68px;
  border-radius: 50%;
}

/*プロフ画像横のフリースペース*/
.freespace {
  font-size: 12px;
  line-height: 1.6em;
}

/*カテゴリ一覧*/
.container ul.cattree {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  /*幅100ox以下の時に1列表示*/
  gap: 8px;
  overflow-wrap: anywhere;
  /*文字を区切り良く折り返す*/
}

/*カテゴリひとつひとつのスタイル*/
.container a.catlink {
  height: 100%;
  background-color: var(--article-color);
  border-radius: 8px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  padding: 0.6rem 1.2rem;
}

/*カテゴリひとつひとつのスタイル（マウスをかざした時）*/
.container a.catlink:hover {
  background-color: var(--main-color);
  color: var(--white);
  /*メインカラーが濃い場合にテキスト色を白にする*/
  transition: .4s ease;
}


/*-------------------------------------------------------------------------左の投稿一覧エリア------------------------------------*/

.contents {
  width: 70%;
  background-color: var(--bg-color);
  padding: 5vw;
}


/*Javascriptでふわっとフェードイン用CSSここから*/
article {
  margin: 0 auto 3.4vw;
  width: 100%;

  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-cubic: cubic-bezier(0.33, 1, 0.68, 1);

  opacity: 0;
  transform: translateY(13%);
  transition: opacity 0.8s var(--ease-out-cubic),
    transform 0.8s var(--ease-out-quint);
}

article.isActive {
  opacity: 1;
  transform: translateY(0);
}

/*ここまで*/

/*各投稿を包むコンテナ*/
.post-wrapper {
  position: relative;
}

/*各投稿の左上の日付部分*/
.postdate {
  background: var(--main-color);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  line-height: 0.5rem;
  position: absolute;
  top: 0;
  left: 0;
  /*←「right」にすると右上にできます*/
  z-index: 5;
  margin: -10px;
  padding: 5px 15px;
  letter-spacing: .18em;
}

/*投稿本文*/
.comment {
  background-color: var(--article-color);
  padding: 1.8rem 2rem 1.4rem;
  line-height: 1.8em;
  border-radius: 8px;
}

/*投稿本文内のURL*/
.comment a {
  color: var(--link-color);
}

/*リンクのホバーエフェクト*/
.comment a:hover {
  text-decoration: 0.8px underline wavy var(--link-color);
  /*下線波*/
  text-underline-offset: 4px;
  /*下線と文字の間隔*/
  transition: .2s;
  /*切り替わる秒数*/
}

/*投稿本文内の画像*/
.comment img {
  width: 100%;
  height: auto;
  margin: 3vh 0;
}

/*各投稿の左下のカテゴリ・編集ボタン部分全体*/
.post-bottom-item {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  margin-top: 8px;
}

/*各投稿左下のカテゴリが複数の時に横並び*/
.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/*各投稿の左下のカテゴリのスタイル*/
.categories a {
  display: block;
  padding: 5px 15px;
  background-color: var(--main-color);
  color: var(--white);
  font-weight: 500;
  border-radius: 30px;
}

/*各投稿の左下のカテゴリの前に「#」をつける*/
.categories a:before {
  content: "#";
  margin-right: 2px;
}

/*各投稿の左下の編集ボタン*/
.editlink a {
  padding: 3.5px 15px;
  background-color: var(--article-color);
  border: 2px solid var(--main-color);
  display: block;
  border-radius: 30px;
  opacity: 0.7;
  /*少し透明度下げる*/
}

/*----------------------------------------------------------------カードリンク*/

.cardlink {
  display: block;
  width: 100%;
  margin: 3vh 0;
  text-decoration: none !important;
  /* リンク文字の下線を消す */
  overflow: hidden;
}

/*カード外枠 */
.cardlinkbox {
  border: 1px solid var(--main-color);
  border-radius: 16px;
  /* 角丸 */
  background-color: var(--article-color);
  /* 背景色 */
  display: flex;
  /* 内部レイアウトのFlexbox化 */
  overflow: hidden;
}

/*リンクカード内の画像枠*/
.cardlinkimage {
  background-image: linear-gradient(-30deg, #8a8, #e0f0e0);
  /* プレースホルダ的な背景グラデーション(※og:imageの画像指定が読み込まれたら、この値は上書きされます) */
  background-size: cover;
  /* 背景画像で枠を埋める */
  background-position: center center;
  /* 背景画像を中央に寄せる */
  background-repeat: no-repeat;
  /* 背景画像を繰り返さない */
  overflow: hidden;
}

.cardlinkimage:hover {
  object-fit: cover;
  aspect-ratio: 1.91/1;
  height: 100%;
  transform: scale(1.1);
  transition: transform .7s;
  opacity: 0.7;
}

/*リンクカード内のテキスト枠 */
.cardlinktextbox {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background-color: var(--article-color);
  z-index: 8;
}

/* リンクタイトル */
.cardlinktitle {
  padding-bottom: 1vh;
  /* 内側下端の余白量 */
  font-size: 1rem;
  color: var(--tx-color);
}

/* リンク概要文 */
.cardlinkdescription {
  line-height: 1.6;
  /* 行の高さ */
  color: var(--tx-color);
  /* 文字色 */
  line-clamp: 2;
  /* (既存指定の上書き) 最大2行まで見せる */
  -webkit-line-clamp: 2;
  /* (既存指定の上書き) 最大2行まで見せる */
  text-decoration: none;
  font-size: 10px;
}

/* リンクドメイン */
.cardlinkurl {
  color: var(--link-color);
  text-decoration: none;
}

/* ----------------------------------- */
/* リンクカードの装飾(サイズL用の追記) */
/* 前述の「サイズS/L共通部分」と合わせて、1つのカードデザインになります。 */
/* ----------------------------------- */
.cardsize-L {
  flex-direction: column;
  /* 画像とテキストは縦に並べる(Flexbox) */
}

/* ▽リンクカード内の画像枠 */
.cardsize-L .cardlinkimage {
  aspect-ratio: 1.91 / 1;
  /* 画像枠の縦横比を指定= (横)1.91：(縦)1 */
  width: 100%;
  /* 横幅は枠最大に拡げる */
  height: auto;
  /* 高さは自動計算 */
  border-radius: 6px 6px 0 0;
  /* 上側だけ角丸 */
}

/* ▽リンクカード内のテキスト枠 */
.cardsize-L .cardlinktextbox {
  border-top: 1px solid #ccc;
  /* 上側の枠線 */
}

/* ▽リンクカードのテキスト枠内の3要素 */
.cardsize-L .cardlinktitle {
  font-weight: bold;
}

/* 太字 */
.cardsize-L .cardlinkdescription {
  min-height: 2.5em;
}

/* 内容量が少ない場合でも一定の高さを確保 */
.cardsize-L .cardlinkurl {
  border-top: 1px solid #ddd;
  /* 上側の枠線 */
  margin-top: 0.5em;
  /* 上側の枠線より上の余白量 */
  padding-top: 0.5em;
  /* 上側の枠線より下の余白量 */
  font-size: 12px;
  /* 文字サイズ(小さめ) */
}



/*ページャー（一番下のページ番号が並んでいる部分）*/

/*ページャー全体*/
.number {
  margin-top: 3vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/*ページャー内の各ページ番号リンク*/
a.pagenumlink {
  display: flex;
  justify-content: center;
  /*水平方向中央揃え*/
  align-items: center;
  /*垂直方向中央揃え*/
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
}

/*現在のページ番号*/
a.pagenumhere {
  background-color: var(--main-color);
  color: var(--white);
  font-weight: 500;
}



/*---------------------------------------------------------------スライドインメニュー*/



/* クイックポスト欄（スライドインメニュー） */
.sliding-menu {
  position: fixed;
  top: -100%;
  right: 0;
  width: 30%;
  height: 100%;
  padding: 2vw;
  margin-right: 5%;
  overflow-y: auto;
  transition: top 0.5s ease;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-color);
  border-left: 1px solid;
}

.sliding-menu.open {
  top: 0;
}

.menu-icon.active+.sliding-menu {
  bottom: 0;
}

/*クイックポストエリアを包むコンテナ*/
.postform {
  height: 100%;
}

/*スライドアップメニュー内のテキストエリアを包むコンテナ*/
.line-textarea {
  height: 30%;
}

/*スライドアップメニュー内のテキストエリア*/
.sliding-menu .tegalogpost {
  width: 100%;
  max-width: 100%;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8em;
  padding: 1vw;
  border-radius: 10px 10px 10px 0;
  height: 100% !important;
  background-color: var(--article-color);
}

/*-------------------------------スライドアップメニュー内の装飾ボタン*/

/*装飾ボタン群を包む全体のコンテナ*/
.line-control {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

/*「投稿する」ボタン*/
.postbutton {
  display: block;
  padding: 0.8rem 2rem;
  text-align: center;
  font-weight: 700;
  margin-bottom: 1.1rem;
  letter-spacing: .18em;
  border-radius: 0 0 10px 10px;
  background-color: var(--link-color);
  color: var(--white);
}

/*装飾ボタンの余白を整える*/
span.decoBtns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding-bottom: 1.2rem;
}

/*装飾ボタンひとつひとつのスタイルを一括指定*/
.decoBtns input[type=button] {
  border-radius: 30px;
  padding: 8px 12px;
  font-size: 0.8rem;
  background-color: var(--article-color);
  letter-spacing: .18em;
}

.decoBtns input[type=file] {
  font-size: 12px;
  padding-bottom: 1.2rem;
  letter-spacing: .18em;
}

/*装飾ボタンのカテゴリ群の並び方・余白を一括調整*/
.catChecks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
}

.catChecks label {
  display: flex;
  align-items: center;
}

.line-control input[type=checkbox] {
  background-color: var(--white);
  appearance: auto;
  margin-right: 4px;
}

/*------------------------------------------------------------------------その他*/

/*埋め込みのスタイル*/
iframe {
  display: block;
  margin: 16px 0;
  max-width: 100%;
}


/*リストの装飾*/
.decorationL {
  list-style: disc;
  padding-left: 1rem;
  margin: 1rem 0;
}


/*極小サイズの文字サイズ*/
.decorationT {
  font-size: 9px;
}

/*引用*/
.decorationQ {
  padding: 1rem;
  background-color: var(--white);
  margin: 1rem 0;
  opacity: .7;
}

/*「続きを読む」ボタン*/
.decorationH a {
  display: block;
  width: 100%;
  max-width: 100%;
  text-align: center;
  padding: 4px 16px;
  margin: 1rem 0;
  border: 1px solid;
  border-radius: 16px;
}

.decorationH a:hover {
  text-decoration: inherit;
}


/*非表示*/
.logstatus-fixed .side-item,
.dateseparator,
.utilitylinks,
.num,
.catseparator {
  display: none !important;
}



/*-------------------------------------------------------------------------------タブレット・スマホ用CSS-----------------------------------------------------*/


@media screen and (max-width: 912px) {

  /*全体*/
  body {
    font-size: 0.65rem;
  }

  /*コンテンツを包む全体のコンテナ*/
  .wrapper {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  /*右の細いメニューエリア*/
  .menu-icon-container {
    width: 12%;

  }

  /*てがろぐ著作権表記*/
  .poweredby {
    font-size: 0.6rem;
    letter-spacing: .3em;
    font-feature-settings: initial;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .home-icon,
  .rotate-icon,
  .menu-icon {
    padding: 0.5rem;
  }

  .menu-icon-container svg {
    width: 1.2rem;
    height: 1.2rem;
  }

  /*左の投稿一覧・プロフィールエリアを包むコンテナ*/
  .container {
    width: 88%;
    display: flex;
    flex-direction: column-reverse;
    gap: 1rem;
  }

  .header {
    position: relative;
    width: 100%;
    padding: 56px 16px;
    margin-bottom: 70px;
    height: 100%;
    border-top: 1px solid var(--main-color);
  }

  .contents {
    width: 100%;
    margin-top: 5vh;
    padding: 16px;
  }

  article {
    margin: 0 auto 38px;
  }

  .postdate {
    font-size: 8px;
    font-weight: inherit;
    margin: 0;
  }

  .comment {
    padding: 36px 24px 24px;
    line-height: 1.6em;
  }

  /*各投稿の左下のカテゴリ・編集ボタン部分*/
  .post-bottom-item {
    font-size: 8px;
  }

  .container a.catlink {
    font-size: 10px;
    padding: 16px;
  }

  /*スライドインメニュー*/
  .sliding-menu {
    width: 88%;
    margin-right: 12%;
    padding: 1rem;
    border-left: none;
  }

  .sliding-menu .tegalogpost {
    padding: 1rem;
  }

  /*スライドインメニュー内の装飾ボタン*/
  .decoBtns input[type=button] {
    font-size: 10px;
  }

  .catChecks {
    font-size: 10px;
    gap: 0.5rem;
  }

  .postbutton {
    display: block;
    padding: 0.8rem 2rem;
    text-align: center;
    font-weight: 700;
    margin-bottom: 1.1rem;
    letter-spacing: .5em;
    border-radius: 0 0 10px 10px;
    background-color: var(--link-color);
    color: var(--white);
  }

  /*埋め込みのスタイル*/
  iframe {
    height: auto;
  }

  /*Twitter埋め込みのレスポンシブ対応*/
  .twitter-tweet {
    max-width: 100%;
  }

}