/* === 基本設定 === */

:root{
  --brand:#4d3b08;
  --accent:#e6c7bd;
  --muted:#faf6f2;
  --flow:#c1b396;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color:var(--brand);
  background-color: #fff;
  line-height: 1.8;
  overflow-x: hidden;
}

section, div {
  max-width: 1100px;
  margin: 0 auto;
}

.bold {
    font-weight: 900;
}

.link-color {
  color: var(--brand);
}


/* === フッター === */
footer {
  background: #fff0b6;
  text-align: center;
  padding: 40px 0;
  position: relative;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 20px;
}

.footer-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.footer-inner {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.policy a {
  color: var(--brand);
  text-decoration: none;
  font-size: 0.8rem;
  opacity: 0.8;
}

.policy a:hover {
  opacity: 0.7;
}

.copy {
  font-size: 0.8rem;
  margin-top: 5px;
  opacity: 0.8;
}


/* === TOPに戻るボタン === */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  padding: 10px;
  transition: .3s;

  z-index: 999;

  background-color: #f2eae4;
  color: #4d3b08;
  font-size: 12px;
  box-shadow:1px 1px 4px 0px rgba(0,0,0,0.19);

  width: 55px;
  height: 55px;
  border-radius: 50%;

  cursor: pointer;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  opacity: 0;
  border: none;
}

.back-to-top::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #4d3b08;
  border-right: 2px solid #4d3b08;
  transform: rotate(-45deg);
  transition: .3s;
}

.back-to-top:hover {
  opacity: 0.7 !important;
  transform: translateY(-4px);
  border: none;
  box-shadow: 3px 3px 4px 1px rgba(0, 0, 0, 0.19);
} 

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  border: none;
}

.page-title {
  text-align: center;
  border-top: 2px solid #c1b396;
  border-bottom: 2px solid #c1b396;
  padding: 0.5rem 0;
  margin: 3rem auto 1rem;
  font-size: 1.5rem;
}

.section-title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.6rem;
  margin-bottom: 18px;
  text-align: center;
}

.category-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.message {
  font-size: 1.0rem;
}

.items {
  padding: 40px 6% 0 0;
  color: #4d3b08;
}

.items-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: auto auto auto;
  /*gap: 40px;*/
  align-items: start;
  margin-bottom: 50px;
}

/* --- 画像自体 --- */
.img-wrap img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  object-fit: cover;
}

.img-wrap {
  position: relative;
  overflow: visible;
  width: 140px;
  justify-self: end;
  grid-column: 1;
  grid-row: 1;
}

.item-title {
  grid-column: 2;
  grid-row: 1 / span 3;
  text-align: left;
  margin-left: 0;
}

.item-title h2 {
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.3;
}

.item-textarea {
  grid-column: 2;
  grid-row: 1 / span 3; 
  padding-top: 50px;
  margin-left: 0px;
  text-align: justify;
  text-justify: inter-ideograph;
  position: relative;
}

.item-text {
  line-height: 1.6;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.item-sub-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.item-list {
  margin-left: 22px;
  font-size: 0.9rem;
}

.memo {
  font-size: 0.8rem;
  margin: 8px 0;
}

.separator p {
  font-size: 1.3rem;
  text-align: center;
}

.other {
  padding: 40px 6% 10px;
  margin-bottom: 30px;
}

.other p {
  margin-bottom: 20px;
}

.gm-img {
  width: 150px;
  position: absolute;
  right: -70px;
  top: 35px;
}

.gm-imgarea {
  display: flex;
}

.gm-imginner {
  display: flex;
  align-items: center;
}

.gm-img2 {
  width: 70px;
}

.gm-text {
  font-size: 0.8rem;
  margin-left: 20px;
  display: flex;
  gap: 5px;
  align-items: center;
  flex-direction: column;
}

.gm-text::before, .gm-text::after {
  content: "";
  width: 40px;
  height: 2px;
  box-sizing: border-box;
  background-color: var(--brand);
}

.gm-text::before {
  transform: rotate(137deg);
}

.gm-text::after {
  transform: rotate(40deg);
}

.gm-left::before, .gm-left::after {
  margin-left: -63px;
  margin-top: 6px;
}

.gm-right::before, .gm-right::after {
  margin-left: -133px;
  margin-top: 15px;
  margin-bottom: 10px;
}




/* ----------------------------
   ファスティング（デトックス）
----------------------------- */

.faq h2 {
  text-align: center;
  margin-bottom: 30px;
}

.container {
  margin:0 auto;
  padding: 40px 6%;
}

.faq {
  max-width: 100%;
  background: #f1ece6;
  font-family: "Noto Sans JP", sans-serif;
}

.qa {
  margin: 0 auto 18px;
}

.qband {
  background: var(--flow);
  padding: 12px;
  color: #fff;
  font-weight: 700;
  text-align: center;
  font-size: 1.1rem;
}

.a {
  padding: 16px;
  margin-top: 8px;
  line-height: 1.9;
  text-align: justify;
  text-justify: inter-ideograph;
}

.a p {
  margin-bottom: 15px;
  line-height: 1.5;
}



/* ----------------------------
   レスポンシブ max-width: 768px
----------------------------- */
@media (max-width: 768px) {

  .page-title h1 {
    font-size: 1.5rem;
  }

  .message {
    padding: 0 6%;
    text-align: justify;
    text-justify: inter-ideograph;
  }

  .page-content {
    font-size: 1rem;
    line-height: 1.8;
  }

  .page-content .lead {
    text-align: justify;
    text-justify: inter-ideograph;
  }

  .items {
    padding: 0 6%;
  }

  .items-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .img-wrap {
    width: auto;
    display: flex;
    justify-content: center;
    align-self: flex-start;
    width: 40%;
    order: 2;
  }

  .item-title {
    order: 1;
    text-align: left;
    width: 100%;
    margin-left: 0;
  }

  .item-sub-title {
    line-height: 1.4;
    margin-top: 30px;
  }

  .item-textarea {
    order: 4;
    width: 100%;
    margin-left: 0;
    padding-top: 0;
  }

  .gm-imgarea {
    flex-direction: column;
  }

  .gm-imginner {
    align-items: center;
    margin: 0 0 0 30px;
  }

  .qband {
    text-align: justify;
    text-justify: inter-ideograph;
  }

  .a {
    padding: 5px;
  }

  .gm-img {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    margin-bottom: 30px;
    gap: 0;
  }


}
