/*
Theme Name: 2990-website-theme 2
Author: Nikukyu Theme Developer
Version: 1.0
Description: にくきゅう。テーマ
*/

/* --------------------------------
 * A modern CSS reset (省略)
 * -------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}

/* --------------------------------
 * General & Base Styles (省略)
 * -------------------------------- */
:root {
  /* Colors */
  --color-primary: #ff8f3d;
  --color-secondary: #593e2a;
  --color-text: #432;
  --color-background: #f7f8fa;
  --color-light-bg: #fff;
  --color-white: #fff;
  --color-border: #eee;
  --color-text-muted: #777;
  --color-danger: #c0392b;
  --color-accent: #ff9800;
  --color-warning: #e67e22;
  --color-success: #27ae60;

  /* Fonts */
  --font-family-base: "Noto Sans JP", sans-serif;
  --font-family-emphasize: "Arial Black", sans-serif;

  /* Spacing */
  --spacing-sm: 10px;
  --spacing-md: 20px;
  --spacing-lg: 30px;
  --spacing-xl: 80px;

  /* Other */
  --border-radius-base: 8px;
  --shadow-base: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.1);
  --transition-base: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}
body {
  overflow-x: hidden;
  font-family: var(--font-family-base);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-background);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-base);
  font-weight: 900;
  line-height: 1.3;
}
.container {
  max-width: 1000px;
  margin-inline: auto;
  padding-inline: var(--spacing-md);
}
.text-emphasize {
  font-size: 1.5em;
  font-family: var(--font-family-emphasize);
  font-weight: bold;
}
.text-danger {
  color: var(--color-danger);
}
.full-width-image {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-base);
  margin: var(--spacing-lg) auto;
}

/* --------------------------------
 * Header & Navigation
 * -------------------------------- */
.page-header {
  position: relative;
}

.global-nav {
  display: flex;
  justify-content: center;
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  z-index: 100;
  /* PC初期: 透明 */
  background: transparent;
  /* スクロール時の色変化を有効 */
  transition: background-color var(--transition-base);
}
/* PCスクロール後: 濃い茶色 (0.7) */
.global-nav.is-scrolled {
  background: rgba(89, 62, 42, 0.7);
}
.global-nav__list {
  display: flex;
  justify-content: center;
  padding: var(--spacing-md);
}
.global-nav__item {
  margin-inline-start: 36px;
}
.global-nav__item:first-child {
  margin-inline-start: 0;
}
.global-nav__link {
  color: var(--color-white);
  font-size: 1.1rem;
  transition: color var(--transition-base);
}
.global-nav__link:hover,
.global-nav__link:focus-visible {
  color: var(--color-primary);
}

.hamburger {
  display: none;
}
.hamburger__line {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-white);
  margin-bottom: 5px;
  transition: all var(--transition-base);
}
.hamburger__line:last-child {
  margin-bottom: 0;
}
.hamburger.is-open .hamburger__line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.is-open .hamburger__line:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open .hamburger__line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.global-nav__item--has-submenu {
  position: relative;
}
.global-nav__submenu {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease-out;
}
.global-nav__submenu-item {
  margin-inline-start: 0;
}
.global-nav__submenu-link {
  display: block;
  color: var(--color-white);
  transition: background-color 0.2s;
  white-space: nowrap;
}

.main-visual {
  display: flex;
  flex-direction: column-reverse;
  position: relative;
}
.main-visual__body {
  position: relative;
  z-index: 1;
  margin-top: -60px;
  margin-right: 15px;
  padding: var(--spacing-lg) 35px;
  background: rgba(255, 143, 61, 0.8);
  color: var(--color-white);
}
.main-visual__title {
  font-weight: 900;
  font-size: 32px;
  line-height: 1.2;
}
.main-visual__title::after {
  content: "";
  display: block;
  margin: 15px 0 15px -35px;
  border-top: 1px solid currentColor;
}
.main-visual__text {
  line-height: 2;
}
.main-visual__image img {
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.main-visual--sub-page .main-visual__image {
  height: 60vh;
  overflow: hidden;
}
.main-visual--sub-page .main-visual__image img {
  height: 100%;
}
.main-visual--sub-page .main-visual__body {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: var(--spacing-md);
}
.main-visual--sub-page .main-visual__title {
  font-size: 2.5rem;
}
.main-visual--sub-page .main-visual__title::after {
  display: none;
}
.main-visual--sub-page .main-visual__text {
  text-align: center;
}

/* --------------------------------
 * Common Section Styles (省略 - その他の共通スタイル)
 * -------------------------------- */
.section {
  padding-block: 40px;
  margin-bottom: var(--spacing-xl);
}
.section:last-child {
  margin-bottom: 0;
}
.section__title {
  margin-bottom: var(--spacing-lg);
  font-size: 2rem;
  font-weight: 900;
  text-align: center;
  overflow-wrap: break-word;
}
.section__title--small {
  font-size: 1.8rem;
  margin-bottom: var(--spacing-md);
  text-align: left;
}
.section__text {
  line-height: 1.8;
  margin-bottom: 1.5em;
  max-width: 800px;
  margin-inline: auto;
  text-align: left;
  text-wrap: pretty;
}
.section__text--centered {
  text-align: center;
}
.section__title--small.section__text--centered {
  text-align: center;
}

/* --------------------------------
 * Buttons & Links (省略)
 * -------------------------------- */
.btn {
  display: inline-block;
  position: relative;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  border: 2px solid transparent;
  border-radius: 30px;
}

.btn--primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 10px rgba(255, 143, 61, 0.3);
}
.btn--primary:hover {
  background-color: #e68037;
  border-color: #e68037;
  box-shadow: 0 6px 15px rgba(255, 143, 61, 0.4);
  transform: translateY(-2px);
  color: var(--color-white);
}

.btn--secondary {
  background-color: var(--color-white);
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.btn--secondary:hover {
  background-color: #fffaf5;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.btn--dark {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.btn--dark:hover {
  background-color: #4e342e;
  border-color: #4e342e;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
  color: var(--color-white);
}

.btn--outline {
  padding: 1rem 3rem;
  background: #fffaf5;
  color: var(--color-primary);
  border: none;
}
.btn--outline::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border: 2px solid var(--color-primary);
  transition: 0.2s ease-in-out;
  border-radius: 30px;
}
.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn--outline:hover::before {
  top: 0;
  left: 0;
}

