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

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

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

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

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

img, section, div {
  max-width: 100%;
}

/* === スマホの時だけ改行させるクラス === */
.br-sp {
    display: none;
}

/* === ヘッダー ナビゲーション === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  z-index: 1000;
}

.header .logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: flex;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav a {
  text-decoration: none;
  color: #4d3b08;
  font-size: 14px;
  transition: 0.3s;
}

.nav a:hover {
  opacity: 0.7;
}

.text-sm {
  font-size: 1.2rem;
}

/* モバイルメニュー */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

.menu-toggle.active + .nav ul {
  flex-direction: column;
}

.fade-in-text {
  opacity: 0;
  animation: fadeIn 3s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* === ファーストビュー === */
.hero {
  width: 100%;
  height: 50vh;
  position: fixed;
  top: 70px;
  z-index: -1;
}
.hero-content {
  width: 100%;
  height: 50vh;
  background-image: url("../img/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: local;
  position: relative;
}

.hero-content-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
  color: #fff;
  text-align: center;
}

.hero-content h1 {
  font-size: 3rem;
  letter-spacing: 0.1em;
}

.hero-content p {
  font-size: 1.3rem;
}

/* === TOPコンテンツ全般 === */
.message, .services, .profile {
  padding: 50vh 5% 80px;
  background: #fff;
  position: relative;
}

.hero {
  padding: 0;
}

.concept {
  margin-top: calc(50vh + 70px);
}

/* === 思い === */
.concept {
  background: #faf8e3;
  padding: 60px 10%;
  text-align: justify;
  text-justify: inter-ideograph;
}

.concept h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.concept p {
  margin-bottom: 40px;
}

.btn-center {
    text-align: center;
}

.bold {
    font-weight: 900;
}

.btn {
  display: inline-block;
  padding: 8px 40px;
  border: 1px solid #4d3b08;
  color: #4d3b08;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s;
  font-family: "Noto Sans JP", sans-serif;
}

.btn:hover {
  background-color: #4d3b08;
  color: #fff;
}

.btn.disabled {
  display: inline-block;
  padding: 8px 40px;
  background-color: #eadbc5;
  color: #4d3b08;
  border-radius: 5px;
  pointer-events: none;
  border:none;
}

/* === 一言メッセージ === */
.message {
  background: url("../img/message.jpg") no-repeat center center/cover;
  color: #fff;
  padding: 100px 10%;
  position: relative;
}

.message p {
  font-size: 1.8rem;
  line-height: 1.6;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* === サービス === */
.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  text-align: center;
  background: url("../img/services-bg.jpg") no-repeat center center/cover;
  padding: 80px 10%;
}

.service {
  text-align: center;
  width: 22%;
  min-width: 250px;
  padding: 40px 20px;
  flex: 1 1 22%;
  margin: 20px 0;
}

.service img {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

.service h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.service-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 205px;
}

.subtitle {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.95rem;
  margin-bottom: 10px;
  text-align: left;
}

.service ul {
  list-style: disc;
  text-align: left;
  margin: 0 auto 20px;
  font-family: "Noto Sans JP", sans-serif;
}

/* === デザインを整える === */
.design {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  padding: 80px 10%;
}

.design img {
  width: 35%;
  border-radius: 10px;
}

.design .text {
  width: 45%;
}

.design .text h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.design .text p {
  margin-bottom: 20px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.95rem;
}

.design ul {
  margin-left: 25px;
  margin-bottom: 30px;
  font-family: "Noto Sans JP", sans-serif;
}

/* === Profile === */
.profile {
  background: #eadbc5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  padding: 80px 10%;
}

.profile img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
}

.profile .text h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.profile .text h3 span {
  font-size: 1rem;
  margin-left: 10px;
}

.roles {
  list-style: disc;
  margin-bottom: 20px;
  font-family: "Noto Sans JP", sans-serif;
  margin-left: 25px;
}

.roles .small {
  font-size: 0.85rem;
  text-align: right;
  list-style: none;
}

