html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* ------------------------------
  Reset / 見た目調整
------------------------------ */
hr:after {
  content: none !important; /* ページに表示される --- を消す */
}

h1:before,
h2:before,
h3:before,
h4:before,
h5:before,
h6:before {
  content: none !important; /* タイトル前の # を消す */
}

html,
body {
  background-color: #FFE7DB;
  color:#555;
}

body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif !important;
  font-size: 1em;
}
hr {
  border: none;
  border-top: 2px dotted #dfb7a3;
  margin: 1.5em 0;
}

.page {
  display: grid;
  grid-template-areas: 
    "header"
    "breadcrumb"
    "body"
    "aside"
    "footer";
  grid-template-columns: 1fr;
  grid-row-gap: 0;
  margin:0 auto 1.5rem auto;
}

/* ------------------------------
  Header / ナビゲーション部分
------------------------------ */
.page__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0 0.5em 0;
  margin-bottom:0.5em;
}

.main-nav__item::marker {
  content: "";
}
.main-nav__item {
  margin-right: 0; /* 余計な右マージンをなくす */
}

.main-nav__item:not(:first-child)::before {
  content: "／";
  margin-left: 0.5em;  /* 「／」の左（前の項目との間）を少し空ける */
  margin-right: 0;     /* 「／」の右（次の項目との間）を詰める */  
  color: #666; /* 「／」の色 */
}
.main-nav ul {
  gap: 0 0.5em;
  margin: 16px 0 0 0;

}
.main-nav__item a {
  color: #D08070;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: dotted #D08070;
}

.main-nav__item a:hover {
  color: #d1ab9d;
}

/* ------------------------------
  ロゴ + タイトル
------------------------------ */
.site-logo-link {
  display: inline-block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.site-logo-link:hover {
  opacity: 0.9;
}

.site-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 10px 0;
  margin: 0 auto;
  max-width: 600px;
}

.logo-img {
  height: 100px;
  border-radius: 11px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 6px;
  transition: all 0.3s ease-in-out;
  margin: 0 10px;
}

.logo-img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.page__logo {
  margin: 0;
  font-family: 'Noto Serif JP', "游ゴシック体", "Yu Gothic", "メイリオ", sans-serif;
  font-size: 1.8em;
  font-weight: bold;
  color: #333;
}

.page__logo-inner {
  text-decoration: none;
  color: inherit;
  background-color: transparent; /* サイトタイトルに元々の背景色が表示されることを回避 */
}

.site-subtitle {
  margin: 4px 0 0 0;
  font-size: 1em;
  color: #666;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", sans-serif;
  letter-spacing: 0.05em;
}

h1, h2, h3, h4, h5, h6 {
  background-color: transparent;
}
/* パンくずリスト */
.breadcrumb {
  grid-area: breadcrumb;
  font-size: 0.95em;
  width: 90%;
  max-width: 800px;
  min-width: 300px;
  margin: 0.25em auto 0 auto;
  padding: 0;
  box-sizing: border-box;
  align-self: flex-start; /* 親の flex container で左寄せにする */
  text-align: left; /* 念のため */
  color: #888; 
  word-wrap: break-word;         /* 旧ブラウザ用 */
  overflow-wrap: break-word;    /* 標準的な指定 */
  white-space: normal;          /* nowrap が入ってないか確認 */
}

.breadcrumb a {
  color: #a27e77;
  word-break: break-word;       /* リンクにも適用しとく */
}
.breadcrumb ol {
  list-style: none;
  padding: 0 0 5px 0;
  margin: 0;
  display: flex;           /* 横並びの基本 */
  align-items: center;     /* 縦方向の中央揃え */
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch; /* iOSのスムーズスクロール対応 */
  margin: 0;
}

.breadcrumb li {
  white-space: nowrap;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-right: 8px; /* 項目間のスペース */
}

nav.breadcrumb li a {
  white-space: nowrap;
  text-decoration: none;
}

.breadcrumb li:last-child {
  white-space: normal;
  margin-right: 0;
  display: flex;
  flex-wrap: wrap;
}
.breadcrumb-sep {
  margin-left: 0.5em;
  margin-right: 0.5em;
  user-select: none;       /* 区切り文字の選択を防ぐ */
}
/* リストの前につく邪魔者を消す */
ul li::marker {
  content: none !important;
}

/* ul > li > ol > li::marker {
  content: initial !important;
} */

/* ------------------------------
  Main Content
------------------------------ */
.content__header h1 {
  margin-bottom: 1em;
  font-size: 1.2em;
  padding-bottom: 2px;
  border-bottom: 2px dotted #bbb;
}

.content__header h2, h3 {
  margin: 0 0 1em 0;
}
.page__body {
  width: 90%;           /* 画面幅の90%で可変に */
  max-width: 800px;     /* 最大幅 */
  min-width: 300px;     /* 必要に応じて最小幅も決める */
  margin: 0 auto 1em auto;
  box-sizing: border-box;
  background-color: #FFF8F4;
  /* color: #333; */
  padding: 2em 1.5em 0 1.5em;
  border-radius: 12px;
  box-shadow: none;
  box-sizing: border-box;
  /*    margin-top: -16px; */
        position: relative;
}

