@import url("layout/header.css");
@import url("layout/footer.css");
@import url("layout/fixed.css");

/* ===========================
   CSS Variables
   =========================== */
:root {
  /* Colors */
  --bg: #f3eee4;
  --bg-section: #efe7d6;
  --ink: #2b2b2b;
  --text-secondary: #5b564f;
  --card-bg: #ffffff;
  --chip-bg: #cecece;
  --panel: #d7c39f;
  --shadow: rgba(0, 0, 0, 0.08);
  
  /* Tab Colors */
  --tab1: #ddcfaf;
  --tab2: #f3cda3;
  --tab3: #f1d27e;
  --tab4: #e9a7a0;
  --tab5: #cfe4d6;
  --tab6: #9fbecd;
  
  /* Slider Colors */
  --slider-hair: #cfc7ba;
  --slider-inner: #7a6f69;
  --slider-outer: #baafa4;
  --slider-rail: #ffffff;
  
  /* Spacing */
  --gap: 14px;
  --pad-x: 16px;
  --max-width: 420px;
  --hdr-h: 64px;
  
  /* Border Radius */
  --radius: 16px;
  
  /* Slider Dimensions */
  --hair-h: 4px;
  --inset-x: 6px;
  --inset-y: 3px;
  --knob-h: 20px;
  --knob-w: 64px;
  --rail-h: 18px;
  
  /* Chip Styles */
  --chips-stroke: #5b564f;
  --chips-ink: #5b564f;
  --chips-bg: #fff;
}

/* ===========================
   Base Styles
   =========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Zen Maru Gothic", "Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

h1 {
  font-size: 24px;
  font-weight: bold;
  margin: 18px 0;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
  padding-top: 40px;
}

.hero__wrap {
  margin-inline: auto;
  max-width: var(--max-width);
}

.hero__bubble {
  aspect-ratio: 470 / 722;
  background-image: url("../img/img1.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto;
  border-radius: 36px;
  color: #fff;
  padding: 120px 16px 40px;
  position: relative;
}

.hero__eyebrow {
  font-size: 14px;
  font-weight: 400;
  margin: 3rem 0 10px;
  text-align: center;
}

.hero__title {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 18px;
  text-align: center;
}

.hero__title-em {
  font-size: 30px;
}

.hero__lead {
  font-size: 14px;
  line-height: 1.9;
  margin: 0;
  text-align: center;
}

/* ===========================
   Message Section
   =========================== */
.message {
  background: var(--bg);
  color: var(--ink);
  padding: 60px 16px 70px;
  text-align: center;
}

.message__wrap {
  margin-inline: auto;
}

.message__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.message p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--text-secondary);
  margin: 0 0 18px;
}

.message__decoration {
  width: 125px;
  margin-top: 40px;
}

/* ===========================
   News Section
   =========================== */
.news {
  padding: 18px 0 26px;
}

.news__wrapper {
  background: #dddad4;
  border-radius: 16px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03) inset;
  margin: 0 16px;
  padding: 14px 0 12px;
}

.news__title {
  color: #5b564f;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 15px;
  text-align: center;
}

.news__list {
  border-radius: 10px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06) inset;
  list-style: none;
  margin: 0 14px;
  overflow: hidden;
  padding: 0;
}

.news__list .news__area a {
  display: grid;
  align-items: center;
  color: #5b564f;
  font-size: 12px;
  gap: 10px;
  grid-template-columns: 72px 1fr;
  padding: 10px 12px;
}

.news__list .news__area + .news__area {
  border-top: 1px solid #c8beaf;
}

.news__day {
  color: #7a736b;
  font-weight: 700;
  margin: 0;
}

.news__text {
  margin: 0;
}

.news__btn__Wrapper {
  padding: 12px 0 6px;
  text-align: center;
}

.news__btn {
  display: inline-block;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
  color: #5b564f;
  border: 1px solid #5b564f;
  font-weight: 800;
  letter-spacing: 4px;
}

