/* ========================================
   訪問動物看護 ゆいしっぽ - スタイルシート
   ======================================== */

/* ---------- リセット・基本設定 ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", serif;
  font-size: 16px;
  line-height: 1.8;
  color: #555555;
  background-color: #ffffff;
  -webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* ---------- カラー変数 ---------- */
:root {
  --green:       #6B9E78;
  --green-light: #EBF4EE;
  --brown:       #A0522D;
  --white:       #FFFFFF;
  --cream:       #FAF7F3;
  --text:        #555555;
  --text-dark:   #333333;
  --line-green:  #06C755;
  --border:      #E0D8CE;
}

/* ---------- コンテナ ---------- */
.container {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 固定LINEボタン（画面下部） ---------- */
.line-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--line-green);
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  height: 60px;
  padding: 0 20px;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
  transition: opacity 0.2s;
}

.line-fixed:active {
  opacity: 0.85;
}

.line-fixed__icon {
  display: flex;
  align-items: center;
}

/* ---------- ヘッダー ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 900;
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  max-width: 680px;
  margin: 0 auto;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__logo {
  height: 40px;
  width: auto;
}

.header__name {
  font-size: 13px;
  font-family: var(--font-serif);
  color: var(--text);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* ---------- ボタン共通 ---------- */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-family: inherit;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.2s;
  text-align: center;
}

.btn:active {
  opacity: 0.8;
}

/* LINEボタン */
.btn--line {
  background-color: var(--line-green);
  color: #ffffff;
}

/* 白ボタン（緑背景セクション用） */
.btn--white {
  background-color: #ffffff;
  color: var(--green);
}

/* 大サイズ */
.btn--lg {
  width: 100%;
  min-height: 56px;
  font-size: 17px;
  padding: 12px 20px;
  margin-top: 28px;
}

/* 小サイズ（ヘッダー用） */
.btn--sm {
  font-size: 13px;
  padding: 8px 16px;
  min-height: 36px;
  border-radius: 4px;
}

.btn__note {
  font-size: 12px;
  font-weight: normal;
  margin-top: 2px;
  opacity: 0.9;
}

/* ---------- セクション共通 ---------- */
.section {
  padding: 64px 0;
}

.section--white     { background-color: var(--white); }
.section--cream     { background-color: var(--cream); }
.section--green-light { background-color: var(--green-light); }
.section--green     { background-color: var(--green); }

.section__title {
  font-size: 24px;
  font-weight: bold;
  color: var(--green);
  line-height: 1.4;
  margin-bottom: 24px;
  text-align: center;
}

.section__lead {
  font-size: 15px;
  color: var(--text);
  text-align: center;
  margin-bottom: 32px;
  line-height: 1.9;
}

.section__lead--center {
  font-size: 17px;
  font-weight: bold;
  color: var(--brown);
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.section__lead--left {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.9;
}

/* ---------- ナビゲーション ---------- */
.nav {
  border-top: 1px solid var(--border);
  background-color: var(--white);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

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

.nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  white-space: nowrap;
  min-width: max-content;
  margin: 0 auto;
}

.nav__link {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text);
  transition: color 0.2s;
  letter-spacing: 0.03em;
}

.nav__link:hover,
.nav__link:active {
  color: var(--green);
}