.top-page-deco-box{
 text-align:center;
 line-height:1.7;
 font-style:italic;
 color:#666;
 padding:0.5em;
 margin:0 auto 1em auto;
 width:95%;
 max-width:600px;
 border-radius:15px;
 background-color:#fbe8e0;
 border:1px dotted #dfb7a3;
 font-family: 'Zen Old Mincho', serif;
}

.top-page-deco-box h2{
  letter-spacing: 0.05em;
font-weight: bold;
font-family: 'Zen Kaku Gothic New', sans-serif;
}

.annotation{
  font-size: 0.85em;
  color:#888;
  font-style: italic;
}

.content-inner-hr{
  border:1px dotted #ccc;
  width:90%;
  margin:1em auto;
}
.fd-contnt-fotter hr{
  border:1px dotted #ccc;
}

.fd-contnt-fotter p{
  font-size:0.85em;
  color:#888;
  font-style: italic;
}

#about-page .page__body h1,
#contact-page .page__body h1{
  margin-top:0;
}

.page__body h1 {
  margin-bottom: 1em;
}
#my-story-page .page__body h2 {
  margin-bottom: 0.5em;
}

.page__body a {
  color:#D08070;
}

.page__body ul li {
  padding:0.08em 0;
}

.page__body ol li {
  list-style: none;
}

sup,
sub{
  font-size: 0.5em;
  color: #777
}
.subtitle {
  white-space: nowrap; /* これでPCは折り返さず横並び */
  /* margin-bottom: 0.5em; h1との余白調整 */
  text-align: right;
}
/* 本文フッター部 */
.prev-next-nav {
  text-align: center;
}

.prev-next-nav > p {
  display: inline-block;
  margin: 0 0 1em 0;
  font-size: 0.9em;
}

/* 目次表示 */
.content-summary {
  margin-bottom: 0; /* or 0 */
  /*display: inline; */
  font-size: 0.9em;

}
.content-summary a {
  display: inline;
  margin-top: 0; /* 保険的に */
  text-decoration: none;
}

.list-summary{
  font-size: 0.9em;

}
.fd-summary {
  margin-bottom: 0.5em;
  margin-top: 0;
  font-size: 0.9em;
  line-height: 1.5;
}

/* ------------------------------
  Aside
------------------------------ */
.page__aside {
  width: 90%;
  max-width: 800px;
  min-width: 300px;
  margin: 1em auto;           /* 上下のmarginを少し減らす */
  padding: 1em;             /* 上下左右ともにpaddingを減らす */
  box-sizing: border-box;
  background-color: #F9F5F1;
  color: #666;
  border-radius: 12px;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); */
}

.about__logo { /* aside に出るロゴ画像を消す */
  display: none;
}

.page__aside h2 {
  margin-top: 0;
  margin-bottom: 1em;
  color: #666;
}

.news-list {
  list-style: none;
  padding-left: 1em;  /* ← ここで左マージン調整 */
  margin: 0;
}

.news-item {
/*  display: flex;
  align-items: flex-start; */
  margin-bottom: 0.5em;  /* ↓少し詰める */
  line-height: 1.4;
}

.news-date {
/*  flex-shrink: 0; */
  width: 6.5em;  /* ← 少し狭くしてもOK */
  font-weight: bold;
  margin-right: 0.5em;  /* ← ここを縮めた */
}

/* .news-content {
  flex: 1;
} */

.page__aside ul li p {
/*  display: inline; */
  margin: 0; /* pの余白を消す */
}
/* ------------------------------
  footer部
------------------------------ */
.copyright {
  font-size: 0.75em;
  color: #888;
  text-align: center;
  font-style: italic;
  margin-top: 2em;
}
/* ------------------------------
  動画埋め込み
------------------------------ */
.video-wrapper {
  position: relative;
/*  padding-bottom: 56.25%; 16:9比率 */
  padding-bottom: 45%;
  height: 0;
  overflow: hidden;

  max-width: 512px;      /* 💡 PC時の最大幅 */
  margin: 0 auto 1em auto;      /* 💡 中央寄せ */

  width: 100%;           /* 💡 親要素に合わせる */
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.img-center {
  text-align: center;
  margin-bottom: 1em;
}

.profile-img {
  width: 90%;
  border-radius: 8px;
  box-shadow: 8px 4px 12px rgba(0, 0, 0, 0.2);
}

.illust-img {
  width: 90%;
  border-radius: 8px;
  box-shadow: 8px 4px 12px rgba(0, 0, 0, 0.2);
}

/* ハンバーガーメニューのためのcss */
.nav-toggle {
  display: none;
}
.main-nav__list {
  display: flex; /* PCは普通に表示 */
}
/* ページトップに戻る */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgb(208, 128, 112);
    padding: 0.5em 0.7em;
    border-radius: 40%;
    z-index: 1000;
    opacity: 0.8;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
    right: 3%;
}