.news__btn::after {
  content: "＞";
  padding-left: 10px;
}

.news__btn:hover {
  background-color: #5b564f;
  color: #fff;
  transition: 0.2s all;
}

/* ===========================
   Decoration Section
   =========================== */
.decoration {
  position: relative;
}

.otasukekun__left img {
  margin: 22px 0 10px 42px;
  width: 46%;
  max-width: 150px;
  transform: rotate(22deg);
}

.otasukekun__light img {
  margin-left: auto;
  margin-right: 26px;
  width: 46%;
  max-width: 180px;
  transform: rotate(-22deg);
}

.otasuke_contents img {
  margin: 35px auto 0;
  width: 80%;
}

.otasuke_contents h2 {
  display: flex;
  justify-content: center;
  font-size: 21px;
  font-weight: bold;
  color: var(--text-secondary);
  margin: 0 0 20px;
}

.pc_show {
  display: none;
}

/* ===========================
   Helper Section
   =========================== */
.helper {
  background: var(--bg-section);
  padding: 0 0 28px;
}

.helper__wrap {
  position: relative;
  margin-inline: auto;
  max-width: 420px;
}

.helper__tabs {
  display: grid;
  gap: 10px;
  grid-auto-columns: max-content;
  grid-auto-flow: column;
  margin-bottom: 0;
  overflow-x: auto;
  padding-bottom: 0;
  background-color: var(--bg);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.helper__tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  display: inline-grid;
  align-content: center;
  background: var(--tab1);
  border: 0;
  border-radius: 12px 12px 0 0;
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  min-height: 64px;
  padding: 12px 18px;
  scroll-snap-align: start;
  white-space: nowrap;
}

.tab:nth-child(2) { background: var(--tab2); }
.tab:nth-child(3) { background: var(--tab3); }
.tab:nth-child(4) { background: var(--tab4); }
.tab:nth-child(5) { background: var(--tab5); }
.tab:nth-child(6) { background: var(--tab6); }

.tab.is-active {
  box-shadow: inset 0 -4px 0 0 rgba(0, 0, 0, 0.15);
}

.helper__carousel {
  display: grid;
  align-items: center;
  background: var(--tab1);
  grid-template-rows: auto auto auto auto;
  padding: 55px 22px 58px;
  position: relative;
  overflow: hidden;
  margin-bottom: -25px;
}

.carousel__arrow {
  display: grid;
  align-items: center;
  justify-items: center;
  background: #fff;
  border: none;
  border-radius: 999px;
  box-shadow: 0 1px 1px var(--shadow), 0 0 0 1px rgba(0, 0, 0, 0.06);
  font-size: 28px;
  height: 88px;
  position: absolute;
  top: 33%;
  width: 88px;
  z-index: 2;
}

.carousel__arrow.prev {
  left: -53px;
}

.carousel__arrow.prev::before {
  position: absolute;
  content: "";
  background-image: url(../img/arrow_left.png);
  background-size: cover;
  background-repeat: no-repeat;
  right: 15px;
  width: 15px;
  height: 15px;
}

.carousel__arrow.next {
  right: -53px;
}

.carousel__arrow.next::before {
  position: absolute;
  content: "";
  background-image: url(../img/arrow_right.png);
  background-size: cover;
  background-repeat: no-repeat;
  left: 15px;
  width: 15px;
  height: 15px;
}

.carousel__viewport {
  overflow: hidden;
}

.carousel__track {
  display: grid;
  gap: 16px;
  grid-auto-columns: 100%;
  grid-auto-flow: column;
  justify-items: center;
  transition: transform 0.4s ease;
  align-items: start;
}

.card {
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-inline: auto;
  max-width: 320px;
  padding: 12px;
  width: 76%;
  height: 400px;
}

.card__thumb {
  height: 150px;
  width: 100%;
  background: #cfcac3;
  background-size: cover;
  background-position: center;
  border-radius: 12px 12px 0 0;
  margin-bottom: 40px;
}

.card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card__text {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
}

.card__tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 31px;
  padding: 0;
}