/* === フッター === */
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;
  background: #fff0b6;
}

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

.policy a {
  color: #4d3b08;
  text-decoration: none;
  font-size: 0.8rem;
}

.policy a:hover {
  opacity: 0.7;
}

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

/* === アニメーション === */
.fade-in-up, .fade-in-left, .fade-in-right {
  opacity: 0;
  transform: translateY(30px);
  transition: all 2s ease;
}

.fade-in-left {
  transform: translateX(-30px);
}

.fade-in-right {
  transform: translateX(30px);
}

.fade-in-up.visible,
.fade-in-left.visible,
.fade-in-right.visible {
  opacity: 1;
  transform: translate(0,0);
}

/* === 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: 6rem auto 3rem;
  max-width: 900px;
}

.page-title h1 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #4d3b08;
}

/* === 下層コンテンツ === */
.page-content {
  width: 90%;
  max-width: 800px;
  margin: 0 auto 6rem;
  line-height: 1.9;
  font-size: 1.1rem;
  text-align: justify;
  text-justify: inter-ideograph;
}

.page-content .lead {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.page-content ul {
  margin: 2rem 0;
  padding-left: 1.5rem;
}

.page-content ul li {
  list-style: "・ ";
  margin-bottom: 0.5rem;
}

/* ----------------------------
   プロフィールページ
----------------------------- */
.profile-detail {
  color: #4d3b08;
  padding: 0 20px 80px 20px;
  line-height: 1.6;
}

.profile-container {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 810px;
  margin: 0 auto 60px;
  justify-content: space-around;
}

.profile-image img {
  height: 315px;
  border-radius: 12px;
  object-fit: cover;
}

.profile-text h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.profile-text h2 span {
  font-size: 1.3rem;
  margin-left: 8px;
}

.profile-titles {
  list-style: disc;
  padding: 0 0 0 24px;
  margin: 0;
  text-align: justify;
  text-justify: inter-ideograph;
}

.profile-titles li {
  line-height: 27px;
}

.profile-titles li:nth-of-type(1), 
.profile-titles li:nth-of-type(4), 
.profile-titles li:nth-of-type(6) {
  margin-bottom: 15px;

}

/* === 経歴（年号と内容を2列に） === */
.profile-history {
  max-width: 810px;
  margin: 0 auto 60px;
  text-align: justify;
  text-justify: inter-ideograph;
}

.history-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  margin-bottom: 16px;
}

.year {
  font-weight: bold;
}

.profile-message {
  background-color: #f1ece6;
  text-align: center;
  padding: 40px 20px;
  font-weight: 500;
  line-height: 2;
  border-radius: 8px;
  max-width: 810px;
  margin: 0 auto;
}

/* ----------------------------
   身体を整える/愛犬を整える
----------------------------- */
.service-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 10px 8% 80px;
  margin: 0 auto;
  max-width: 1100px;
}

.service-box {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #4d3b08;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  height: 300px;
}

/* --- 左上正円デザイン --- */
.circle {
  position: absolute;
  top: -30px;
  left: -15px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: 1.4rem;
  color: #4d3b08;
  z-index: 2;
}

.circle.white {
  background-color: #fff;
}

.circle.beige {
  background-color: #f1ece6;
}

.circle-top-text {
  position: relative;
  z-index: 2;
  font-size: 1.5rem;
  letter-spacing: 3px;
  top: 5px;
  left: 2px;
}

/* --- 概要テキスト --- */
.service-content {
  position: relative;
  z-index: 3;
  margin: 0 auto;
  padding: 40px 30px;
  border-radius: 12px;
  width: 690px;
}

.desc {
  font-size: 1.1rem;
  line-height: 2;
  margin-bottom: 24px;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-ideograph;
}

.lead {
  text-align: center;
  font-size: 1.0rem;
  margin-bottom: 2px;
  font-family: "Noto Sans JP", sans-serif;
}

.service-btn {
  max-width: 900px;
  width: 100%;
  text-align: center;
}

/* ----------------------------
   愛犬を整える
----------------------------- */