.back-to-top:hover {
    opacity: 1;
}

/* ------------------------------
  Responsive
------------------------------ */
/* ------------------------------
  タブレット（768px以下）
------------------------------ */
@media (max-width: 768px) {
  .page__logo {
    font-size: 1.5em;
  }
  .video-wrapper {
    max-width: 100%;
    padding-bottom: 56.25%;
  }
}
/* ------------------------------
  スマホ（600px以下）
------------------------------ */

@media (max-width: 600px) {
  html {
    font-size: 19px;
    line-height: 1.8;
  }

  body{
    font-size: 19px;
    line-height: 1.8;
  }
  p {
    margin-bottom: 1.4em;
  }

 /* .section-description {
    all: unset;
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }

  .section-description * {
    font-size: inherit !important;
    line-height: inherit !important;
  } */
  
  /*.page__body,
  .page__body * {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }*/
  .page__body {
  padding: 1em 0.7em 0 0.7em;
}

  .page__body  h1 {
    font-size: 1.2em;
  }
  .page__aside {
  font-size: 0.85em;
  }
  .page__aside h2 {
  font-size: 1.1em;
  }
  .page__body h3 {
  font-size: 1em;
  }

  .page {
    margin-top: 0;
  }
  .page__logo {
    margin-top: 0;
    font-size: 1.5em;
  }
  .site-logo {
    margin-top: 0;
    order: 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .logo-img {
    height: 100px;
    margin-top: 0;
    margin-bottom: 0;
  }
  
  .page__nav {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  /* パンくずリスト */
.breadcrumb {
  margin: 0.25em auto 0.18em auto;
}

  #nav-toggle:checked ~ .main-nav__list {
  margin-bottom: 1rem; /* 下に空間を足す */
}

  /* ハンバーガーアイコンはロゴより上に */
  .nav-toggle-label {
    order: -1; /* 先に来る */
    align-self: flex-end;
    margin-bottom: 1rem;
    display: block;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
    z-index: 1000;
    margin-left: auto; /* 右寄せ */
  }
  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    display: block;
    background: #D08070;
    height: 3px;
    width: 100%;
    border-radius: 2px;
    position: absolute;
    transition: all 0.3s ease;
  }
  .nav-toggle-label span {
    top: 50%;
    transform: translateY(-50%);
  }
  .nav-toggle-label span::before {
    content: '';
    top: -10px;
  }
  .nav-toggle-label span::after {
    content: '';
    top: 10px;
  }
  .nav-toggle:checked + .nav-toggle-label span {
    background: transparent;
  }
  .nav-toggle:checked + .nav-toggle-label span::before {
    transform: rotate(45deg);
    top: 0;
  }
  .nav-toggle:checked + .nav-toggle-label span::after {
    transform: rotate(-45deg);
    top: 0;
  }

  /* メニューリストは最初非表示、開いたら表示 */
  .main-nav__list {
    display: none;
    order: 1;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
      height: 0;            /* 高さもゼロにする */
  overflow: hidden;     /* はみ出しを隠す */
    align-items: center;
    background: none !important;
    padding: 0 !important;
    border-radius: 0;
    text-align: center;
  }
  
  #nav-toggle:checked ~ .main-nav__list {
    display: flex;
    flex-direction: column;
  background: none;     /* 背景いらない */
  padding: 2em 1em;
  margin-top: 1rem;     /* 必要ならここで余白作る */
     height: auto;}

  /* メニュー項目 */
  .nav-main-item {
  display: block;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  /* padding-bottom: 3px; */
  transition: border-color 0.3s ease;
  width: 100%;
  margin: 0 auto;
  white-space: nowrap;
  padding-top: 0.5em;
  /* padding-bottom: 0.8em; */
}

  /* .main-nav__item {
    width: 100%;
    text-align: center;
  }*/
  /* .nav-main-item {
    display: none; /* 初期非表示 */
  /* text-decoration: none; /* デフォのアンダーライン消す */
  /* border-bottom: 2px solid transparent; /* 下線のための枠を用意 */
  /* padding-bottom: 3px; /* 下線と文字の距離調整 */
  /* transition: border-color 0.3s ease;
    width: fit-content;
  margin: 0 auto;
  } */
  /* チェックされたら表示 */
  #nav-toggle:checked ~ .main-nav__list .nav-main-item {
    display: block;
  }
  
  .main-nav__item:not(:first-child)::before {
    content: none;
    margin-left: 0;
  }

  /* それ以外のスマホ調整 */
  .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
  }
  .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .profile-img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.2);
  }
  .illust-img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.2);
  }

  .back-to-top {
    bottom: 10px;
    right: 10px;
    padding: 5px;
    border-radius: 50%;
  }

  .subtitle {
  white-space: normal; /* デフォルトは折り返す */
  text-align: right;
  }

}