.card__tags li {
  background: var(--chip-bg);
  border-radius: 10px;
  font-size: 16px;
  padding-inline: 18px;
}

.card__tags li a {
  color: inherit;
  text-decoration: none;
  display: block;
  transition: opacity 0.3s;
}

.card__tags li a:hover {
  opacity: 0.7;
}

.carousel__dots {
  display: flex;
  gap: 27px;
  justify-content: center;
  margin: 36px 0;
}

.dot {
  background: #ffffff;
  border: 0;
  border-radius: 50%;
  height: 30px;
  width: 30px;
}

.dot.is-active {
  background: #8b7765;
}

.helper__morelink {
  text-align: center;
}

.helper__morelink a {
  display: inline-block;
  border-bottom: 2px solid #8b7765;
  color: #8b7765;
  font-weight: 700;
  padding-bottom: 4px;
  text-decoration: none;
}

.helper__morelink a::after {
  content: "→";
}

.helper__cta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -25px;
  margin: auto;
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 20px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn--primary {
  background-color: #6b5c52;
  color: #fff;
  padding: 16px 32px;
  font-size: 18px;
  border-radius: 28px;
}

.btn--primary::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url(../img/arrow_right_w.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 10px;
  vertical-align: middle;
}

.helper__progress {
  display: none;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
  margin: 6px 32px 0;
}

.helper__progress .bar {
  background: #cfc7ba;
  border-radius: 4px;
  height: 8px;
  position: relative;
  width: 22%;
}

.helper__progress .bar.is-active::after {
  content: "";
  position: absolute;
  background: #8b8075;
  border-radius: 4px;
  height: 8px;
  inset: 0 auto 0 0;
  width: 40%;
}

/* Pill Slider */
.pill-slider {
  height: var(--knob-h);
  isolation: isolate;
  margin: 0 auto;
  max-width: 420px;
  padding-left: calc(var(--knob-w) + 10px);
  position: relative;
}

.pill-slider__knob {
  background: var(--slider-inner);
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
  cursor: grab;
  height: var(--knob-h);
  left: 8px;
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: var(--knob-w);
  z-index: 2;
  will-change: left;
}

.pill-slider__knob:active {
  cursor: grabbing;
}

.pill-slider,
.pill-slider__knob {
  touch-action: none;
}

#helpTabs {
  scroll-behavior: auto;
}

.br-sp {
  display: inline;
}

.br-pc {
  display: none;
}

/* ===========================
   Latest Section
   =========================== */
.latest {
  background: #f3eee4;
  padding: 20px 0 24px;
}

.latest__title {
  color: #8b7765;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 40px;
  text-align: center;
}

.latest__title__2 {
  color: #2e7b53;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 18px;
  text-align: center;
}

.latest__wrap {
  margin-inline: auto;
  max-width: 420px;
  padding-top: 95px;
}

.latest__viewport {
  overflow: hidden;
  margin-inline: auto;
}

.latest__track {
  display: grid;
  gap: 16px;
  grid-auto-columns: 100%;
  grid-auto-flow: column;
  justify-items: center;
  transition: transform 0.35s ease;
}

.latest .card__thumb {
  height: 150px;
  background: #cbcac6;
  background-size: cover;
  background-position: center;
  border-radius: 12px 12px 0 0;
  width: 100%;
}

.latest .card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.latest .card__text {
  color: #6a645c;
  font-size: 18px;
  line-height: 1.8;
  margin: 0;
}

.latest .card__tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
}

.latest .card__tags li {
  background: #e5e1da;
  border-radius: 10px;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05);
  color: #5b564f;
  font-size: 16px;
  padding-inline: 18px;
}

.latest .card__tags li a {
  color: inherit;
  text-decoration: none;
  display: block;
  transition: opacity 0.3s;
}

.latest .card__tags li a:hover {
  opacity: 0.7;
}

.latest__dots {
  display: flex;
  gap: 27px;
  justify-content: center;
  margin: 36px auto;
}