.btn--cta {
  font-size: 1.6rem;
  padding: 2.2rem 3.2rem;
  color: var(--color-white);
  background-color: var(--color-primary);
  border-radius: 100% 80px / 80px 100%;
  line-height: 1.4;
  box-shadow: 0 6px 15px rgba(255, 143, 61, 0.4);
  border: none;
}
.btn--cta:hover {
  background-color: #e68037;
  border-radius: 60% 80% / 100% 80%;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 20px rgba(255, 143, 61, 0.5);
  color: var(--color-white);
}

.long-text-btn {
  padding: 12px 20px;
  font-size: 0.95rem;
}

.more-link,
.contact-btn-area {
  text-align: center;
  margin-block: 40px;
}
/* --------------------------------
 * Service Grid Section (省略 - TOPページアニメーションの元CSS)
 * -------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.service-grid__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.service-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease-out;
}

.service-grid__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(40, 40, 40, 0.7);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  text-align: center;
  padding: 20px;
}

.service-grid__item:hover img {
  transform: scale(1.1);
}
.service-grid__item:hover .service-grid__overlay {
  opacity: 1;
}

.service-grid__title {
  font-size: 1.6rem;
  font-weight: 700;
  transform: translateY(15px);
  opacity: 0;
  transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

.service-grid__description {
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(15px);
  transition: transform 0.4s ease-out 0.1s, opacity 0.4s ease-out 0.1s;
  margin-bottom: 15px;
}

.service-grid__phrase {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(15px);
  transition: transform 0.4s ease-out 0.2s, opacity 0.4s ease-out 0.2s;
}

.service-grid__item:hover .service-grid__title,
.service-grid__item:hover .service-grid__description,
.service-grid__item:hover .service-grid__phrase {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 767px) {
  .service-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

/* --------------------------------
 * Card Component (省略)
 * -------------------------------- */
.card {
  background-color: var(--color-light-bg);
  border-radius: var(--border-radius-base);
  box-shadow: var(--shadow-base);
  transition: transform var(--transition-base),
    box-shadow var(--transition-base);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.card-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: 50px;
}
.card__link-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.card__title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 900;
}
.card__description {
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
}
.card__description p {
  margin: 0;
}
.card__content {
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card--testimonial {
  background: var(--color-white);
  padding: var(--spacing-lg);
  text-align: left;
  border-top: 4px solid var(--color-primary);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card--testimonial::before {
  display: none;
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--spacing-sm);
}

.card__stars {
  font-size: 1.2rem;
  color: #ffc107;
  letter-spacing: 2px;
  line-height: 1;
}
.card__tag {
  margin-bottom: 0;
  align-self: flex-start;
}

.card__text {
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
  color: #555;
  line-height: 1.8;
}

.card__author {
  margin-top: auto;
  font-weight: bold;
  color: var(--color-secondary);
  text-align: right;
  padding-top: var(--spacing-sm);
  border-top: 1px solid var(--color-border);
}

.card__tag {
  display: inline-block;
  background-color: var(--color-secondary);
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 15px;
  margin-bottom: var(--spacing-md);
  align-self: center;
}

.faq-select {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card--faq-select {
  width: 100%;
  max-width: 320px;
  padding: var(--spacing-md);
  text-align: center;
  z-index: 1;
}
.card--faq-select::after {
  content: "?";
  font-family: var(--font-family-emphasize);
  font-size: 6rem;
  color: var(--color-border);
  position: absolute;
  bottom: -10px;
  right: 10px;
  z-index: -1;
  line-height: 1;
  font-weight: 900;
}

/* --------------------------------
 * Other Components & Page Specific (省略 - その他の共通スタイル)
 * -------------------------------- */
.news-list {
  margin: 0 auto var(--spacing-lg);
  max-width: 800px;
  text-align: left;
}
.news-list__link {
  display: block;
  padding: 15px 10px;
  border-bottom: 1px solid var(--color-border);
  transition: background-color 0.2s ease;
}
.news-list__link:hover {
  background-color: #f9f9f9;
}
.news-list__date {
  margin-right: 15px;
  color: var(--color-text-muted);
}

.profile {
  background-color: var(--color-light-bg);
  padding: 40px var(--spacing-md);
  border-radius: var(--border-radius-base);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.profile__item {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  max-width: 800px;
  margin-inline: auto;
  text-align: left;
}
.profile__item + .profile__item {
  margin-top: 40px;
}
.profile__image {
  flex-shrink: 0;
}
.profile__image img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fffaf5;
  box-shadow: var(--shadow-base);
}
.profile__name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--color-secondary);
}

.access__map {
  margin-bottom: var(--spacing-md);
  border-radius: var(--border-radius-base);
  overflow: hidden;
  line-height: 0;
}
.access__subsection {
  margin-top: var(--spacing-lg);
}
.access__subsection-title {
  text-align: center;
  font-weight: bold;
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid #ccc;
  margin-bottom: var(--spacing-sm);
}

/* PC/SP共通の情報テーブル（.info-table）の修正 */
.info-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  margin-inline: auto;
}
.access__subsection .info-table {
  width: auto;
  margin-inline-start: 0;
}
.info-table th,
.info-table td {
  padding: 10px 15px;
  /* ★修正箇所: 罫線を削除し、行間の区切りをなくす ★ */
  border-bottom: none;
  font-size: 14px;
}
.info-table th {
  /* ★修正箇所: 幅を広げ、折り返しを防ぐ★ */
  width: 180px; /* 150pxから180pxに増やす */
  vertical-align: top;
  white-space: nowrap; /* テキストが折り返さないようにする */
}
/* ★追加: 全てのセルから罫線を削除したため、テーブル全体の罫線も削除 ★ */
.info-table {
  border: none;
}
.access__subsection .info-table th,
.access__subsection .info-table td {
  border: none;
  padding: 5px 0;
  font-size: 13px;
}
.access__subsection .info-table th {
  width: auto;
  padding-right: 15px;
}

.faq-list__item {
  border-bottom: 1px solid #ddd;
  padding: 1em 0;
}
.faq-list__category-title {
  font-size: 1.2rem;
  font-weight: bold;
  padding-left: 1em;
  border-left: 5px solid var(--color-primary);
  margin-top: 2.5em;
  margin-bottom: 1.5em;
}
.faq-list__question {
  cursor: pointer;
  font-weight: bold;
  list-style: none;
  position: relative;
  padding-left: 1.8em;
}
.faq-list__question::-webkit-details-marker {
  display: none;
}
.faq-list__question::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--color-primary);
  color: var(--color-white);
  width: 1.4em;
  height: 1.4em;
  border-radius: 50%;
  text-align: center;
  line-height: 1.4em;
  font-size: 0.9em;
}
.faq-list__answer {
  margin-top: 1em;
  padding: 1em 1.5em;
  background-color: #f9f9f9;
  border-radius: 5px;
  line-height: 1.8;
}
.faq-list__answer p {
  position: relative;
  padding-left: 2em;
}
.faq-list__answer p + p {
  margin-top: 1em;
}
.faq-list__answer p::before {
  content: "A";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
  font-weight: 900;
}