/* ---------- 写真ブレイク ---------- */
.photo-break {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.photo-break__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

/* ---------- SECTION 1｜ヒーロー ---------- */
.hero {
  background-color: var(--white);
}

.hero__image-wrap {
  width: 100%;
  max-height: 360px;
  overflow: hidden;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__content {
  padding: 36px 20px 48px;
  max-width: 680px;
  margin: 0 auto;
}

.hero__sub {
  font-size: 13px;
  color: var(--green);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.hero__title {
  font-size: 28px;
  font-weight: bold;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 20px;
}

.hero__note {
  font-size: 12px;
  color: #999;
  margin-top: 16px;
  text-align: center;
}

.hero__desc {
  font-size: 15px;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 0;
}

/* ---------- SECTION 2｜共感リスト ---------- */
.worry-list {
  margin-bottom: 0;
}

.worry-list__item {
  position: relative;
  padding: 14px 16px 14px 40px;
  margin-bottom: 10px;
  background-color: var(--white);
  border-left: 3px solid var(--brown);
  border-radius: 0 4px 4px 0;
  font-size: 15px;
  line-height: 1.7;
}

.worry-list__item::before {
  content: "…";
  position: absolute;
  left: 12px;
  top: 14px;
  color: var(--brown);
  font-weight: bold;
  font-size: 14px;
}

/* ---------- SECTION 3｜サービスリスト ---------- */
.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.service-list__item {
  padding: 24px 16px;
  font-size: 14px;
  font-weight: bold;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--white);
  text-align: center;
}

.service-list__item:nth-child(even) {
  border-right: none;
}

.service-list__item:nth-last-child(-n+2) {
  border-bottom: none;
}

.service-list__icon {
  width: 36px;
  height: 36px;
  color: var(--green);
}

/* ---------- SECTION 4｜選ばれる理由 ---------- */
.reason-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reason-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: var(--white);
  border-radius: 8px;
  padding: 20px;
}

.reason-item__num {
  font-size: 28px;
  font-weight: bold;
  color: var(--green);
  line-height: 1;
  min-width: 44px;
  text-align: center;
}

.reason-item__text {
  font-size: 15px;
  font-weight: bold;
  color: var(--text-dark);
  line-height: 1.6;
}

/* ---------- SECTION 5｜訪問の流れ ---------- */
.flow-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow-item {
  display: flex;
  gap: 16px;
  position: relative;
}

.flow-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 42px;
  top: 52px;
  bottom: 0;
  width: 2px;
  background-color: var(--green);
}

