html {
  scroll-behavior: smooth;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Hiragino Sans", Meiryo, sans-serif;
}
h2,
h3 {
  color: #443627;
  text-align: center;
}

h2 {
  font-size: 28px;
  margin-bottom: 30px;
}

h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

p,
.check-icon li {
  color: #786d61;
  font-size: 16px;
  text-align: center;
  line-height: 1.7;
}

a {
  text-decoration: none;
}

ul {
  list-style-position: inside;
  text-align: center;
  padding-left: 0;
}

section {
  margin: 80px 0;
  width: 100%;
  /* height: 100%; */
}

.header-icon {
  width: 250px;
  /* height: 120px; */
  display: flex;
  align-items: center;
  margin-left: 30px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-icon img {
  width: 40%;
  height: 40%;
}

header ul {
  color: #786d61;
  display: flex;
  justify-content: flex-end;
  height: 10vh;
  font-size: 18px;
  align-items: center;
  /* padding-right: 30px; */
}

header a,
header a:visited {
  color: #786d61;
}

header li,
footer li {
  margin: 0 20px;
  list-style: none;
}

header a:hover,
footer a:hover {
  opacity: 0.8;
}

.mv {
  width: 100%;
  height: 100%;
  background-color: #fff9e5;
}

.parallax-window {
  width: auto;
  height: 90vh;
  background-image: url("../img/TONE.png");
  background-attachment: fixed; /* 背景を固定 */
  background-position: center; /* 中央配置 */
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mv2 {
  width: 100%;
  height: 100%;
  text-align: center;
  margin-top: 30px;
}

.mv2 img {
  width: 250px;
  height: 250px;
}

.toppage {
  display: flex;
  width: 100%;
  justify-content: center;
}

.toppage-box {
  width: 70%;
}

/* サイドバーここから */
.sidebar {
  width: 20%;
  display: flex;
  flex-direction: column;
  align-items: center; /* 子要素を中央寄せ */
  margin-top: 80px;
}

.sidebar-img {
  width: 90%;
  height: 100%;
  position: relative;
  margin: 0 auto;
}

.sidebar-img img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 画像の比率守る */
  margin: 0 auto;
}

.sidebar-title {
  position: relative; /* 中心座標の基準になる */
  /* width: 250px;
  height: 70px; */
}

.sidebar-title h3 {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%); /* 完全に中央配置 */
  color: #fff9e5;

  font-size: 18px;
  text-align: center;
  white-space: nowrap; /* 改行防止 */
}

.populararticles {
  width: 100%;
}

.wpp-thumbnail {
  margin: 0 !important;
}

.populararticles-inner {
  text-align: center;
  padding: 10px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: 0.3s;
  width: 90%;
  height: 170px;
  margin: 15px auto;
  position: relative;
}

.populararticles-inner:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

/* 共通 */
.populararticles-inner::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 45px;
  height: 45px;
  border-top-left-radius: 12px;

  color: #fff;
  font-weight: bold;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 1位 */
.populararticles-inner:nth-child(1)::before {
  content: "1";
  background: #d4af37;
}

/* 2位 */
.populararticles-inner:nth-child(2)::before {
  content: "2";
  background: #c0c0c0;
}

/* 3位 */
.populararticles-inner:nth-child(3)::before {
  content: "3";
  background: #cd7f32;
}

.populararticles-inner p {
  width: 200px;
  margin: 0 auto;
  font-size: 13px;
  line-height: 1.5;
}

.populararticles-img {
  position: relative;
  display: inline-block;
}

/* .populararticles-img img {
  width: 90%;
  height: 100%;
  object-fit: cover;
} */

.sidebar-color {
  width: 90%;
  height: 100%;
  background-color: #4a9782;
  border-radius: 5px;
  height: 40px;
  margin: 40px auto 10px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sidebar-color h3 {
  color: #fff9e5;
  top: 0% !important;
  position: static;
  transform: none;
  margin-bottom: 0;
  text-align: center;
  align-items: center;
}

.folder-icon {
  width: 16px;
  height: 16px;
  margin-right: 15px;
  display: flex;
  justify-content: center;
}

.folder-icon img {
  width: 100%;
  height: 100%;
}

.category-box {
  width: 100%;
}

.category a {
  display: flex;
  align-items: center;
  border-bottom: 1px dotted #786d61;
  height: 40px;
  padding: 0 15px;
  width: 90%;
  margin: 0 auto;
}

.category a:hover {
  opacity: 0.7;
}

.category-inner {
  display: flex;
  font-size: 13px;
}

.category-inner p {
  font-size: 13px;
  color: #443627 !important;
}

.number p {
  color: #786d61 !important;
  margin-left: 5px;
}

.search-box {
  display: flex;
  justify-content: center;
  width: 90%;
  margin: 20px auto;
}

.search {
  border: 1px solid #b0a9a2;
  width: 85%;
  border-radius: 5px 0 0 5px;
  padding: 10px;
}

.search-img {
  background-color: #4a9782;
  padding: 5px;
  display: flex;
  justify-content: center;
  border-radius: 0 5px 5px 0;
  width: 15%;
  align-items: center;
}

.search-img img {
  width: 16px;
  height: 16px;
}

.advertisement-box {
  margin-top: 30px;
}

.advertisement-img img {
  width: 100%;
  height: 250px;
  margin-bottom: 15px;
}

.advertisement-img img {
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: 0.3s;
}

.advertisement-img img:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}
/* サイドバーここまで */

