@charset "UTF-8";
/* =========================================
   グローバル変数
========================================= */
:root {
  --theme-color: #42c0e2;
  --text-color: #323434;
  --gray-bg-color: #f4f6f6;
  --header-height: 80px;
  --header-height-sp: 50px;
  --contents-width: 1100px;
  --font-family: "YakuHanJP", "Noto Sans JP", "Helvetica Neue", Arial,
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
}

/* =========================================
   ベースリセット & レイアウト
========================================= */
body,
.page {
  font-family: var(--font-family);
  color: var(--text-color);
  line-height: 1.7;
  margin: 0;
  padding: 0;
  background: #fff;
}
.page {
  width: 100%;
  max-width: none;
  padding-top: var(--header-height);
  text-align: center;
}
@media (max-width: 640px) {
  .page {
    padding-top: var(--header-height-sp);
  }
}

/* =========================================
   フォントサイズ調整
========================================= */
.notion-text {
  font-size: 1.2rem;
  line-height: 1.8;
}
.notion-h1 {
  font-size: 2.5rem;
  line-height: 1.4;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.notion-h2 {
  font-size: 1.45rem;
  line-height: 1.5;
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.notion-h3 {
  font-size: 1.35rem;
  line-height: 1.6;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* スマホ用のフォントサイズと行間調整 */
@media (max-width: 700px) {
  .notion-text {
    font-size: 0.7rem;
    line-height: 1.7;
  }
  .notion-h1 {
    font-size: 1.5rem;
    line-height: 1.2;
  }
  .notion-h2 {
    font-size: 1.3rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
  }
  .notion-h3 {
    font-size: 0.9rem;
    line-height: 1.2; 
    margin-bottom: 0.5rem;
  }
}

/* =========================================
   セクションカラー
========================================= */
.separatedSection:nth-of-type(even),
.contentsFooterSection {
  background-color: #fff;
}
.separatedSection:nth-of-type(odd) {
  background-color: var(--gray-bg-color);
}

/* =========================================
   コンテナとレイアウトの基本設定
========================================= */
.container {
  max-width: 100%;
  padding: 0;
}
.titleSection__contentsWrapper,
.separatedSection__contentsWrapper,
.contentsFooterSection__contentsWrapper {
  padding: 1rem 0;
}

/* 共通中央揃え */
.notion-text,
.notion-h1,
.notion-h2,
.notion-h3,
.notion-table,
.notion-simple-table,
.wraptas-button-wrapper,
.auto-break-title,
.notion-bookmark,
.notion-column-list,
.notion-column,
.notion-toggle,
.notion-to_do,
.notion-gallery,
.notion-callout {
  max-width: var(--contents-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
  text-align: center;
}

/* PC表示のみ整える */
@media (min-width: 641px) {
  .notion-h1 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
  }
  .notion-h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }
  .notion-h3 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
  }
  .notion-text {
    font-size: 1.25rem;
    line-height: 1.85;
    max-width: 900px;
  }
}

/* フッター */
.footer {
  width: 100%;
  background-color: #eee;
  padding: 40px 0;
}
.footer__contentsWrapper {
  max-width: var(--contents-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* リンクスタイル */
.notion-text a {
  color: var(--theme-color);
  border-color: var(--theme-color);
  opacity: 1;
}
.notion-text a:hover {
  opacity: 0.75;
}

/* ボタンスタイル */
.wraptas-button {
  display: inline-block;
  padding: 10px 24px;
  background: orange;
  color: #fff;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.wraptas-button:hover {
  transform: scale(1.1);
  opacity: 0.9;
}
.wraptas-button-wrapper {
  text-align: center;
}

/* カラム中央揃え */
.notion-table,
.notion-simple-table,
.notion-column-list,
.notion-column {
  margin-left: auto !important;
  margin-right: auto !important;
}
.notion-column-list {
  display: flex;
  justify-content: center !important;
}

.notion-callout .notion-selectable {
  text-align: center !important;
}

/* 水色テキストのデザイン */
.notion-blue {
  display: inline-block;
  color: var(--theme-color);
  background: linear-gradient(transparent 60%, rgba(66, 192, 226, 0.3) 60%);
  font-weight: bold;
  letter-spacing: 0.08em;
}

/* 装飾系の非表示と空白削除 */
.titleSection,
.pageIconSpacer,
.coverImage,
.notion-page-icon,
.page > .notion-page-title {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}
.notion-page-content {
  padding-top: 0 !important;
}

/* 画像関連のスタイル */
img {
  will-change: transform, opacity;
  animation: none;
  opacity: 1 !important;
}

/* モバイル表示時のブックマークスタイル調整 */
@media (max-width: 640px) {
  .notion-bookmark {
    border-radius: 12px;
  }
  .notion-bookmark > div:first-child {
    flex:  ;
  }
  .notion-bookmark-description {
    display: none;
  }
  .notion-bookmark-image {
    display: block;
    width: 100%;
  }
}
