@charset "UTF-8";

body {
  background: #f7f5f2;
  font-family: "Noto Serif JP", serif;
  margin: 0;
  padding: 40px 0;
  color: #333;
}

header {
  background-color:#f0be89;
}
.logo {
  position: fixed;   /* ハンバーガーと同じく固定 */
  top: 20px;
  left: 20px;        /* 左上に配置 */
  width: 250px;       /* 好きなサイズに調整 */
  height: auto;      /* 縦横比を維持 */
  z-index: 30;       /* ハンバーガーより前面に出すなら大きめに */
}
@media screen and (max-width: 768px) {
  .menu {
    width: 85vw;          /* 画面幅に応じて */
    padding: 15px;
  }

  .menu ul {
    margin-top: 40px;
  }

  .menu li {
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .menu {
    width: 100vw;         /* スマホは全幅 */
  }

  .menu li {
    font-size: 0.95rem;
  }
}

.menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100%;
  background-color: #eee8aa;
  color: #333;
  transition: right 0.3s ease;
  padding: 20px;
  box-sizing: border-box;
  z-index: 10;
  overflow-y: auto;
  box-shadow: -4px 0 12px rgba(0,0,0,0.2);
}

.menu.open {
  right: 0;
}

.hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 30px;
  cursor: pointer;
  z-index: 20;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #c9c9c9;
  margin: 5px 0;
  transition: 0.4s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.menu ul {
  list-style-type: none;
  padding: 0;
  margin-top: 50px;
}

.menu li {
  padding: 10px 0;
  border-bottom: 1px solid #444;
}

.menu li a {
  color: #333;
  text-decoration: none;
  display: block;
}

/* アコーディオン用 */
.sub-items {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 15px;
}



.category.open .sub-items {
  max-height: 1000px;
}

.toggle { cursor: pointer; font-weight: bold; }



.content{
  margin-top: 100px;
}
.profile-card {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 50px;
  background: #fffdfa;
  border: 1px solid #e6ded1;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.07);
}

/* 氏名見出し（筆者名） */
.profile-card h1 {
  font-size: 1.9rem;
  border-bottom: 2px solid #c7b08a;
  padding-bottom: 10px;
  margin-bottom: 25px;
}

.insta{
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.2;
}


/* リード */
.profile-lead {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* 小見出し */
.profile-section h2 {
  font-size: 1.3rem;
  color: #5b462b;
  border-left: 4px solid #b8934f;
  padding-left: 10px;
  margin-bottom: 10px;
}

/* テキスト */
.profile-section p {
  margin-bottom: 22px;
  line-height: 1.9;
}

h3{
  margin-bottom: 0;
}


.nav {
  max-width: 680px;
  margin: 20px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav a {
  font-size: 1.3rem;
  color: #7a6a53;           /* 和紙っぽい渋め茶 */
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid #d6cbb8;
  border-radius: 6px;
  background: #fffdfa;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.07);
}

.nav a:hover {
  color: #3f3426;           /* 濃い焦げ茶 */
  background: #f3ede3;
  border-color: #bfae94;
}

.nav-next {
  font-weight: bold;
}