.latest .dot {
  background: #fff;
  border: 2px solid #e7e0d6;
  border-radius: 50%;
  height: 30px;
  width: 30px;
}

.latest .dot.is-active {
  background: #8b7765;
  border-color: #8b7765;
}

.latest .dot.is-active__2 {
  background: #146140;
  border-color: #146140;
}

.latest__carousel__2 .latest__dots .dot.is-active,
.latest__carousel__2 .latest__dots .dot.is-active__2 {
  background: #146140;
  border-color: #146140;
}

.latest__more {
  text-align: center;
  margin-top: 20px;
}

.latest__more a {
  display: inline-block;
  border-bottom: 2px solid #8b7765;
  color: #8b7765;
  font-weight: 700;
  padding-bottom: 4px;
  text-decoration: none;
}

.latest__more a::after {
  content: "→";
}

.latest__more__2 {
  margin-top: 6px;
  text-align: center;
}

.latest__more__2 a {
  display: inline-block;
  border-bottom: 3px solid #fff;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding-bottom: 4px;
  text-decoration: none;
}

.latest__more__2 a::after {
  content: "→";
}

.latest__carousel {
  display: grid;
  align-items: center;
  background: #d7cfc1;
  grid-template-rows: auto auto auto auto;
  border-radius: 8px;
  padding: 55px 22px 58px;
  position: relative;
  overflow: hidden;
  margin-bottom: -25px;
}

.latest__carousel__2 {
  display: grid;
  background: #1f8251;
  border-radius: 8px;
  padding: 55px 22px 58px;
  position: relative;
  overflow: hidden;
}

.latest__arrow {
  display: grid;
  align-items: center;
  justify-items: center;
  background: #fff;
  border: none;
  border-radius: 999px;
  box-shadow: 0 1px 1px var(--shadow), 0 0 0 1px rgba(0, 0, 0, 0.06);
  font-size: 28px;
  height: 88px;
  position: absolute;
  top: 33%;
  width: 88px;
  z-index: 2;
}

.latest__arrow.prev {
  left: -53px;
}

.latest__arrow.prev::before {
  position: absolute;
  content: "";
  background-image: url(../img/arrow_left.png);
  background-size: cover;
  background-repeat: no-repeat;
  right: 15px;
  width: 15px;
  height: 15px;
}

.latest__arrow.next {
  right: -53px;
}

.latest__arrow.next::before {
  position: absolute;
  content: "";
  background-image: url(../img/arrow_right.png);
  background-size: cover;
  background-repeat: no-repeat;
  left: 15px;
  width: 15px;
  height: 15px;
}

.latest__cta {
  text-align: center;
  margin-top: 40px;
}

.latest__ctaBtn {
  background-color: #146140;
  color: #fff;
  padding: 16px 32px;
  font-size: 18px;
  border-radius: 28px;
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
}

.latest__ctaBtn::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url(../img/arrow_right_w.png);
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 10px;
  vertical-align: middle;
}

/* ===========================
   Tags Section
   =========================== */
.tag__title h2 {
  margin: 0 auto;
  text-align: center;
}

.tags {
  padding: 24px 0 148px;
  background: #f3eee4;
}

.tags__wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

.tags__title {
  margin: 0 0 14px;
  text-align: center;
  color: #5b564f;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 21px;
}

.tag-grid {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  justify-items: center;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 18px;
  border: 2px solid var(--chips-stroke);
  border-radius: 12px;
  background: var(--chips-bg);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  color: var(--chips-ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.tag-chip__text {
  transform: skewX(-10deg);
}

.tags__more {
  text-align: center;
  margin: 6px 0 0;
}

#tagMoreBtn {
  appearance: none;
  background: none;
  border: 0;
  padding: 0 4px 2px;
  cursor: pointer;
  color: #5b564f;
  font-weight: 800;
  letter-spacing: 0.06em;
  border-bottom: 3px solid #5b564f;
}

#tagMoreBtn[aria-expanded="true"] {
  border-bottom-width: 2px;
}