/* 3要素横並びここから */
.columns3 {
  display: flex;
  justify-content: center;
  margin: 30px auto;
  flex-wrap: wrap;
}

.columns3-child {
  position: relative;
  width: 28%;
  background-color: #fff9e5;
  border-radius: 28px;
  margin: 0 15px;
  padding: 10px;
}

.columns3-child::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 2px dashed #786d61;
  border-radius: 20px;
  pointer-events: none;
}

.columns3-child p {
  color: #443627 !important;
  margin-bottom: 15px;
  padding: 10px;
}

.columns3-img {
  width: 60%;
  /* padding: 10px; */
  margin: auto;
}

.columns3-img img {
  width: 100%;
}
/* 3要素横並びここまで */

.strengths {
  margin: 30px auto;
}
.strengths-img {
  width: 20%;
  margin: 20px auto;
}

.strengths-img img {
  width: 100%;
}

.blog a {
  display: flex;
  justify-content: center;
  width: 80%;
  border-top: 1px solid #443627;
  padding: 15px 0;
  margin: 0 auto;
}

.blog:last-child a {
  border-bottom: 1px solid #443627;
}

.blog a:hover {
  background-color: #fff9e5;
  transition: 0.4s;
}

.blog-date {
  width: 20%;
}

.blog-title {
  width: 100%;
}

.blog-title p {
  font-size: 13px;
}

.blog-title h3 {
  text-align: left !important;
  font-size: 16px;
  margin-left: 10px;
}

.blog-submenu {
  display: flex;
  align-items: center;
  margin: 10px;
}

.entry-content h2 {
  position: relative;
  padding-left: 20px;
}

.circle,
.entry-content h2::before {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #f3c623;
  margin-right: 10px;
}

.more-btn-box {
  width: 80%;
  margin: 0 auto;
}

.more-btn {
  width: 200px;
  height: 40px;
  margin: 30px 0 0 auto;
  border-radius: 28px;
  background-color: #4a9782;
  display: flex;
  justify-content: center;
  align-items: center;

  font-weight: bold;
  text-decoration: none;
  cursor: pointer;

  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

  transition: box-shadow 0.3s ease;
}

.more-btn p {
  color: #fff9e5 !important;
  z-index: 3;
}

.more-btn::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0;
  background: #786d61;

  z-index: 1;
  transition: height 0.3s ease;
}

.more-btn {
  position: relative;
  z-index: 2;
}

.more-btn:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.more-btn:hover::before {
  height: 100%;
}

.profile-box {
  display: flex;
  justify-content: center;
  width: 100%;
}

.profile-inner img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid #b0a9a2;
}

.profile-inner {
  width: 30%;
  text-align: center;
  border: 1px solid #b0a9a2;
  margin-right: 30px;
  border-radius: 12px;
  padding: 20px 10px;
}

.profile {
  margin-top: 30px;
}

.profile .blog-title h3 {
  text-align: center;
  display: flex;
  justify-content: center;
  margin-left: 0;
  margin-bottom: 5px;
}

.profile p {
  margin-bottom: 10px;
}

footer {
  background-color: #4a9782;
  padding: 30px 10px 10px 10px;
  color: #fff9e5;
}

footer a,
footer a:visited {
  color: #fff9e5;
}