.contact-method {
  background-color: var(--color-light-bg);
  border-radius: var(--border-radius-base);
  padding: 2em;
  margin-bottom: 2em;
  box-shadow: var(--shadow-base);
  text-align: center;
}
.contact-method__title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1em;
  position: relative;
  padding-bottom: 0.5em;
  border-bottom: 2px solid #e0c3a2;
}
.contact-method__text,
.contact-method__note {
  margin-bottom: 1.5em;
  line-height: 1.8;
}
.contact-method__buttons {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  margin-top: var(--spacing-md);
  flex-wrap: wrap;
}
.contact-method__button-item {
  text-align: center;
}
.contact-method__caption {
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: var(--spacing-sm);
}
.contact-method__button-item a img {
  transition: all 0.2s ease;
}
.contact-method__button-item a:hover img {
  filter: brightness(1.15);
  transform: scale(1.05);
}
.contact-method__note {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9em;
}
.contact-method__tel {
  font-size: 1.2rem;
  font-weight: bold;
}
.contact-method__tel a {
  color: #337ab7;
  white-space: nowrap;
}
.contact-method__tel a:hover {
  text-decoration: underline;
}
.contact-method__tel p + p {
  margin-top: 10px;
}
.contact-method__reception-time {
  margin-top: var(--spacing-sm);
  color: #555;
}

.service-list {
  list-style: none;
  padding-left: 0;
  text-align: left;
  max-width: 800px;
  margin: 0 auto var(--spacing-lg);
}
.service-list__item {
  margin-bottom: 1em;
  position: relative;
  padding-left: 1.8em;
}
.service-list__item::before {
  content: "🐾";
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--color-primary);
  font-size: 1.1em;
}
.service-list__badge {
  background-color: var(--color-secondary);
  color: var(--color-white);
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 8px;
  font-weight: bold;
}

.price-highlight {
  text-align: center;
  margin: var(--spacing-lg) auto;
  padding: var(--spacing-md);
  border: 2px solid var(--color-primary);
  border-radius: var(--border-radius-base);
  max-width: 400px;
}
.price-highlight__main {
  font-family: var(--font-family-base);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--color-primary);
}
.price-highlight__unit {
  font-size: 1.2rem;
  font-weight: normal;
  color: var(--color-text);
}

.option-area__title {
  font-size: 1.5rem;
  font-weight: 900;
  margin-top: 40px;
  margin-bottom: var(--spacing-md);
  position: relative;
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
}
.option-area__title::after {
  content: "";
  display: block;
  width: 50%;
  margin: 5px auto 0;
  border-bottom: 2px solid var(--color-primary);
}

/* ★★★ option-card-gridのレイアウトを安定したGridに戻す ★★★ */
.option-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
  justify-items: center;
  align-items: stretch;
}
.option-card-grid::after,
.option-card-grid::before {
  display: none;
}
/* ★★★ 修正終わり ★★★ */

.option-card {
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-secondary);
  padding: var(--spacing-md);
  text-align: center;
  width: 100%;
  max-width: 280px;
  margin-inline: auto;
}
.option-card .btn {
  margin-top: auto;
}
.option-card__title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-text);
}
.option-card__title span {
  font-size: 0.9rem;
  font-weight: normal;
  color: var(--color-text-muted);
}
.option-card__note {
  font-size: 0.8em;
  font-weight: normal;
  color: var(--color-danger);
  margin-left: 0.5em;
}
.option-card__price {
  font-family: var(--font-family-base);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--color-secondary);
  margin: var(--spacing-sm) 0;
}
.option-card__price span {
  font-size: 1rem;
  color: var(--color-text);
  font-weight: normal;
}

/* ★★★ option-card__descriptionを左寄せにする ★★★ */
.option-card__description {
  text-align: left;
}
/* ★★★ 修正終わり ★★★ */

.service-hours {
  max-width: 800px;
  margin-inline: auto;
  padding: var(--spacing-lg);
  text-align: center;
  background-color: var(--color-light-bg);
  border: 1px solid #ddd;
  border-radius: var(--border-radius-base);
  box-shadow: var(--shadow-base);
}
.service-hours__info p {
  margin-bottom: 1em;
  line-height: 1.8;
}
.service-hours__info p:last-child {
  margin-bottom: 0;
}
.service-hours__info p strong {
  font-size: 1.1rem;
  color: var(--color-secondary);
}
.service-hours__note {
  font-size: 0.9em;
  color: var(--color-text-muted);
}

.feature-with-image {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}
.feature-with-image--reverse {
  flex-direction: row-reverse;
}
.feature-with-image__text {
  flex: 1;
}
.feature-with-image__image {
  flex: 1;
  max-width: 45%;
}
.feature-with-image__image img {
  width: 100%;
  border-radius: var(--border-radius-base);
}

.service-flow__steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 24px;
}
.service-flow__step {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  text-align: left;
}
.service-flow__image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}
.service-flow__title {
  margin: 0 0 8px 0;
  font-size: 1.2rem;
  font-weight: 900;
}

.taxi-plan {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 40px;
}
.taxi-plan__item {
  background-color: var(--color-light-bg);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-primary);
  border-radius: var(--border-radius-base);
  box-shadow: var(--shadow-base);
  overflow: hidden;
  transition: all var(--transition-base);
}
.taxi-plan__item--is-active {
  border-color: var(--color-primary);
}
.taxi-plan__header {
  padding: var(--spacing-md);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.taxi-plan__header:hover {
  background-color: #fffaf5;
}
.taxi-plan__header h3 {
  font-size: 1.3em;
  font-weight: 700;
  margin: 0;
}
.taxi-plan__header::after {
  content: "+";
  font-size: 1.8em;
  font-weight: 300;
  color: var(--color-primary);
  transition: transform var(--transition-base);
}
.taxi-plan__item--is-active .taxi-plan__header h3 {
  color: var(--color-primary);
}
.taxi-plan__item--is-active .taxi-plan__header::after {
  content: "−";
}
.taxi-plan__details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding-inline: var(--spacing-md);
}
.taxi-plan__item--is-active .taxi-plan__details {
  max-height: 1500px;
  padding-block: var(--spacing-md);
  border-top: 1px solid #f0f0f0;
}
.taxi-plan__catchcopy {
  font-weight: 700;
  color: var(--color-secondary);
  text-align: left;
  font-size: 1.1em;
}
.taxi-plan__explanation {
  text-align: left;
  margin-block: var(--spacing-sm);
  padding-left: var(--spacing-sm);
  border-left: 3px solid var(--color-border);
}