.dog-future {
  background-color: #faf8e3;
  padding: 80px 6%;
  color: #4d3b08;
}

.dog-future-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;
}

.img-wrap {
  position: relative;
  overflow: visible;
}

/* --- 背景のもやもや（円グラデーション）--- */
.img-wrap .img-bg {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  filter: blur(36px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
}

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

.img-wrap.large {
  width: 220px;
  justify-self: end;
  grid-column: 1;
  grid-row: 1;
}

.img-wrap.large .img-bg {
  width: 340px; height: 340px;
  left: -40px; top: -30px;
  background: radial-gradient(circle, rgba(255,165,0,0.25), transparent 60%);
}

.img-wrap.small {
  width: 140px;
  justify-self: start;
  grid-column: 1;
  grid-row: 2;
}

.img-wrap.small .img-bg {
  width: 220px; height: 220px;
  left: -30px; top: -10px;
  background: radial-gradient(circle, rgba(255,165,0,0.20), transparent 60%);
}

.img-wrap.medium {
  width: 180px;
  justify-self: end;
  grid-column: 1;
  grid-row: 3;
}

.img-wrap.medium .img-bg {
  width: 300px; height: 300px;
  left: -20px; top: -10px;
  background: radial-gradient(circle, rgba(255,165,0,0.18), transparent 60%);
}

.dog-text {
  grid-column: 2;
  grid-row: 1 / span 3;
  text-align: left;
  margin-left: 30px;
}
.dog-text h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.dog-text2 {
  grid-column: 2;
  grid-row: 1 / span 3; 
  padding-top: 80px;
  margin-left: 30px;
  text-align: justify;
  text-justify: inter-ideograph;
}
.dog-text2 p {
  line-height: 1.9;
  font-size: 1rem;
}

.dog-venn {  
  background-image: url("../img/venn-bg.jpg");
  background-size: cover;
  background-position: center;
  color: #4d3b08;
  text-align: center;
  padding: 100px 20px;
}

.venn-text-p {
  margin: 8px 0;
  font-size: 1.1rem;
  line-height: 1.8;
}

.venn-strong {
  font-weight: 700;
  font-size: 1.3rem;
  margin-top: 16px;
}

.venn-img {
  margin-top: 40px;
  max-width: 380px;
  width: 80%;
}

.service-section h3 {
  font-size: 1.8rem;
  margin-top: 1.2rem;
  font-weight: 600;
}

.service-dog1 {
  color: #fff;
}

.service-dog1-btn {
  border-color: #fff;
  letter-spacing: 1;
  letter-spacing: 0.1rem;
}

.service-dog1-btn:hover {
  border-color: #fff;
  background-color: #fff;
  color: #4d3b08;
  font-weight: bold;
}

.service-dog1-p {
    text-shadow: 
     1px 1px 0 rgba(192, 192, 192, 0.3),
     -1px -1px 0 rgba(192, 192, 192, 0.3), 
     -1px 1px 0 rgba(192, 192, 192, 0.3), 
     1px -1px 0 rgba(192, 192, 192, 0.3), 
     1px 0 0 rgba(192, 192, 192, 0.3),
      -1px 0 0 rgba(192, 192, 192, 0.3), 
      0 1px 0 rgba(192, 192, 192, 0.3), 
      0 -1px 0 rgba(192, 192, 192, 0.3);
}

/* ----------------------------
   デザインを整える
----------------------------- */
.d-hero {
  position: relative;
  height: 45vh;
  background: url("../img/hero-design.jpg") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 70px;
}

.d-hero-overlay {
  background-color: rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.d-hero h1 {
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-size: 2.5rem;
  text-align: center;
  line-height: 1.4;
  text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
}

/* === 思い === */
.d-message {
  margin-top: 70px;
  padding: 50px 20px;
}

.d-message .container {
  max-width: 900px;
  margin: 0 auto;
}

.d-message h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.d-message p {
  font-size: 1rem;
  text-align: justify;
  text-justify: inter-ideograph;
}

/* === サービス紹介 === */
.services {
  background: #faf8e3;
  padding: 50px 20px;
}

.services .container {
  max-width: 1200px;
  margin: 0 auto;
}

.services h2 {
  font-family: "Noto Serif JP", serif;
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.card {
  padding: 20px;
  text-align: center;
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 0;
  margin-bottom: 1rem;
}

.card h3 {
  font-family: "Noto Serif JP", serif;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.card h3 .small {
  font-size: 0.9rem;
  margin-left: 4px;
}

.card ul {
  list-style: disc;
  padding: 0;
  margin: 0;
  text-align: left;
  display: inline-block;
}

.disc-none {
  list-style: none;
}

.card ul li {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.95rem;
}

.card ul li.right {
  text-align: right;
}

/* === 制作実績 === */
.works {
  background: #fff;
  padding: 50px 20px;
  text-align: left;
}

.works .container {
  max-width: 900px;
  margin: 0 auto;
}

.works h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 1.8rem;
  margin-bottom: 1.1rem;
}

.works p {
  margin-bottom: 1.5rem;
}

.button-wrapper {
  text-align: center;
}

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

#detox .container {
    max-width:1100px;
    margin:70px auto 0;
    padding:0 20px;
}

.f-hero {
  height: 60vh;
  background-image: url("../img/detox-hero.jpg");
  /* replace */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  top: 70px;
}

.f-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
}

.f-hero-title {
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-size: 2.3rem;
  margin: 0 0 12px;
  line-height: 1.1;
}

.f-hero-sub {
  color: #fff;
  margin: 0;
  font-size: 1.05rem;
}

/* === 導入 === */
.intro {
  background: #fff;
  padding: 60px 0;
}

.f-lead {
  max-width: 1100px;
  margin: 0 auto 30px;
  font-size: 1rem;
  line-height: 1.9;
  text-align: justify;
  text-justify: inter-ideograph;
  font-family: "Noto Sans JP", sans-serif;
}

.intro-flex {
  display: flex;
}

.intro-left  {
  width: 55%;
}

.intro-right {
  width: 45%;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.intro-inner {
  display: flex;
}

.intro-left .intro-img {
  width: 100%;
  height: auto;
  border: 6px solid var(--accent);
  display: block;
  object-fit: cover;
}

.intro-right {
  position: relative;
}

.info-box {
  background: var(--accent);
  padding: 10px 20px;
  display:inline-block;
  position: absolute;
  font-family: "Noto Sans JP", sans-serif;
}

.info1 {
  font-size: 1.2rem;
  margin-left: 0;
  left: -23%;
  top: 20px;
}

.info2 {
  font-weight: 700;
  font-size: 1.5rem;
  top: 39%;
  left: -5%;
}

.info3 {
  font-size: 1.2rem;
  right: 5%;
  top: 74%;
}

.info2 span {
    font-size: 1.2rem;
    margin-left: 3px;
    font-weight: 300;
}

.leaf {
  position: absolute;
  right: -30px;
  top: 10px;
  width: 25%;
  opacity: 0.95;
  pointer-events: none;
}

.intro-text-block {
  background: #fff;
  padding: 0 0 20px;
  margin: 50px auto 20px;
  text-align: justify;
  text-justify: inter-ideograph;
}

.intro-text-block p {
    margin-bottom: 20px;
}

.cta-wrapper {
  text-align: center;
  margin-top: 12px;
}

.cta-btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-family: "Noto Sans JP", sans-serif;
  width: 60%;
}

.cta-btn:hover {
  opacity: 0.5;
}

/* === バイタルファスティングとは === */
.vital {
  background-size: cover;
  background-position: center;
  padding: 60px 0;
  background-color: #faf8e3;
}

.vital .container {
  max-width: 900px;
  margin-top: 0 !important;
}

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

.vital-text p {
  font-size: 1rem;
  line-height: 1.9;
  background: rgba(255, 255, 255, 0.06);
  padding: 12px;
  text-align: justify;
  text-justify: inter-ideograph;
}

.quotes {
  margin: 20px 0;
  background: #fff;
  line-height: 1.2;
}

.quotes blockquote {
  border-radius: 8px;
  padding: 20px 10px;
  text-align: center;
  color: var(--brand);
  font-weight: 700;
}

.quotes .cite {
  display: block;
  font-size: 0.9rem;
  font-weight: 400;
  margin-top: 6px;
  color: #666;
}

/* === 主な効果 === */
.effects {
  background-image: url("../img/detox-effects-bg.jpg");
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  color: var(--brand);
}

.effects-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.effects-text {
  background: rgba(255, 255, 255, 0.9);
  padding: 28px;
  border-radius: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.effects-list {
  columns: 2;
  list-style: disc;
  padding-left: 20px;
  margin: 14px 0;
}

.effects-list li {
  margin-bottom: 8px;
}

.effects-list li.right {
  text-align: right;
  display: block;
  margin-right: 50px;
}

/* === 体験者の声 === */
.testimonials {
  background: #fff;
  padding: 0 0 60px;
}

.testi-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 1000px;
  margin: 0 auto;
  font-family: "Noto Sans JP", sans-serif;
}

.testi {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testi.odd .person {
  order: 0;
}

.testi.even {
  flex-direction: row-reverse;
}

.person img {
  width: 92px;
  height: 92px;
  object-fit: cover;
}

.bubble {
  background: var(--muted);
  padding: 14px 18px;
  border-radius: 12px;
  max-width: 760px;
  line-height: 1.7;
}

/* === FEELING === */
.feeling {
  background-image: url("../img/detox-feeling-bg.jpg");
  background-size: cover;
  background-position: center;
  padding: 95px 20px;
  color: #fff;
  text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
}

.feeling-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: left;
  font-size: 1.2rem;
  line-height: 1.9;
}

.feeling-large {
  font-size: 1.5rem;
  margin-bottom: 35px;
}

/* === フロー === */
.flow {
  background: #fff;
  padding: 0 0 60px ;
}

.flow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: "Noto Sans JP", sans-serif;
  text-align: center;
}