.footer-box {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.footer-img {
  width: 250px;
  height: 250px;
  border-right: 1px solid #fff9e5;
}

.footer-img img {
  width: 100%;
  height: 100%;
}

footer nav {
  align-items: center;
  margin: auto 0;
}

footer ul {
  display: flex;
  width: 100%;
  font-size: 18px;
  align-items: center;
}

footer p {
  color: #fff9e5 !important;
  font-size: 13px;
}

/* blog.htmlここから */
.newblog-icon {
  width: 196px;
  height: 206px;
  top: 0;
  right: 0;
  position: absolute;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
}

.newblog-icon img {
  width: 40%;
  height: 40%;
}
.other .toppage-box {
  margin-right: 30px;
}

.other .page-title {
  margin: 80px 0 50px 0;
}

.other .sidebar,
.other .sidebar-color {
  margin-top: 0;
}

.other .columns3 {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap; /* 折返し可 */
  justify-content: space-between;
}

/* .other .populararticles {
  margin: 40px auto 10px auto;
} */

.other .columns3 .populararticles-inner:nth-child(1)::before,
.other .columns3 .populararticles-inner:nth-child(2)::before,
.other .columns3 .populararticles-inner:nth-child(3)::before {
  content: "";
  background: none;
  display: none;
}

.other .columns3 .populararticles-inner {
  text-align: center;
  padding: 10px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: 0.3s;
  width: 29%;
  height: 270px;
  margin: 0 0 15px 0;
  position: relative;
}

.other .columns3-child {
  background-color: transparent;
}

.other .columns3 .populararticles-inner p {
  width: 100%;
}

.other .columns3 .populararticles-inner:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  transform: none;
  background: rgba(74, 151, 130, 0.25);
}

.other .columns3::after {
  content: "";
  display: block;
  width: 29%; /* 子要素と同じ幅 */
}

/* 投稿一覧の画像サイズ調整 */
.other .columns3 .populararticles-img img,
.post-thumb {
  width: 90%;
  object-fit: cover;
  border-radius: 12px;

  height: 150px;
}

.other .blog-submenu p {
  text-align: left;
  margin: 0;
  padding: 0;
}

.no-article {
  margin: 0 auto;
}
/* blog.htmlここまで */

/* single-blog.htmlここから */
.thumbnail {
  width: 70%;
  /* display: flex;
  justify-content: center; */
  object-fit: cover;
  margin: 0 auto;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.main-text {
  width: 90%;
  margin: 70px auto;
  line-height: 0.5;
}

.main-text p {
  text-align: center;
}

.recommendation {
  border: 1px solid #786d61;
  padding: 20px;
  margin: 30px auto 0 auto;
  width: 90%;
}

.good-icon,
.check-icon li {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  height: 40px;
}

.good-icon h3 {
  margin-bottom: 0;
  font-size: 16px;
}

.check-icon li {
  margin-bottom: 5px;
  margin-left: 10px;
  border-bottom: 1px dotted #b0a9a2;
  width: 95%;
  font-size: 13px;
}
.good-icon img,
.check-icon img {
  width: 16px;
  height: 16px;
  margin-right: 5px;
}

h2.wp-block-heading {
  margin: 40px 0;
}

.main-text hr {
  margin: 50px 0;
  border: none;
  border-top: 2px solid #443627;
}

/* single-blog.htmlここまで */

/* 404page.phpここから */
.notfound-img {
  width: 320px;
  height: 375px;
  margin: 20px auto;
}

.notfound-img img {
  width: 100%;
  height: 100%;
}

.top .more-btn {
  margin: 30px auto 0 auto;
}
/* 404page.php ここまで */

/* =========================
   著者ボックス（author-box）
   ========================= */

.author-box {
  display: flex;
  gap: 16px;
  padding: 20px;
  margin: 40px auto;
  width: 90%;

  border: 1px solid #b0a9a2;
  border-radius: 12px;
  background: #fff;

  /* section共通の margin / text-align の影響を避ける */
  text-align: left;
}

.author-box__avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.author-box__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.author-box__name {
  font-size: 15px;
  font-weight: 700;
  color: #443627;

  /* h2,h3,p の中央寄せを回避 */
  text-align: left;
}

.author-box__desc {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.6;
  color: #786d61;

  text-align: left;
}

/* =========================
   目次（outline）
   ========================= */

.outline {
  width: 60%;
  margin: 50px auto;
  padding: 30px 60px 50px 60px;
  /* 既存トーンに合わせた境界 */
  border-top: 2px solid #443627;
  border-bottom: 2px solid #443627;
}

.outline__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 30px;
}

.outline__title .material-symbols-outlined {
  font-size: 30px;
  line-height: 1;
}

/* リスト本体 */
.outline__list {
  margin: 16px 0 0;
  padding: 0;

  list-style: none;
  /* ・を消す */
  text-align: left;
}

.outline__item {
  margin: 6px 0;
  line-height: 1.7;
}

/* リンク */
.outline__link {
  color: #786d61;
  text-decoration: none;
}

.outline__link:hover {
  color: #443627;
  text-decoration: underline;
  opacity: 0.9;
}

/* スマホ */
@media (max-width: 900px) {
  .outline {
    width: 90%;
    padding: 18px 16px;
  }
}