.price-table-container {
  /* テーブルの右端の白い余白をなくす（スマホ対応も考慮） */
  margin-right: -17px; /* 一般的なスクロールバーの幅（約17px）をマイナスする */
  padding-right: 17px; /* 元々あったかもしれない右の余白を補う */
  overflow-x: auto; /* テーブルがはみ出したらスクロールできるようにしておく */
}
.price-table-container__note {
  font-size: 0.9em;
  color: #555;
  text-align: left;
  margin-bottom: 5px;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
}
.price-table th,
.price-table td {
  border: 1px solid var(--color-border);
  padding: 10px;
  text-align: center;
}
.price-table th {
  background-color: #f9f9f9;
  font-weight: 700;
}
.sub-list {
  list-style-type: none;
  padding-left: 15px;
  margin-top: var(--spacing-sm);
}
.sub-list li {
  font-size: 0.9em;
  color: #555;
  margin-bottom: 5px;
  text-align: left;
}

.post-body {
  margin-top: 2em;
  line-height: 1.8;
}
.post-body p {
  margin-bottom: 1.5em;
}
.post-body img {
  max-width: 100%;
  height: auto;
  margin: 1.5em auto;
  display: block;
  border-radius: var(--border-radius-base);
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
}

.sidebar-widget {
  margin-bottom: var(--spacing-lg);
  background-color: var(--color-light-bg);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-base);
  box-shadow: var(--shadow-base);
}

.sidebar-widget__title {
  font-size: 1.2rem;
  margin-bottom: 1em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid var(--color-border);
}

.sidebar-widget__list li a {
  display: block;
  padding: 0.5em 0;
  border-bottom: 1px solid var(--color-border);
  transition: color var(--transition-base);
}
.sidebar-widget__list li:last-child a {
  border-bottom: none;
}
.sidebar-widget__list li a:hover {
  color: var(--color-primary);
}

/* --------------------------------
 * Responsive Styles
 * -------------------------------- */
@media screen and (min-width: 768px) {
  .main-visual__body {
    margin-top: -114px;
    margin-right: 0;
    width: 67.3%;
  }
  .main-visual--sub-page .main-visual__body {
    width: 100%;
    margin: 0;
  }
  .page-footer__meta {
    flex-direction: row;
    justify-content: center;
    gap: var(--spacing-md);
  }

  .global-nav__submenu {
    max-height: none;
    overflow: visible;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: auto;
    background-color: rgba(89, 62, 42, 0.85);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--transition-base), transform var(--transition-base),
      visibility var(--transition-base);
  }
  .global-nav__item--has-submenu > .global-nav__link::after {
    content: " ▾";
    display: inline-block;
    transition: transform var(--transition-base);
  }
  .global-nav__item--has-submenu:hover > .global-nav__link::after {
    transform: rotate(180deg);
  }
  .global-nav__item--has-submenu:hover > .global-nav__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .global-nav__submenu-link {
    padding: 12px 20px;
    text-align: left;
  }
  .global-nav__submenu-link:hover {
    color: var(--color-primary);
  }

  .page-footer__row {
    flex-direction: row;
    justify-content: center;
    gap: 40px;
  }
  .page-footer__pad-group {
    display: flex; /* PCでは肉球を表示 */
    gap: var(--spacing-sm);
  }
  .blog-layout {
    /* メインエリアとサイドバーの比率を調整し、間隔を広げます */
    grid-template-columns: 3.5fr 1fr;
    gap: var(--spacing-lg);
  }

  /* ▼▼▼ ブログカードのレイアウトを3列に変更 ▼▼▼ */

  /* (1) カードリスト全体を3列のグリッドに設定 */
  .blog-layout .card-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3列に変更 */
    gap: 30px; /* カード間の余白を広げます */
  }

  /* (2) 最初のカードだけ3列分の幅を取らせる */
  .blog-layout .card-list .blog-card:first-child {
    grid-column: span 3; /* 3列分の幅を取る */
    aspect-ratio: 20 / 9; /* さらに横長の比率に調整 */
  }

  /* (3) 最初のカードのタイトルを大きくする */
  .blog-layout .card-list .blog-card:first-child .blog-card__title {
    font-size: 1.8rem; /* 少し大きくします */
  }

  /* ★★★ PCサイズでの option-card-grid のレイアウトを Grid のまま維持 ★★★ */
  .option-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    justify-items: center;
  }
  /* ★★★ 修正終わり ★★★ */

  /* ------------------------------------------- */
  /* 【追加・修正】PCサイズ (768px以上) で table-wrapper のスクロールを抑制 */
  /* ------------------------------------------- */

  /* テーブル自体は枠線が残るように、個別にスタイルを調整（キャンセルポリシーの具体例用） */
  .faq-list .table-wrapper table,
  .section table,
  .price-table {
    border: 1px solid #ddd;
    border-collapse: collapse;
    margin-bottom: 10px;
    min-width: initial;
  }
}

@media screen and (min-width: 1080px) {
  .main-visual__body {
    width: 62.5%;
    padding: 80px;
    padding-left: calc((100vw - 1080px) / 2 + 15px);
  }
  .main-visual--sub-page .main-visual__body {
    width: 100%;
    padding: var(--spacing-md);
  }
}