#tagMoreBtn::before {
  content: "＋";
}

/* ===========================
   Article List Page
   =========================== */
.article-list__tag-list {
  display: none;
}

/* ===========================
   Article Section (Single Post)
   =========================== */
.single__title {
  margin-top: 5rem;
}

.sidebar--left {
  margin-top: 5rem;
}

.article-section__inner {
  margin-top: 45px;
}

.article-section__category {
  display: inline-block;
  background-color: #ddcfaf;
  border-radius: 15px;
  padding: 5px 25px;
  margin-bottom: 15px;
  margin-left: 18px;
  font-size: 14px;
  color: #635747;
}

.article-section__header img{
  width: 100%;
  height: auto;     /* ←ここが重要 */
  display: block;   /* 余計な隙間対策 */
}

.article-section__header-inner {
  padding: 0 18px;
  color: #635747;
}

.article-section__tag-wrap {
  display: flex;
  gap: 13px;
  margin-top: 18px;
}

.article-section__tag-wrap a {
  border-radius: 6px;
  border: 1px solid #635747;
  background-color: #fff;
  padding: 8px 20px;
  line-height: 1;
  font-size: 14px;
}

.article-section__tag-wrap a:hover {
  background-color: #635747;
  color: #fff;
}

.article-section__header-title {
  display: inline-block;
  font-size: 14px;
  margin-bottom: 28px;
}

.article-section__date-wrap {
  font-size: 14px;
}

/* Table of Contents */
.article-section__index {
  background-color: #fff;
  margin: 40px 18px;
  padding: 33px 45px;
  border-radius: 28px;
}

.article-section__index h3 {
  font-weight: bold;
  text-align: center;
  color: #635747;
}

.article-section__index h3::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 25px;
  background-color: #635747;
}

.article-section__index ul,
.article-section__index ol {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 27px 0;
}

.article-section__index li {
  font-size: 14px;
}

.article-section__index li a {
  color: #635747;
}

.article-section__index li a:hover {
  text-decoration: underline;
}

.article-section__index ul li {
  position: relative;
  padding-left: 1rem;
}

.article-section__index ul li::after {
  content: "■";
  position: absolute;
  left: 0;
  top: 0;
  color: #635747;
  display: inline-block;
  width: 1rem;
  height: 1rem;
}

.article-section__index ol {
  list-style: decimal inside;
}

/* Article Body */
.article-section__body {
  background-color: #ffffff;
  width: 100%;
  border-radius: 28px;
  padding: 35px 15px;
}

/* 本文の箱（例） */
.article-section__body,
.article-section__body p,
.article-section__body a {
  max-width: 100%;
  overflow-wrap: anywhere;   /* ←最強：どこでも折り返す */
  word-break: break-word;    /* ←保険 */
}

.article-section__body h2 {
	margin-top:50px;
}


/* =========================
   本文（メイン）だけマーカーON
========================= */
.article-section__body ul {
  list-style-type: disc;
  padding-left: 1.6em;
}
.article-section__body ol {
  list-style-type: decimal;
  padding-left: 1.6em;
}
.article-section__body li {
  display: list-item;
}

/* =========================
   目次（index/sidebar）はマーカーOFF（強制）
========================= */
.article-section__index ul,
.article-section__index ol {
  list-style: none !important;
}
.article-section__index li {
  list-style: none !important;
}









.article-section__body h2 {
  border-radius: 10px;
  font-size: 18px;
  font-weight: bold;
  padding: 3px 14px;
  margin-bottom: 20px;
  background-color: #635747;
  color: #ffffff;
}

.article-section__body h3 {
  position: relative;
  padding-left: 12px;
  margin: 20px;
  font-size: 16px;
  font-weight: bold;
  color: #635747;
}

.article-section__body h3::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  background-color: #c99f23;
  width: 6px;
  height: 100%;
  transform: translateY(-50%);
}

.article-section__body h4 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: #635747;
}