.flow-item__step {
  flex-shrink: 0;
  width: 84px;
  height: 44px;
  background-color: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.flow-item__content {
  padding: 10px 0 32px;
}

.flow-item__text {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.7;
}

/* ---------- SECTION 6｜料金 ---------- */
.price-table-wrap {
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table th {
  background-color: var(--green);
  color: var(--white);
  padding: 14px 20px;
  font-size: 14px;
  text-align: center;
  font-weight: bold;
}

.price-table td {
  padding: 16px 20px;
  text-align: center;
  font-size: 17px;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border);
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table tr:nth-child(even) td {
  background-color: var(--white);
}

.price-table tr:nth-child(odd) td {
  background-color: #fdf9f5;
}

.price-notes {
  margin-bottom: 8px;
}

/* ---------- 対応エリア・交通費 ---------- */
.area-box {
  background-color: var(--green-light);
  border: 1px solid var(--green);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 20px;
}

.area-box__label {
  font-size: 13px;
  font-weight: bold;
  color: var(--green);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.area-box__list {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.area-box__list li {
  font-size: 16px;
  font-weight: bold;
  color: var(--text-dark);
  padding: 4px 16px;
  background-color: var(--white);
  border-radius: 20px;
  border: 1px solid var(--green);
}

.fare-box {
  background-color: var(--cream);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0;
}

.fare-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}

.fare-item:last-of-type {
  border-bottom: none;
}

.fare-item__label {
  font-size: 14px;
  color: var(--text);
}

.fare-item__price {
  font-size: 18px;
  font-weight: bold;
  color: var(--brown);
}

.notice-box {
  background-color: var(--cream);
  border-left: 3px solid var(--green);
  border-radius: 0 8px 8px 0;
  padding: 20px 20px 20px 24px;
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.8;
}

.notice-box__list {
  margin-bottom: 12px;
}

.notice-box__list li {
  padding-left: 1em;
  position: relative;
  margin-bottom: 6px;
}

.notice-box__list li::before {
  content: "・";
  position: absolute;
  left: 0;
}

.notice-box p {
  margin-top: 8px;
}

/* ---------- 注意書き ---------- */
.caution {
  font-size: 12px;
  color: #888;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* ---------- SECTION 7｜対応できること・できないこと ---------- */
.scope-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.scope-block {
  border-radius: 8px;
  padding: 24px 20px;
}

.scope-block--can {
  background-color: var(--green-light);
  border: 1px solid var(--green);
}

.scope-block--cannot {
  background-color: #FFF5F5;
  border: 1px solid #E8AAAA;
}

.scope-block__title {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.scope-block--can .scope-block__title  { color: var(--green); }
.scope-block--cannot .scope-block__title { color: #C0392B; }

.scope-block__list li {
  padding: 6px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  line-height: 1.6;
}

.scope-block__list li:last-child {
  border-bottom: none;
}

/* ---------- SECTION 8｜プロフィール ---------- */
.profile {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.profile__banner-wrap {
  width: 100%;
  height: 260px;
  border-radius: 12px;
  overflow: hidden;
}

.profile__banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.profile__body {
  text-align: center;
}

.profile__career,
.profile__message {
  text-align: left;
}

.profile__icon-wrap {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--green-light);
  margin: 0 auto 16px;
}

.profile__icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.profile__section {
  width: 100%;
  margin-bottom: 24px;
}

.profile__section-title {
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: var(--green);
  border-bottom: 1px solid var(--green-light);
  padding-bottom: 4px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.profile__pet {
  font-size: 14px;
  color: var(--text);
  line-height: 1.9;
}

.profile__career {
  margin-bottom: 0;
}

.profile__career li {
  font-size: 14px;
  color: var(--text);
  padding: 4px 0 4px 16px;
  position: relative;
}

.profile__career li::before {
  content: "・";
  position: absolute;
  left: 0;
}

.profile__cat-photo {
  width: 100%;
  max-width: 280px;
  border-radius: 12px;
  margin: 16px auto 0;
  display: block;
}

.profile__message {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.9;
  font-style: italic;
  border-left: 3px solid var(--green);
  padding-left: 16px;
}

/* ---------- SECTION 9｜よくある質問 ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--white);
}

.faq-item__q {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: bold;
  color: var(--text-dark);
  cursor: pointer;
  list-style: none;
  line-height: 1.6;
  position: relative;
}

.faq-item__q::before {
  content: "Q";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background-color: var(--green);
  color: var(--white);
  font-size: 13px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.faq-item__q::after {
  content: "＋";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--green);
  transition: transform 0.2s;
}

.faq-item[open] .faq-item__q::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item__q::-webkit-details-marker { display: none; }

.faq-item__a {
  padding: 0 20px 18px 56px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.8;
}

/* ---------- SECTION 10｜最終CTA ---------- */
.cta__title {
  font-size: 24px;
  font-weight: bold;
  color: var(--white);
  text-align: center;
  margin-bottom: 8px;
  line-height: 1.5;
}

.cta__sub {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  text-align: center;
  margin-bottom: 0;
}

.section--green .btn--white {
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* ---------- フッター ---------- */
.footer {
  background-color: var(--cream);
  border-top: 1px solid var(--border);
  padding: 40px 20px 24px;
  text-align: center;
}

.footer__inner {
  max-width: 680px;
  margin: 0 auto;
}

.footer__logo {
  height: 48px;
  width: auto;
  margin: 0 auto 12px;
}

.footer__name {
  font-size: 14px;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.footer__area {
  font-size: 12px;
  color: var(--text);
  margin-bottom: 16px;
}

.footer__copy {
  font-size: 11px;
  color: #aaa;
}

/* ---------- strong 共通 ---------- */
strong {
  color: var(--brown);
  font-weight: bold;
}

/* ========================================
   レスポンシブ（大きい画面向け調整）
   ======================================== */
@media (min-width: 480px) {
  .scope-grid {
    grid-template-columns: 1fr 1fr;
  }

  .profile {
    flex-direction: row;
    align-items: flex-start;
  }
}