@media screen and (max-width: 767px) {
  .section__title {
    font-size: clamp(1.5rem, 4vw + 0.5rem, 1.8rem);
  }
  .section__title--small {
    font-size: 1.5rem;
  }

  /* ★★★ SPナビゲーションの復元（Display Flex/None）★★★ */
  .global-nav {
    display: none;
    position: fixed;
    inset: 0;
    height: 100vh;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* SP展開時の背景色をここで復元 */
    background-color: rgba(89, 62, 42, 0.95);
  }
  .global-nav.is-open {
    display: flex;
  }
  .global-nav__list {
    flex-direction: column;
  }

  .hamburger {
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    padding: 12px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 200;
  }

  .global-nav__item--has-submenu > .global-nav__link {
    cursor: pointer;
  }
  .global-nav__item--has-submenu.is-open > .global-nav__submenu {
    max-height: 300px;
    transition: max-height 0.4s ease-in;
  }
  .global-nav__submenu {
    background-color: transparent;
    width: 100%;
  }
  .global-nav__submenu-link {
    padding: 12px 15px 12px 40px;
  }

  .main-visual--sub-page .main-visual__image {
    height: 300px;
  }
  .main-visual--sub-page .main-visual__title {
    font-size: 1.8rem;
  }

  .profile__item {
    flex-direction: column;
    text-align: left;
  }
  .feature-with-image,
  .feature-with-image--reverse {
    flex-direction: column;
    text-align: left;
  }
  .service-flow__step {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }
  .section__text--centered {
    text-align: left;
  }

  /* ★★★ スマホでの .option-card-grid を Flexbox の縦並びに修正 ★★★ */
  .card-list,
  .option-card-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .profile__image img {
    width: 150px;
    height: 150px;
  }

  .feature-with-image__image {
    max-width: 80%;
    margin-top: var(--spacing-md);
  }

  .service-flow__image {
    width: 80px;
    height: 80px;
  }

  .contact-method__buttons {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
  }

  .page-footer__row {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  .page-footer__pad-image {
    height: 30px;
  }
  .page-footer__copyright {
    white-space: normal;
  }

  .contact-method__tel,
  .contact-method__reception-time {
    text-align: center;
  }

  .btn {
    padding: 10px 24px;
    font-size: 0.9rem;
  }
  .long-text-btn {
    padding: 10px 18px;
    font-size: 0.85rem;
  }

  .page-footer__pad-group {
    display: none;
  }
}
/* --------------------------------
 * Back to Top Button (省略)
 * -------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 100;
  width: 50px;
  height: 50px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.back-to-top:hover {
  background-color: #e68037;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  color: var(--color-white);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* --------------------------------
 * Testimonial Bubbles & Popup (省略)
 * -------------------------------- */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.review-bubble {
  position: relative;
  background-color: #fce8c8;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-bubble:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.review-bubble__number {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 25px;
  height: 25px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 14px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}

.review-bubble__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text);
  margin-top: 10px;
}

.popup-wrapper {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 1000;
}

.popup-wrapper.is-active {
  visibility: visible;
  opacity: 1;
}

.popup-content {
  background-color: var(--color-light-bg);
  padding: 40px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.popup-wrapper.is-active .popup-content {
  transform: scale(1);
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  background: none;
  border: none;
  cursor: pointer;
}

.popup-review-text {
  white-space: pre-wrap;
  line-height: 1.6;
}

.popup-review-text__rating {
  font-size: 1.2rem;
  color: #ffc107;
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 10px;
}

.popup-review-text__author {
  display: block;
  text-align: right;
  font-weight: bold;
  color: var(--color-secondary);
  margin-top: 20px;
}

.reviews-divider {
  border: none;
  height: 1px;
  background-color: #ddd;
  margin: 50px auto 30px;
  max-width: 800px;
}

.reviews-cityscape img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 767px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* =================================
日記カードリスト (TOPページ風デザイン)
================================= */
/* カードを並べるグリッドの親要素 */
.card-list {
  display: grid;
  /* PCでは自動で列数を調整し、スマホでは1列になる */
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px; /* カード間の余白 */
  padding: 0;
  list-style: none;
}

/* 個々のブログカードのコンテナ */
.blog-card {
  position: relative; /* 文字を重ねるための基準位置 */
  border-radius: 12px;
  overflow: hidden; /* 角丸からはみ出した画像を隠す */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 3 / 4; /* カードの縦横比を固定 */
}

/* カードにマウスが乗った時のアニメーション */
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* カード全体をリンクにする設定 */
.blog-card__link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

/* 画像を囲むコンテナ */
.blog-card__image-wrapper {
  margin: 0;
  width: 100%;
  height: 100%;
}

/* 画像のスタイル */
.blog-card__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 画像をコンテナいっぱいに表示 */
  transition: transform 0.4s ease;
}

/* マウスが乗ったら画像を少しズーム */
.blog-card:hover .blog-card__image-wrapper img {
  transform: scale(1.05);
}

/* 画像の上に重ねるテキストのコンテナ */
.blog-card__overlay {
  position: absolute; /* 親要素(.blog-card)を基準に配置 */
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 20px 20px; /* 下に多めの余白、上はグラデーションで見せる */
  color: #fff;
  /* 文字を読みやすくするための黒いグラデーション */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  transition: background 0.3s ease;
}

/* 日付のスタイル */
.blog-card__date {
  font-size: 0.8rem;
  margin-bottom: 8px;
  display: block;
  opacity: 0.9;
}

/* タイトルのスタイル */
.blog-card__title {
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.4;
  margin: 0;
}

/* =================================
FAQ選択カードの調整
================================= */
a.card--faq-select {
  display: flex;
  flex-direction: column; /* 中の要素を縦に並べる */
  text-align: center;
}

.card--faq-select .card__description {
  flex-grow: 1; /* 説明文エリアを伸ばしてボタンを一番下に配置する */
}

/* ボタン（spanタグ）を一番下に固定するためのスタイル */
.card--faq-select .btn {
  margin-top: auto; /* 自動で上に余白を作って一番下に配置 */
  align-self: center; /* 中央揃えにする */
}

/* --- フッターのスタイル調整（コンパクト版） --- */

.page-footer {
  background: rgba(89, 62, 42, 0.7);
  color: var(--color-white);
  padding: 15px var(--spacing-md);
  text-align: center;
  position: relative;
  overflow: hidden;
  /* ★修正点1: 上の大きな余白を削除（Aboutページのようにコンテンツに近づける）★ */
  margin-top: 0;

  /* ★修正点2: 代わりに padding-top を設定し、コンテンツとフッターの間隔を調整 ★ */
  /* ここは、もしコンテンツとフッターの間に少しスペースが欲しい場合に追加します。
     今回は var(--spacing-lg) (30px) を使ってみます。不要なら削除してください。*/
  padding-top: var(--spacing-lg);
}

.page-footer__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-footer__meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* 上下の余白をなくし、よりコンパクトにします */
  padding: 0;
}

.page-footer__links {
  margin-bottom: 10px; /* リンクとコピーライトの間の余白を少し詰める */
  font-size: 13px; /* 少しだけ文字を小さくする */
}

.page-footer__links a {
  color: inherit;
  text-decoration: none;
  margin: 0 8px;
}

.page-footer__links a:hover {
  text-decoration: underline;
}

.page-footer__copyright {
  font-size: 11px; /* 少しだけ文字を小さくする */
  color: #eee;
  margin: 0;
}

/* price-style.css */

/* 料金ページのメインビジュアル */
.main-visual--sub-page {
  /* price_pc.jpgの画像に合わせた背景色調整 */
  background-color: #f7f3f0;
}