.article-section__text {
  font-size: 10px;
  margin-bottom: 75px;
  color: #635747;
}

/* Interview Styles */
.article-section__conversation {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.article-section__image {
  display: flex;
  flex-direction: column;
}

.article-section__image img {
  display: block;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.article-section__image p {
  font-size: 14px;
  text-align: center;
  color: #635747;
}

.article-section__bubble {
  flex: 1;
  max-width: 100%;
  align-self: flex-start;
  background-color: #f7f3ea;
  padding: 30px 15px;
  border-radius: 20px;
}

.article-section__bubble p {
  font-size: 14px;
  color: #635747;
}

.article-section__conversation.article-section__icon--left {
  padding-left: 15px;
}

.article-section__conversation.article-section__icon--right {
  flex-direction: row-reverse;
  padding-right: 15px;
}

.article-section__conversation.article-section__icon--right .article-section__bubble {
  background-color: #fae6ce;
}

/* ===========================
   Pagination
   =========================== */
.article-list__pagination-wrap {
  margin: 0 auto;
  padding-top: 40px;
}

.pagination__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pagination__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 19px;
  border: 1px solid #635747;
  color: #635747;
  background-color: #fff;
  font-size: 12px;
}

.pagination__item:hover {
  color: #fff;
  background-color: #635747;
}

.pagination__item.active {
  color: #fff;
  background-color: #635747;
}

.pagination__item.prev::before {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  background-image: url(../img/arrow_left.png);
  background-repeat: no-repeat;
  background-size: 15px 15px;
  background-position: center;
}

.pagination__item.prev:hover::before {
  background-image: url(../img/arrow_left_w.png);
}

.pagination__item.next::before {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  background-image: url(../img/arrow_right.png);
  background-repeat: no-repeat;
  background-size: 15px 15px;
  background-position: center;
}

.pagination__item.next:hover::before {
  background-image: url(../img/arrow_right_w.png);
}

.pagination__ellipsis {
  height: 38px;
}

/* ===========================
   Utility Classes
   =========================== */
.pc_br,
.br-pc {
  display: none;
}

.sp_br,
.br-sp {
  display: inline;
}

/* ===========================
   Responsive: Tablet (431px+)
   =========================== */
@media (min-width: 431px) {
  .tags__wrap {
    max-width: 430px;
    margin-inline: auto;
  }
}

/* ===========================
   Responsive: Desktop (1024px+)
   =========================== */
@media (min-width: 1024px) {
  /* Utility */
  .pc_br,
  .br-pc {
    display: inline;
  }
  
  .sp_br,
  .br-sp {
    display: none;
  }

  /* Hero */
  .hero {
    padding-block: 80px;
  }

  .hero__wrap {
    max-width: 890px;
    margin-inline: auto;
    padding-inline: 0;
  }

  .hero__bubble {
    position: relative;
    max-width: 890px;
    margin-inline: auto;
    aspect-ratio: 527 / 324;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    color: #fff;
    padding-top: 150px;
    padding-bottom: 40px;
    background: none;
  }

  .hero__bubble::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../img/img_pc.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center top;
    z-index: -1;
  }

  .hero__eyebrow {
    font-size: 36px;
    margin: 0;
  }

  .hero__title {
    font-size: 48px;
    line-height: 1.4;
    letter-spacing: 0.12em;
    margin: 0;
  }

  .hero__title-em {
    font-size: 1.15em;
  }

  .hero__lead {
    max-width: 510px;
    margin: 30px auto 0;
    font-size: 18px;
    line-height: 2;
  }

  /* Message */
  .message {
    padding-top: 0;
  }

  .message__wrap {
    color: var(--text-secondary);
  }

  .message__title {
    font-size: 36px;
  }

  .message__wrap p {
    font-size: 18px;
  }

  .message__decoration {
    width: 210px;
    height: auto;
  }

  /* News */
  .news {
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 175px;
  }

  .news__wrapper {
    padding: 40px;
  }

  .news__title {
    font-size: 36px;
  }

  .news__list .news__area a {
    grid-template-columns: 120px 1fr;
  }

  .news__list .news__area a:hover .news__text {
    text-decoration: underline;
  }

  .news__day {
    font-size: 18px;
    margin: 0 18px;
  }

  .news__text {
    font-size: 18px;
  }

  .news__btn {
    padding-inline: 62px;
  }

  /* Decoration */
  .decoration {
    display: flex;
    justify-content: center;
    max-width: 883px;
    margin: 0 auto;
  }

  .otasukekun__left {
    margin-top: 4rem;
    position: absolute;
    left: 0;
    bottom: -37px;
    width: 190px;
  }

  .otasukekun__left img {
    transform: rotate(0deg);
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .otasukekun__light {
    margin-top: 4rem;
    position: absolute;
    right: 0;
    bottom: -42px;
    max-width: 190px;
  }

  .otasukekun__light img {
    transform: rotate(0deg);
    width: 100%;
    max-width: none;
  }

  .otasuke_contents img {
    max-width: 334px;
  }

  .otasuke_contents h2 {
    font-size: 36px;
    margin-bottom: 30px;
  }

  .pc_show {
    display: inline;
  }

  /* Helper */
  .helper {
    background-color: inherit;
    padding: 24px 0 40px;
  }

  .helper__wrap {
    max-width: 1310px;
  }

  .helper__tabs {
    gap: 16px;
    margin-bottom: 18px;
    overflow: visible;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr)) 20px;
  }

  .tab {
    font-size: 32px;
    min-height: 84px;
    padding: 16px 24px;
    text-align: center;
  }

  .tab.is-active {
    box-shadow: none;
  }

  .tab:hover {
    opacity: 0.7;
    transition: 0.2s all;
  }

  .tab:nth-child(5) {
    padding: 0;
  }

  .pill-slider {
    display: none;
  }

  .helper__carousel {
    padding: 40px 58px 24px 108px;
    overflow: hidden;
    border-radius: 0 12px 12px 12px;
    margin: 0 3rem;
  }

  .carousel__arrow {
    width: 60px;
    height: 60px;
  }

  .carousel__arrow.prev {
    left: 24px;
  }

  .carousel__arrow.prev::before {
    left: 0;
    right: 0;
    margin: auto;
    width: 20px;
    height: 20px;
  }

  .carousel__arrow.next {
    right: 1.5%;
  }

  .carousel__arrow.next::before {
    left: 0;
    right: 0;
    margin: auto;
    width: 20px;
    height: 20px;
  }

  .carousel__viewport {
    max-width: 983px;
  }

  .carousel__track {
    gap: 63px;
    grid-auto-columns: calc((100% - 2 * 63px) / 3);
    align-items: stretch;
  }

  .card {
    width: 100%;
  }

  .card a:hover {
    opacity: 0.7;
  }

  .dot {
    width: 131px;
    height: 11px;
    border-radius: 0;
  }

  .helper__morelink {
    position: absolute;
    right: 31px;
    top: 70%;
  }

  .helper__morelink:hover {
    opacity: 0.7;
  }

  .helper__progress {
    display: flex;
  }

  .helper__cta {
    display: block;
  }

  .btn--primary {
    width: 466px;
    border: 1px #6b5c52 solid;
  }

  .btn--primary:hover {
    background-color: #fff;
    color: #6b5c52;
    transition: 0.2s all;
  }

  .btn--primary:hover::after {
    background-image: url(../img/arrow_right.png);
  }

  /* Latest */
  .latest__title {
    font-size: 36px;
  }

  .latest__wrap {
    width: 100%;
    max-width: 1310px;
    padding-top: 200px;
  }

  .latest__viewport {
    max-width: 983px;
    margin: 0 auto;
  }

  .latest__track {
    grid-auto-columns: calc((100% - 2 * 63px) / 3);
    grid-auto-flow: column;
    gap: 63px;
    align-items: stretch;
  }

  .latest .card {
    width: 100%;
    max-width: none;
    min-width: 280px;
  }

  .latest__carousel {
    padding: 40px 58px 24px 108px;
    margin-bottom: -25px;
  }

  .latest__carousel__2 {
    padding: 40px 58px 24px 108px;
  }

  .latest .dot {
    width: 131px;
    height: 11px;
    border-radius: 0;
  }

  .latest__arrow {
    width: 60px;
    height: 60px;
  }

  .latest__arrow.prev {
    left: 24px;
  }

  .latest__arrow.prev::before {
    left: 0;
    right: 0;
    margin: auto;
    width: 20px;
    height: 20px;
  }

  .latest__arrow.next {
    right: 1.5%;
  }

  .latest__arrow.next::before {
    left: 0;
    right: 0;
    margin: auto;
    width: 20px;
    height: 20px;
  }

  .latest__more a:hover {
    opacity: 0.7;
  }

  .latest__more__2 a:hover {
    opacity: 0.7;
  }

  .latest__ctaBtn {
    border: 1px solid #146140;
    width: 466px;
  }

  .latest__ctaBtn:hover {
    background-color: #fff;
    color: #146140;
    transition: 0.2s all;
  }

  .latest__ctaBtn:hover::after {
    background-image: url(../img/arrow_right_g.png);
  }

  .latest__title__2 {
    font-size: 36px;
    margin-bottom: 40px;
  }

  /* Tags */
  .tags {
    padding-top: 100px;
  }

  .tags__title {
    margin-bottom: 53px;
    font-size: 36px;
  }

  .tag-chip:hover {
    background-color: var(--chips-stroke);
    color: #fff;
    transition: 0.2s all;
  }

  .tags__more {
    margin-top: 53px;
  }

  .tags__more:hover {
    opacity: 0.7;
  }

  /* Article Section */
  .article-section__inner {
    max-width: 1205px;
    margin: 0 auto;
  }

  .article-section__tag-wrap {
    margin-top: 55px;
  }

  .article-section__tag-wrap a {
    font-size: 16px;
  }

  .article-section__header-inner {
    padding: 0;
    margin-bottom: 65px;
  }

  .article-section__header-inner h1 {
    font-size: 42px;
  }

  .article-section__header-title {
    margin-bottom: 0;
    font-size: 18px;
  }

  .article-section__date-wrap {
    font-size: 18px;
  }

  .article-section__wrap {
    display: flex;
    gap: 50px;
  }

  .article-section__index {
    margin: 0;
    max-width: 373px;
    min-width: 373px;
    align-self: flex-start;
    position: sticky;
    top: 24px;
    max-height: calc(100vh - 48px);
    overflow: auto;
  }

  .article-section__index h3 {
    font-size: 36px;
  }

  .article-section__index ul li {
    padding-left: 1.5rem;
  }

  .article-section__index li {
    font-size: 18px;
  }

  .article-section__body {
    min-width: 750px;
    max-width: 750px;
    padding: 60px 30px;
  }

  .article-section__body h2 {
    font-size: 36px;
    margin-bottom: 42px;
  }

  .article-section__body h3 {
    font-size: 30px;

  }

  .article-section__body h4 {
    font-size: 24px;
    text-decoration: none;
    margin-bottom: 34px;
  }

  .article-section__text {
    font-size: 18px;
  }

  .article-section__conversation {
    margin-bottom: 58px;
  }

  .article-section__image img {
    width: 80px;
    height: 80px;
  }

  .article-section__image p {
    font-size: 18px;
  }

  .article-section__bubble {
    padding: 45px 30px;
  }

  .article-section__bubble p {
    font-size: 18px;
  }
}





.hdr{
  background: var(--bg);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
}


/* === Burger Search: button visible === */
.hdr__burger-search form{
  position: relative;
}

.hdr__burger-search input{
  padding-right: 52px; /* 右ボタン分の余白（文字が被らない） */
}

.hdr__burger-search button{
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.hdr__burger-search button svg{
  width: 18px;
  height: 18px;
  fill: #2b2b2b;
}