.step-wrapper {
  width: 100%;
  border: 3px solid rgba(193, 179, 150, 0.28);
  padding: 35px 25px;
  position: relative;
  margin-top: 20px;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-inner {
  display: flex;
  flex-direction: row;
}

.step-box {
  background: rgba(193, 179, 150, 0.2);
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(193, 179, 150, 0.28);
  font-weight: 700;
  width: 50%;
}

.comment {
  width: 50%;
  text-align: left;
  padding-left: 30px;
  display: flex;
  align-items: center;
}

.step-fasting {
  width: 50%;
}

.step-box.special {
  background: #b79d85;
  color: #fff;
}

.promo {
  position: relative;
  margin-top: -8px;
}

.promo img {
  position: absolute;
  width: 70px;
  left: -9px;
  top: -4px;
}

.step-arrow {
  font-size: 1.5rem;
  color: #c1b396;
  opacity: 0.6;
  text-align: left;
  margin-left: 25%;
}

.flow-comments .comment {
  background: #fff;
  padding: 12px;
  border-left: 4px solid var(--flow);
  border-radius: 6px;
  margin-bottom: 12px;
}

.comment-bracket {
    display: flex;
}

.bracket img {
    height: 300px;
}

.ribbon {
  display: inline-block;
  position: absolute;
  height: 45px;
  line-height: 45px;
  text-align: center;
  padding: 0 30px;
  font-size: 18px;
  background: #b79d85;
  color: #FFF;
  box-sizing: border-box;
  top: -25px;
  left: 16px;
}

.ribbon:before, .ribbon:after {
  position: absolute;
  content: '';
  width: 0px;
  height: 0px;
  z-index: 1;
}

.ribbon:before {
  top: 0;
  left: 0;
  border-width: 23px 0px 25px 11px;
  border-color: transparent transparent transparent #fff;
  border-style: solid;
}

.ribbon:after {
  top: 0;
  right: 0;
  border-width: 23px 11px 25px 0px;
  border-color: transparent #fff transparent transparent;
  border-style: solid;
}

.support-flow {
    display: flex;
    flex-direction: column;
    line-height: 3;
}


/* === FAQ === */
.faq {
  background: #f1ece6;
  padding: 10px 0 60px;
  font-family: "Noto Sans JP", sans-serif;
}

.qa {
  max-width: 980px;
  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;
}

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

.gender{
    background-color: #e1cbbb;
    border-radius:50px;
    margin: 0 6px;
    padding: 0 13px;
}

.ng {
    margin: 0 auto;
    display: table;
}

.ng-li {
    width: 528px;
    margin-bottom: 10px;
}

.monitor {
  max-width: 980px;
  margin: 18px auto;
  background: #fff;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid #e6d7cc;
  display: flex;
  justify-content: center;
}

.monitor-box {
    text-align: left;
}

.monitor-box h4 {
  margin-top: 0;
  margin-left: -30px;
}

.monitor-cta {
  text-align: center;
  margin-top: 12px;
}

/* === LINE === */
.line {
  background-image: url("../img/detox-line-bg.jpg");
  background-size: cover;
  background-position: center;
  padding: 60px 20px;
  text-align: center;
}

.line-inner {
    max-width: 1100px;
    margin: 0 auto ;
    padding: 0 20px;
}

.qr-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.qr img {
  width: 140px;
  object-fit: contain;
  border-radius: 8px;
}

/* ----------------------------
   レスポンシブ max-width: 900px
----------------------------- */

/* ----------------------------
   デザインを整える
----------------------------- */
@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

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

  .del-sp {
    display: none;
  }

  .nav {
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    background: rgba(255,255,255,0.95);
    width: 70%;
    padding: 20px;
    transform: translateX(100vw);
    transition: all .3s linear;
    font-family: "Noto Sans JP", sans-serif;
  }
  .nav.active {
    display: block;
      transform: translateX(0);
  }

  nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    flex-direction: column;
  }

  .nav a {
    font-size: 20px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle.active + .nav ul {
    flex-direction: column;
  }

  .br-sp {
    display: block;
  }

/* ----------------------------
   TOP
----------------------------- */
  .hero {
    height: 55vh;
    background-attachment: local;
    position: fixed;
  } 

  .hero-content {
    height: 55vh;
  }

  .hero-content-inner {
    width: 100%;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.9);
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-content p {
    font-size: 1.0rem;
    font-weight: bold;
  }
      
  .concept {
    margin-top: calc(55vh + 70px);
  }

  .message, .services, .design, .profile {
    padding: 50px 8%;
  }

  .design, .profile {
    flex-direction: column;
    text-align: center;
  }

  .design img, .design .text, .profile .text, .btn {
    width: 100%;
  }

  .services {
    flex-direction: column;
    align-items: center;
  }

  .service {
    width: 90%;
  }

  .service-inner {
    height: auto;
  }

  .design-inner, .profile-inner  {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .design-inner ul, .profile-inner ul  {
    text-align: left;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-content .btn {
    width: 80%;
    margin-top: -30px;
  }

  .back-to-top {
    display: none;
  }

/* ----------------------------
   TOP配下
----------------------------- */
  .page-title {
    margin-top: 4.4rem;
    padding: .5rem 0;
  }

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

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

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

/* === プロフィールページ === */
  .profile-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-align: justify;
    text-justify: inter-ideograph;
  }

  .profile-image img {
    max-width: 300px;
  }

  .profile-text {
    text-align: left;
    width: 100%;
  }

  .history-item {
    grid-template-columns: 90px 1fr;
  }

  .profile-message {
    padding: 30px 16px;
    text-align: justify;
    text-justify: inter-ideograph;
    line-height: 26px;
  }

  .profile-message p {
    margin-bottom: 13px;
  }

  .service-section {
    gap: 45px;
  }

  .service-box {
    min-height: 420px;
    padding: 40px 16px;
    justify-content: space-around;
  }

  .service1-img {
    background-position: -195px;
  }
  .service3-img {
    background-position: -46px;
  }

  .circle {
    width: 100px;
    height: 100px;
    top: -20px;
    left: -12px;
    font-size: 1.0rem;
  }

  .service-content {
    padding: 30px 20px 0;
  }

  .desc {
    font-size: 0.95rem;
  }

  .lead {
    font-size: 0.8rem;
  }

/* ----------------------------
   愛犬を整える
----------------------------- */

  .dog-future-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }

  .img-wrap {
    width: auto;
    display: flex;
    justify-content: center;
  }
 
  .img-wrap.large {
    align-self: flex-start;
    margin-left: 8%;
    width: 240px;
    order: 2;
  }

  .img-wrap.small {
    align-self: flex-end;
    margin-right: 8%;
    width: 150px;
    order: 3;
  }

  .dog-text {
    order: 1;
    text-align: left;
    padding: 0 4%;
    width: 100%;
    margin-left: 0;
  }

  .dog-text2 {
    order: 4;
    width: 100%;
    text-align: left;
    margin-left: 0;
    padding-top: 0;
  }

  .img-wrap.medium {
    order: 5;
    align-self: flex-end;
    margin-right: 8%;
    width: 180px;
  }

  .img-wrap .img-bg { display: none; }

  .venn-text p {
    font-size: 1rem;
  }

  .venn-strong {
    font-size: 1.2rem;
  }

/* ----------------------------
   デトックス
----------------------------- */
    
  .intro-left {
    width: calc(100% - 20px);
    position: absolute;
  }

  .intro-left .intro-img {
    width: 100%;
  }

  .intro-right {
    height: 200px;
    width: 100%;
  }

  .infobox {
    margin-bottom: 0;
  }

  .info1 {
    left: auto;
    top: 16px;
    right: 0;
  }

  .info2 {
    top: 76px;
    left: auto;
    right: 0;
  }

  .info3 {
    top: auto;
    right: 0;
    bottom: 0;
  }

  .leaf {
    display: none;
  }

  .intro-text-block {
    margin-top: 120px;
  }

  .mb {
    margin-bottom: 10px;
  }

  .step {
    gap: 0;
  }

  .step-box {
    width: 100%;
  }

  .step-inner {
    flex-direction: column;
  }

  .step-arrow {
    margin-left: calc(50% - 12px);
  }

  .sp-rev {
    flex-direction: column-reverse;
  }

  .comment {
    width: 100%;
    padding-left: 0;
    margin-top: 8px;
    justify-content: center;
  }

  .sp-comment {
    margin-top: -15px;
    margin-bottom: 19px;
  }

  .cta-btn {
    width: 100%;
  }

  .line-inner {
    text-align: center;
  }

  .line-inner p {
    text-align: left;
  }

  .intro-grid {
    grid-template-columns: 1fr
  }

  .two-images {
    flex-direction: row
  }

  .vital-text,
  .effects-text {
    padding: 16px
  }

  .effects-list {
    columns: 1
  }

}

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

/* ----------------------------
   デトックス
----------------------------- */

  .intro-left .intro-img {
    display: none;
  }

  .info1 {
    left: 0;
    top: 16px;
    right: auto;
  }

  .info2 {
    top: 76px;
    left: 0;
    right: 0;
    text-align: center;
  }

  .info3 {
    top: auto;
    right: 0;
    bottom: 0;
  }

  .intro-text-block {
    margin-top: 40px;
  }

  .feeling {
    background-position: -275px;
  }

  .feeling-large {
    font-size: 1.3rem;
  }

  .feeling-small {
    font-size: 1.0rem;
  }

  .ng {
    margin-left: 20px;
  }

/* ----------------------------
   デザイン
----------------------------- */

  .d-hero {
    height: 40vh;
  }

  .d-hero h1 {
    font-size: 2.0rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

}

/* ▼ iOS Safariで高さがずれる問題に対応 */
@supports (-webkit-touch-callout: none) {
  .hero {
    height: -webkit-fill-available;
  }
}