/* 料金ページの見出しとサブタイトル */
.price-page-title {
  font-size: 2.5em;
  font-weight: 900;
  color: var(--color-text);
  margin-bottom: var(--spacing-sm);
  line-height: 1.2;
}

.price-page-subtitle {
  font-size: 1.1em;
  color: var(--color-text-muted);
  max-width: 600px;
  margin-inline: auto;
  line-height: 1.6;
  text-align: center;
}

/* サービスセクションの共通スタイル */
.price-section {
  background-color: var(--color-light-bg);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-base);
  box-shadow: var(--shadow-base);
  margin-bottom: var(--spacing-lg);
}

.price-section-title {
  text-align: center;
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--color-primary);
  position: relative;
  padding-bottom: 10px;
}

.price-section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: var(--color-primary);
}

/* 料金テーブル */
.price-table-container::-webkit-scrollbar {
  display: none; /* スクロールバー自体を非表示にする */
  width: 0; /* スクロールバーの幅をゼロにする */
  height: 0; /* 横スクロールバーの高さをゼロにする */
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--spacing-md);
  font-size: 1em;
}

.price-table th,
.price-table td {
  padding: 12px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

.price-table th {
  background-color: #fcfcfc;
  font-weight: bold;
  white-space: nowrap;
  width: 30%;
}

.price-table td {
  background-color: var(--color-white);
  line-height: 1.5;
}

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

/* 注釈テキスト */
.note {
  font-size: 0.9em;
  color: var(--color-text-muted);
  margin-top: 10px;
  line-height: 1.6;
}

/* 新しいカードレイアウト */
.service-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

/* 1列レイアウトの親要素 */
.service-plan-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

/* 共通カードスタイル */
.service-plan-card {
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-secondary);
  padding: var(--spacing-md);
  text-align: left;
  width: 100%;
  border-radius: var(--border-radius-base);
  background-color: var(--color-white);
  box-shadow: var(--shadow-base);
  transition: transform var(--transition-base),
    box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-plan-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.service-plan-card__main {
  margin-bottom: var(--spacing-sm);
}

.service-plan-card__title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: var(--spacing-sm);
  padding-bottom: 5px;
  border-bottom: 1px solid var(--color-border);
}

.service-plan-card__title span {
  font-size: 0.9em;
  font-weight: normal;
  color: var(--color-text-muted);
  display: block;
}

.service-plan-card__price {
  font-family: var(--font-family-base);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--color-secondary);
  margin-top: var(--spacing-sm) 0;
  margin-bottom: 0;
}

.service-plan-card__price span {
  font-size: 1rem;
  color: var(--color-text);
  font-weight: normal;
}

.service-plan-card__description {
  font-size: 0.9em;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-top: var(--spacing-sm);
}

.service-plan-card__notes {
  margin-top: auto;
  padding-top: var(--spacing-sm);
  border-top: 1px solid var(--color-border);
}

.service-plan-card__notes li {
  font-size: 0.85em;
  color: var(--color-text-muted);
  line-height: 1.5;
  position: relative;
  padding-left: 1.2em;
}

.service-plan-card__notes li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
}

/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
  .price-page-title {
    font-size: 2em;
  }
  .price-page-subtitle {
    font-size: 1em;
  }
  .price-section {
    padding: var(--spacing-md);
  }
  .service-plan-grid {
    grid-template-columns: 1fr;
  }
}

/* ★★★ LINEボタンのモバイルレイアウト修正 ★★★ */
.contact-method__buttons {
  /* 子要素を縦に並べ、横幅をいっぱいに広げる */
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-lg); /* 縦方向の余白を確保 */
}

.contact-method__button-item {
  /* ボタンのコンテナを親の幅いっぱいに広げる */
  width: 100%;
  max-width: 300px; /* 必要であれば最大幅を設ける */
}

.contact-method__button-item img {
  /* ボタン画像を親要素いっぱいに広げる */
  width: 100%;
  height: auto;
}

/* =================================
   ブログ用フォトレイアウト（中央・最終版）
================================= */

/* 以前追加した body や .photo-stack の指定はすべて削除し、
   以下の .photo-stack img の指定のみにします。*/

.photo-stack img {
  display: block;
  /* 写真の横幅を、文章エリアの幅を上限とする */
  max-width: 100%;

  height: auto; /* 高さは自動調整して比率を保つ */

  /* 中央揃えと、写真下の余白 */
  margin: 0 auto 24px auto;

  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
/* =================================
   記事の先頭に自動表示されるアイキャッチ画像を非表示にする
================================= */
.post-body .wp-block-image:first-of-type {
  display: none;
}
/* =================================
   ブログ一覧ページ専用のレイアウト調整
================================= */
.blog .container {
  max-width: 1280px;
}
/* ▼▼▼ ここから追加したコード ▼▼▼ */
/* =================================
   記事ページのナビゲーション
================================= */
.post-navigation {
  margin-block: var(--spacing-lg) 0;
  font-weight: bold;
}
.post-navigation a {
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}
.post-navigation a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

/* =================================
   関連記事セクション
================================= */
.related-posts-section {
  padding-top: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  border-top: 1px solid var(--color-border);
}

/* 関連記事を2列にするためのグリッド設定 */
.related-posts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 横に2列 */
  gap: 30px;
}

/* カードのデザインは既存の .blog-card を再利用します */

/* スマホでの表示調整 */
@media (max-width: 767px) {
  .related-posts-grid {
    grid-template-columns: 1fr; /* 縦に1列 */
  }
}
/* =================================
   ポリシーページ用のヘルパークラス
================================= */
.text-center {
  text-align: center;
}
.text-small {
  font-size: 0.9em;
}
.text-muted {
  color: var(--color-text-muted);
}
.text-free {
  color: var(--color-primary);
  font-weight: bold;
}
.text-link {
  text-decoration: underline;
  color: var(--color-text);
}
.text-link:hover {
  color: var(--color-primary);
}

.mt-60 {
  margin-top: 60px;
}

.card--accent {
  background-color: #fffaf5;
}

.policy-philosophy {
  font-size: 0.9em;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  line-height: 1.9;
}
.policy-philosophy a {
  text-decoration: underline;
  color: var(--color-primary);
}

.table-wrapper {
  overflow-x: auto;
}

.change-policy-list {
  list-style-type: none;
  margin-left: 0;
  margin-top: 10px;
  font-size: 0.9em;
  line-height: 1.8;
}
.change-policy-list > li + li {
  margin-top: 15px;
}
.change-policy-list > li {
  position: relative;
  padding-left: 25px;
}
.change-policy-list > li::before {
  position: absolute;
  left: 0;
  font-size: 1.2em;
}
.change-policy-list__item--free::before {
  content: "✔";
  color: #4caf50;
}
.change-policy-list__item--charged::before {
  content: "⚠";
  color: #ff9800;
}
.change-policy-list__item--info::before {
  content: "i";
  color: #777;
  font-family: serif;
  font-weight: bold;
}
.change-policy-list__detail {
  display: block;
  font-size: 0.95em;
  color: #555;
}
.change-policy-list__fee--free {
  color: #4caf50;
  font-weight: bold;
}
.change-policy-list__fee--charged {
  color: #ff9800;
  font-weight: bold;
}

.indented-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-top: 10px;
  font-size: 0.9em;
}
/* =================================
   テーブルの注釈スタイル
================================= */
.table-note {
  font-size: 0.85em;
  color: var(--color-text-muted);
  text-align: right;
  margin-top: 8px;
}
/* =================================
   LINE ポップアップスタイル
================================= */

/* 初期状態：画面を覆い、見えない状態に設定 */
#line-popup-overlay {
  /* HTMLのインラインスタイルを上書きして、初期状態は完全に見えないようにする */
  display: flex !important; /* display: none; ではなく flex を使う */
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* 表示させるためのクラス */
#line-popup-overlay.is-active {
  visibility: visible;
  opacity: 1;
}

/* ポップアップの内容（背景） */
#line-popup-overlay > div {
  /* インラインスタイルで設定されているため、ここでは微調整のみ */
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

#line-popup-overlay.is-active > div {
  transform: scale(1);
}
/* =================================
   LINE ホバープロンプトスタイル
================================= */
.line-hover-prompt {
  /* 親要素を相対配置の基準にし、バナーがリストアイテムの下に配置されるようにする */
  position: relative;
  /* カーソルが乗ったとき分かりやすいようにポインターに変更 */
  cursor: pointer;
}

/* ホバーで表示するバナーの基本スタイル */
.line-hover-banner {
  display: block; /* 常にブロック要素 */
  position: absolute;
  bottom: -40px; /* リストアイテムの下に配置 */
  left: 50%;
  transform: translateX(-50%);

  /* 見た目のスタイル */
  padding: 8px 15px;
  background-color: #4caf50; /* LINEカラー */
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: bold;
  border-radius: 5px;
  white-space: nowrap;

  /* 初期状態は非表示 */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, bottom 0.3s ease;
  z-index: 10;
}

/* ホバーした時にバナーを表示 */
.line-hover-prompt:hover .line-hover-banner {
  opacity: 1;
  visibility: visible;
  bottom: -35px; /* 少し上に浮き上がるアニメーション */
}
/* -------------------------------------------
 * 表の横スクロール対応
 * ------------------------------------------- */
.table-wrapper {
  overflow-x: auto;
  /* iOSでのスクロールをスムーズにするために残す */
  -webkit-overflow-scrolling: touch;
  position: relative;
  margin: 2em 0;

  /* スクロールバー非表示CSSが残っていたら削除し、代わりに以下を追加 */
  -ms-overflow-style: auto !important; /* IE/Edgeのスクロールを有効に */
  scrollbar-width: auto !important; /* Firefoxのスクロールを有効に */
}

/* テーブル自体へのスタイル調整 */
.table-wrapper table {
  width: 100%;
  min-width: 600px; /* これより幅が狭くなったらスクロールが発生 */
  border-collapse: collapse;
  margin-bottom: 0;
}

.table-wrapper th,
.table-wrapper td {
  border: 1px solid #ddd;
  padding: 12px 15px;
  text-align: left;
  white-space: nowrap; /* テキストの改行を防ぐ */
}

.table-wrapper th {
  background-color: #f8f8f8;
  font-weight: bold;
}

/* =================================
   キャンセルポリシーページ固有のスタイル（インラインから分離）
================================= */

.section__title {
  border-bottom: 2px solid var(--color-accent);
  color: #333; /* タイトルの文字色は黒のまま */
}

/* テーブルのテキストカラーを新しい変数で制御 */
.text-danger {
  color: var(--color-danger);
}
.text-free {
  color: var(--color-success); /* color: #27ae60 に相当 */
}
.text-warning {
  color: var(--color-warning);
}

/* 2. 具体例のテーブルヘッダーのテキストを黒に変更 */
.faq-list table thead tr {
  background-color: var(--color-accent) !important;
  color: black !important;
}

/* アクセスマップのiframeをレスポンシブ対応にする */
.access__map iframe {
  width: 100%;
  height: 450px;
  border: 0;
}

/*
 * アクセス・店舗情報セクションのテーブル枠線を完全に非表示にする
 */
.access__info .info-table th,
.access__info .info-table td {
  border: none !important;
}
/* 「大切にしていること」セクションの背景にロゴを追加 */
.philosophy-section {
  position: relative; /* 背景ロゴを配置するための基準点にする */
  z-index: 1;
}

.philosophy-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  /* --- ここから背景ロゴの設定 --- */
  background-image: url("../img/logo.png"); /* ← あなたのファイル名に修正しました */
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain; /* ロゴの表示サイズ（お好みで調整） */
  opacity: 0.2; /* ロゴの透明度（0.01〜1.0でお好みで調整） */
  z-index: -1; /* ロゴをテキストの背面に配置する */
}
/* お問い合わせページの営業お断りメッセージ */
.contact-method__no-soliciting {
  margin-top: 2em; /* 上の要素との間に余白を設ける */
  font-size: 0.85em; /* 少し文字を小さくする */
  color: var(--color-text-muted); /* 少し薄い文字色にする */
  max-width: 450px; /* 横幅を制限して読みやすくする */
  margin-inline: auto; /* 中央に配置 */
  line-height: 1.6;
  border: 1px solid var(--color-border); /* 薄い枠線で囲む */
  padding: 1em; /* 内側の余白 */
  border-radius: var(--border-radius-base); /* 角を丸くする */
}
/* --- 9周年記念ポップアップ --- */
.anniversary-popup__overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(40, 30, 20, 0.85); /* 背景を少し暗くする */
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;

  /* 初期状態は非表示 */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.anniversary-popup__overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.anniversary-popup__content {
  background-color: var(--color-light-bg);
  padding: 30px;
  border-radius: var(--border-radius-base);
  max-width: 600px;
  width: 100%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-top: 5px solid var(--color-primary);

  /* アニメーション */
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.anniversary-popup__overlay.is-visible .anniversary-popup__content {
  transform: translateY(0);
}

.anniversary-popup__content h2 {
  font-size: 1.8rem;
  margin-bottom: 0.8em;
  color: var(--color-secondary);
}

.anniversary-popup__content p {
  line-height: 1.8;
  margin-bottom: 1.5em;
  text-align: left;
}

.anniversary-popup__content .coupon-code {
  display: inline-block;
  background-color: #fffaf0;
  border: 2px dashed var(--color-primary);
  padding: 8px 15px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--color-primary);
  letter-spacing: 2px;
}

.anniversary-popup__close {
  /* 既存の .btn スタイルを流用 */
  display: inline-block;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: 2px solid var(--color-primary); /* ここがオレンジ（var(--color-primary)）*/
  border-radius: 30px;
  background-color: var(
    --color-primary
  ); /* ここがオレンジ（var(--color-primary)）*/
  color: var(--color-white);
  transition: all 0.3s ease;
}
.anniversary-popup__close:hover {
  opacity: 0.8; /* ホバーで少し透明化 */
}
/* table-wrapperの右側の不要な余白を消す */
.table-wrapper {
  overflow-x: auto; /* はみ出たらスクロールを許可 */
  -ms-overflow-style: none; /* IE, Edge */
  scrollbar-width: none; /* Firefox */
}

/* Chrome, Safari, Opera */
.table-wrapper::-webkit-scrollbar {
  display: none;
}
/* テーブルの右側の不要な余白を消す最終修正 */
.table-wrapper {
  display: inline-block; /* 幅を中身のコンテンツに合わせる */
  max-width: 100%; /* ただし、画面の幅を最大とする */
  overflow-x: auto; /* はみ出た場合はスクロールを許可 */
  -ms-overflow-style: none; /* IE, Edge のスクロールバーを非表示 */
  scrollbar-width: none; /* Firefox のスクロールバーを非表示 */
}

/* Chrome, Safari のスクロールバーを非表示 */
.table-wrapper::-webkit-scrollbar {
  display: none;
}
/* お知らせページのバナータイトルの文字サイズ調整 */
.sidebar-widget.banner-widget .sidebar-widget__title {
  font-size: 1rem; /* 現在の基準サイズ（例: 1.2rem）よりも小さくする */
  font-weight: 700; /* 太字は維持 */
  margin-bottom: 5px; /* 下の余白を少し詰める */
  padding-bottom: 0; /* 下線との間の余白を削除 */
  border-bottom: none; /* 下線を削除して、コンテンツのように見せる */
}
.banner-widget__caption {
  font-size: 0.75rem; /* 文字を小さく */
  color: #999; /* 目立たないグレーに */
  margin-top: 5px; /* 上に少し余白 */
}
/* --------------------------------
 * サイドバーの最新記事リストスタイル
 * -------------------------------- */
.sidebar-post-link {
  display: flex;
  align-items: center;
  gap: 10px; /* 画像とタイトルの間のスペース */
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  transition: background-color 0.2s;
}

.sidebar-post-link:hover {
  color: var(--color-primary);
}

.sidebar-post-thumb {
  width: 60px; /* サムネイルの幅を固定 */
  height: 60px;
  object-fit: cover; /* 画像をボックスに収める */
  border-radius: 4px;
}

.sidebar-post-title {
  font-size: 0.9em;
  line-height: 1.4;
  color: var(--color-text);
}

/* --------------------------------
 * ScrollHint の視認性調整
 * -------------------------------- */
/* table-wrapperにヒントが表示されるためのスペースを確保（左右のパディングを維持） */
.table-wrapper {
  /* スクロールバー非表示CSSが残っていたら、それを削除する */
  -ms-overflow-style: auto !important; /* IE/Edgeのスクロールを有効に */
  scrollbar-width: auto !important; /* Firefoxのスクロールを有効に */
}

/* --------------------------------
 * 最終フッター余白のリセット
 * -------------------------------- */
/* フッターの直前に位置する要素の下マージンを強制的に削除 */
main .section:last-of-type, /* main直下の最後のセクション */
main > .contact-btn-area:last-of-type, /* main直下の最後のボタンエリア */
main .section:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* 最終的な table-wrapper のスクロールバーの無効化をすべて削除 */
.table-wrapper {
  overflow-x: auto !important; /* スクロール機能を強制的に有効化 */
  -webkit-overflow-scrolling: touch;
  position: relative;
  margin: 2em 0;

  /* ❌ スクロールバー非表示CSSをすべて削除 */
  -ms-overflow-style: auto !important;
  scrollbar-width: auto !important;
}
/* ❌ Chrome/Safari用のスクロールバー非表示CSSをすべて削除 */
.table-wrapper::-webkit-scrollbar {
  display: initial !important;
}
/* =================================
   9周年記念ポップアップ レスポンシブ修正 & バグ対策
================================= */

/* 1. オーバーレイの修正: 画面全体を覆い、内容が長い場合は自身がスクロールする */
.anniversary-popup__overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(40, 30, 20, 0.85);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;

  /* ★修正点: 画面の高さいっぱいを取り、自身でスクロールを管理する */
  height: 100vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* 2. ポップアップコンテンツの修正: サイズ制限を追加 */
.anniversary-popup__content {
  background-color: var(--color-light-bg);
  padding: 30px;
  border-radius: var(--border-radius-base);

  /* ★修正点: 横幅を制限し、モバイルで画面の90%を占めるようにする */
  max-width: 600px;
  width: 90%;

  /* ★修正点: コンテンツの最大高さを画面の90%に設定し、画面内に収める */
  max-height: 90vh;
  /* オーバーレイ全体でスクロールさせるため、ここでは overflow-y: auto は不要 */

  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-top: 5px solid var(--color-primary);
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

/* モバイルでの調整 */
@media (max-width: 767px) {
  .anniversary-popup__content {
    padding: 20px 15px; /* スマホではパディングを少し小さくする */
  }
}

/* 3. バグ対策: body スクロール禁止用クラスの追加 */
/* ポップアップ表示時にJavaScriptで<body>タグにこのクラスを適用してください */
body.is-popup-open {
  overflow: hidden !important; /* スクロールを完全に無効化 */
  position: fixed; /* iOSで背景が動くのを防ぐ */
  width: 100%; /* position: fixed適用時の横幅のズレを防ぐ */
}

/* 既存のanniversary-popup__closeのスタイルを維持しつつ、ホバーを微修正 */
.anniversary-popup__close:hover {
  background-color: #e68037; /* ホバーで色を少し濃くする */
  opacity: 1; /* 不透明度を1に戻す */
}
