/* ===================================
   Front Page - ページ固有スタイル
   共通スタイルは style.css を参照:
   - ベーススタイル (*, html, body)
   - .header, .nav, .logo, .mobile-menu-toggle
   - .icon-circle, .card-hover
   - .cta, .cta-btn
   - .footer, .back-to-top
   =================================== */

/* カードホバー効果（front-page固有） */
.card-hover {
  transition: var(--transition-base);
}

.card-hover:hover {
  transform: var(--hover-lift);
  box-shadow: var(--shadow-soft);
}

/* scroll-padding-top: front-page固有（PCヘッダー高さ対応） */
html {
  scroll-padding-top: 80px;
}

/* Hero - and recipe風（写真主役・非対称） */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 250px 1fr 240px;
  /* Increased right column width */
  background: var(--color-bg);
  position: relative;
  padding: 50px 0;
}


.hero-left {
  padding: 80px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}

.hero-vertical-text {
  display: flex;
  gap: var(--space-2);
}

.hero-catch-copy span {
  writing-mode: vertical-rl;
  font-family: var(--font-handwriting);
  font-size: 28px;
  color: var(--color-primary);
  letter-spacing: 0.2em;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(-30px);
  animation: fadeInFromTop 0.8s ease forwards;
}

/* 心と身体を、が先 (Now on Right / Child 1) */
.hero-catch-copy span:nth-child(1) {
  animation-delay: 0.6s;
}

/* やさしくほどく。が後 (Now on Left / Child 2) */
.hero-catch-copy span:nth-child(2) {
  animation-delay: 0.9s;
}

/* New H1 Styles */
.hero-title-main {
  writing-mode: vertical-rl;
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--color-text);
  letter-spacing: 0.2em;
  margin: 0;
  /* Align to container start */
  line-height: 1.8;
  opacity: 0;
  transform: translateY(-30px);
  animation: fadeInFromTop 0.8s ease forwards;
  animation-delay: 0.1s;
}

.hero-title-main .d-block {
  display: inline-block;
  margin-left: 8px;
}

.hero-catch-copy {
  display: flex;
  gap: var(--space-2);
}

@keyframes fadeInFromTop {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-menu-list {
  margin-top: 40px;
  font-size: 11px;
  color: var(--color-text-light);
  letter-spacing: 1px;
  line-height: 2.5;
}

.hero-menu-list div {
  opacity: 0;
  transform: translateX(-10px);
  animation: fadeInRight 0.6s ease forwards;
}

.hero-menu-list div:nth-child(1) {
  animation-delay: 1.0s;
}

.hero-menu-list div:nth-child(2) {
  animation-delay: 1.1s;
}

.hero-menu-list div:nth-child(3) {
  animation-delay: 1.2s;
}

.hero-menu-list div:nth-child(4) {
  animation-delay: 1.3s;
}

.hero-menu-list div:nth-child(5) {
  animation-delay: 1.4s;
}

.hero-menu-list div:nth-child(6) {
  animation-delay: 1.5s;
}

@keyframes fadeInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-menu-list span {
  color: var(--color-accent);
  margin-right: 12px;
}

.hero-image {
  position: relative;
  padding: 90px 30px;
  display: flex;
  align-items: center;
}

.hero-image-main {
  width: 100%;
  height: 100%;
  min-height: 55vh;
  /* 背景画像はfunctions.phpの動的CSSで設定 */
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fadeInImage 1s ease forwards;
  animation-delay: 1.2s;
  position: relative;
  /* Added for overlay */
}

.hero-image-main::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-bg-warm);
  opacity: 0.15;
  pointer-events: none;
}

.hero-image-number {
  position: absolute;
  bottom: 80px;
  right: 50px;
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--color-text-light);
  letter-spacing: 2px;
}

.hero-right {
  padding: 80px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.hero-right-top {
  /* H1 handles styles now */
  width: 100%;
}

.hero-right-bottom {
  text-align: left;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
  animation-delay: 1.2s;
}

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

@keyframes fadeInImage {
  to {
    opacity: 1;
  }
}

.hero-time {
  font-family: var(--font-serif);
  font-size: 48px;
  color: var(--color-primary);
  letter-spacing: 2px;
  line-height: 1;
}

.hero-time-label {
  font-size: 11px;
  color: var(--color-text-light);
  letter-spacing: 3px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--color-border);
}

.hero-time-sub {
  font-size: 18px;
  color: var(--color-text-light);
  letter-spacing: 2px;
}

.hero-label {
  font-family: var(--font-handwriting);
  font-size: 14px;
  color: var(--color-text-light);
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-handwriting);
  font-size: 42px;
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1.6;
  margin-bottom: 24px;
  letter-spacing: 0.1em;
}

.hero-subtitle {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 2.2;
  margin-bottom: 40px;
}

/* Integrated Mobile Title (Default Hidden) */
.hero-title-mobile {
  display: none;
}

.hero-scroll {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--color-text-light);
  font-size: 11px;
  letter-spacing: 2px;
  animation: bounce 2s infinite;
  z-index: 10;
  font-family: var(--font-sans);
  /* Ensure simple font */
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--color-text-light), transparent);
}



/* Troubles - お悩みセクション */
.troubles {
  background: var(--color-bg-warm);
}

.troubles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  max-width: 800px;
  margin: 0 auto;
}

.trouble-card {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-3);
  text-align: center;
  transition: var(--transition-base);
  cursor: pointer;
}

.trouble-card:hover {
  transform: var(--hover-lift);
  box-shadow: var(--shadow-soft);
}

.trouble-icon {
  width: 72px;
  height: 72px;
  background: var(--color-bg-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--color-text-light);
  transition: var(--transition-base);
}

.trouble-card:hover .trouble-icon {
  background: var(--color-sakura-light);
  color: var(--color-sakura);
}

.trouble-title {
  font-family: var(--font-handwriting);
  font-size: 17px;
  color: var(--color-text);
  margin-bottom: 6px;
}

.trouble-sub {
  font-size: 12px;
  color: var(--color-text-light);
}

/* Section - 白ベース維持 */
.section {
  padding: var(--space-8) var(--space-7);
  background: var(--color-bg);
}

.section-alt {
  background: var(--color-bg-warm);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-7);
}

.section-label {
  font-size: 12px;
  color: var(--color-text-light);
  letter-spacing: 4px;
  margin-bottom: var(--space-2);
}

.section-title {
  font-family: var(--font-handwriting);
  font-size: 32px;
  color: var(--color-primary);
  letter-spacing: 0.1em;
}

/* About - 白背景 */
.about {
  text-align: center;
}

.about-text {
  font-family: var(--font-handwriting);
  font-size: 18px;
  line-height: 2.4;
  color: var(--color-text);
  max-width: 600px;
  margin: 0 auto 40px;
}

.about-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-1);
  font-size: 13px;
  color: var(--color-text-light);
  letter-spacing: 2px;
  text-decoration: none;
  transition: color 0.3s;
}

.about-link:hover {
  color: var(--color-accent);
}

.about-link-text {
  margin-left: 8px;
}

.about-link-line-wrap {
  display: flex;
  align-items: center;
  gap: 0;
}

.about-link-line {
  width: 120px;
  height: 1px;
  background: var(--color-text-light);
  transition: all 0.3s;
}

.about-link:hover .about-link-line {
  background: var(--color-accent);
  width: 150px;
}

.about-link-arrow {
  font-size: 10px;
  transition: transform 0.3s;
}

.about-link:hover .about-link-arrow {
  transform: translateX(4px);
}

/* Menu Grid - 軽やかに */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.menu-card {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-soft);
  overflow: hidden;
  background: var(--color-bg-soft);
}

.menu-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(90, 85, 80, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 30px;
}

.menu-card-label {
  font-size: 11px;
  letter-spacing: 3px;
  opacity: 0.8;
  margin-bottom: 8px;
}

.menu-card-title {
  font-family: var(--font-serif);
  font-size: 28px;
  letter-spacing: 4px;
  margin-bottom: 12px;
}

.menu-card-sub {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 20px;
}

.menu-card-link {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.menu-card:hover .menu-card-link {
  background: rgba(255, 255, 255, 0.2);
}

/* Menu Cards - 新デザイン */
.menu-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto 50px;
}

.menu-card-new {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  /* Ensure no underline on the card wrapper */
}

.menu-card-new:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}

.menu-card-image {
  height: 180px;
  background: var(--color-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 13px;
  flex-shrink: 0;
  overflow: hidden;
  /* .image-overlay クラスを HTML で追加して使用 */
}

.menu-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.menu-card-name {
  font-family: var(--font-handwriting);
  font-size: 18px;
  color: var(--color-text);
  margin-bottom: 12px;
}

.menu-card-desc {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: auto;
  padding-bottom: 16px;
  /* Ensure spacing before price even if text is long */
}

.menu-card-price {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.menu-card-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--color-bg-soft);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 13px;
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.3s;
}

.menu-card-btn:hover {
  background: var(--color-accent-pale);
  color: var(--color-accent);
}

.menu-all-link {
  text-align: center;
}

/* Flow - 当日の流れ */
.flow-section {
  background: var(--color-bg);
}

.flow-steps {
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.flow-steps::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 15%;
  right: 15%;
  height: 1px;
  background: var(--color-border);
  z-index: 0;
}

.flow-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.flow-step-number {
  font-family: var(--font-handwriting);
  font-size: 12px;
  color: var(--color-accent);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.flow-step-content {
  background: var(--color-bg);
  padding: 10px;
}

.flow-step-icon {
  width: 60px;
  height: 60px;
  background: var(--color-bg-warm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--color-accent);
}

.flow-step-title {
  font-family: var(--font-handwriting);
  font-size: 16px;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.flow-step-text {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.btn-outline {
  display: inline-block;
  padding: 16px 48px;
  border: 1px solid var(--color-text);
  border-radius: 40px;
  font-size: 14px;
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: var(--color-text);
  color: var(--color-bg);
}

/* Features - 軽い背景 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  text-align: center;
  padding: 40px 30px;
  background: var(--color-bg);
  border-radius: var(--radius-soft);
  border: 1px solid var(--color-border);
  transition: var(--transition-base);
}

.feature-card:hover {
  box-shadow: var(--shadow-soft);
  transform: var(--hover-lift);
}

.feature-number {
  font-family: var(--font-handwriting);
  font-size: 48px;
  color: var(--color-border);
  margin-bottom: 20px;
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--color-bg-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--color-text-light);
}

.feature-title {
  font-family: var(--font-handwriting);
  font-size: 18px;
  color: var(--color-text);
  margin-bottom: 16px;
  line-height: 1.6;
}

.feature-text {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.9;
}

/* Cat Section - 軽いピンク */
.cat-section {
  background: var(--color-sakura-light);
  text-align: center;
  padding: 100px 80px;
}

.cat-intro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 800px;
  margin: 0 auto;
}

.cat-image {
  width: 200px;
  height: 200px;
  background: var(--color-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  color: var(--color-sakura);
  flex-shrink: 0;
}

.cat-text {
  text-align: left;
}

.cat-name {
  font-family: var(--font-handwriting);
  font-size: 28px;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.cat-role {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  font-size: 11px;
  color: var(--color-sakura);
}

.cat-desc {
  font-size: 14px;
  color: var(--color-text);
  line-height: 2;
  margin-top: 16px;
}

/* News - お知らせ */
.news-section {
  background: var(--color-bg);
}

/* Access - アクセス */
.access-section {
  background: var(--color-bg-warm);
}

.access-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: stretch;
  /* Stretch map to match card height */
}

.access-map {
  flex: 1;
  min-height: 350px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  background: var(--color-bg-soft);
  position: relative;
  /* Context for absolute children */
}

.access-map-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.access-map-iframe iframe {
  width: 100% !important;
  height: 100% !important;
  border: none;
}

.access-map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--color-text-light);
  background: var(--color-bg-soft);
  /* Ensure bg color */
}

.access-map-placeholder span {
  font-family: var(--font-handwriting);
  font-size: 14px;
  letter-spacing: 2px;
}

.access-card {
  flex: 1 1 0;
  /* Force equal width */
  min-width: 0;
  /* Allow shrinking */
  background: var(--color-bg);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.access-card-title {
  font-family: var(--font-handwriting);
  font-size: 22px;
  color: var(--color-primary);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 24px;
}

.access-card-row {
  display: flex;
  gap: var(--space-4);
  margin-bottom: 24px;
}

.access-card-col {
  flex: 1;
}

.access-card-item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-bottom: 8px;
}

.access-card-label {
  font-family: var(--font-handwriting);
  font-size: 14px;
  color: var(--color-text);
}

.access-card-value {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.8;
  padding-left: 24px;
}

.access-card-footer {
  display: flex;
  gap: var(--space-3);
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  margin-top: auto;
  /* Push to bottom if needed */
}

.access-card-footer span {
  font-size: 12px;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.access-card-footer a {
  color: var(--color-accent);
  text-decoration: none;
}

.access-card-footer a:hover {
  text-decoration: underline;
}

.news-list {
  max-width: 900px;
  margin: 0 auto 50px;
}

.news-item {
  display: grid;
  grid-template-columns: 100px 100px 1fr;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  transition: all 0.3s;
}

.news-item:hover {
  background: var(--color-bg-warm);
  padding-left: 20px;
  margin-left: -20px;
  padding-right: 20px;
  margin-right: -20px;
}

.news-date {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--color-text-light);
}

.news-category {
  display: inline-block;
  /* タッチしやすいサイズ確保 */
  padding: 6px 14px;
  min-height: 32px;
  background: var(--color-accent-pale);
  border-radius: 20px;
  font-size: 12px;
  color: var(--color-accent);
  text-align: center;
}

.news-title {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.6;
}

.news-all-link {
  text-align: center;
}

/* CTA, Footer, Back to Top: style.css で共通定義 */

/* ===================
   Responsive Design
   =================== */

/* PC (13-14inch) */

@media (max-width: 1440px) {
  .section {
    padding: 60px 40px;
  }

  .section-header {
    margin-bottom: 50px;
  }
}


/* Tablet (1024px以下) */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 200px 1fr 150px;
    gap: 20px;
    padding: 100px 40px 60px;
  }

  /* WordPress管理バー対応 */
  .admin-bar .hero {
    padding-top: 100px;
    /* bodyが既に32px下がっているため、元の100pxのまま */
  }

  .hero-vertical-text span {
    font-size: 24px;
  }

  .hero-menu-list {
    font-size: 10px;
  }

  .troubles-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .menu-cards {
    gap: 20px;
  }

  .features-grid {
    gap: var(--space-3);
  }
}

/* Tablet (1024px以下) - グリッドの中間調整 */
@media (max-width: 1024px) {

  /* Troubles: 3列を維持しつつgapを調整 */
  .troubles-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
  }

  /* Menu: 3列→2列 */
  .menu-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Features: 3列→2列 */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Flow: ステップ間を少し詰める */
  .flow-steps {
    gap: var(--space-3);
  }
}

/* Tablet Small (768px以下) */
@media (max-width: 768px) {

  /* Header, Nav, Logo, Mobile Menu Toggle: style.css で共通定義済み */

  /* Hero - スマホ用レイアウト */
  .hero {
    display: block;
    position: relative;
    min-height: 100vh;
    padding: 0;
    overflow: hidden;
  }

  /* WordPress管理バー対応（モバイルもbodyが自動オフセット） */
  .admin-bar .hero {
    padding-top: 0;
    /* bodyが既に46px下がっているため、元の100pxのまま */
  }

  .hero-left {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    /* Allows clicking through if needed, though mostly visual */
    padding: 0;
    width: 100%;
  }

  .hero-vertical-text {
    justify-content: center;
    background: transparent;
    padding: 0;
    border-radius: 0;
    backdrop-filter: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    writing-mode: vertical-rl;
    gap: 0;
    box-shadow: none;
  }

  .hero-vertical-text span {
    font-size: 22px;
    color: var(--color-primary);
    /* Ensure contrast */
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
  }

  .hero-menu-list {
    display: none;
  }

  .hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    z-index: 0;
  }

  .hero-image-main {
    min-height: 100vh;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: fadeInImage 1s ease forwards;
    animation-delay: 0.5s;
    /* Quicker fade in on mobile */
  }

  /* Image Overlay for text readability - モバイルでは強めのオーバーレイ */
  .hero-image-main::after {
    opacity: 0.4;
    background: linear-gradient(to bottom,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0.3) 100%);
  }

  .hero-image-number {
    bottom: 20px;
    right: 20px;
    z-index: 3;
    color: #fff;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
  }

  .hero-right {
    display: none;
  }

  /* Integrated Mobile Title */
  .hero-title-mobile {
    display: inline-block;
    writing-mode: vertical-rl;
    margin: 0;
    color: var(--color-primary);
    /* 強めの白シャドウで視認性確保 */
    text-shadow:
      0 0 20px rgba(255, 255, 255, 1),
      0 0 10px rgba(255, 255, 255, 1),
      0 2px 4px rgba(255, 255, 255, 0.8);
    font-size: 40px;
    letter-spacing: 0.3em;
    font-weight: 500;
    line-height: 1.5;
    font-family: 'Yuji Mai', serif;

    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero-title-mobile span {
    display: inline-block;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInFromTop 0.8s ease forwards;
  }

  /* Staggered animation for each character */
  .hero-title-mobile span:nth-child(1) {
    animation-delay: 0.2s;
  }

  .hero-title-mobile span:nth-child(2) {
    animation-delay: 0.35s;
  }

  .hero-title-mobile span:nth-child(3) {
    animation-delay: 0.5s;
  }

  .hero-title-mobile span:nth-child(4) {
    animation-delay: 0.65s;
  }

  .hero-title-mobile span:nth-child(5) {
    animation-delay: 0.8s;
  }

  .hero-title-mobile span:nth-child(6) {
    animation-delay: 0.95s;
  }

  .hero-title-mobile span:nth-child(7) {
    animation-delay: 1.1s;
  }

  /* Hide catch copy on mobile as requested */
  .hero-catch-copy {
    display: none;
  }

  .hero-vertical-text span {
    font-size: 22px;
    color: var(--color-primary);
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
  }

  /* Hide Desktop elements */
  .hero-right-top {
    display: none;
  }

  .hero-right-bottom {
    display: none;
  }

  /* Make scroll indicator visible on image */
  .hero-scroll {
    color: #fff;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
    font-weight: 700;
    bottom: 30px;
  }

  .hero-scroll-line {
    background: linear-gradient(to bottom, #fff, transparent);
    width: 2px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
  }

  /* Reset hero-left layout for single flex container */
  .hero-left {
    display: flex;
    flex-direction: row;
    /* Default */
    align-items: center;
    justify-content: center;
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: 2;
    padding-bottom: 80px;
  }

  .hero-time {
    font-size: 32px;
  }

  /* Sections */
  .section {
    padding: 60px 24px;
  }

  html {
    /* モバイルヘッダー高さ(56px)に合わせる */
    scroll-padding-top: 56px;
  }

  .section-title {
    font-size: 24px;
  }

  /* About */
  .about-text {
    font-size: 14px;
  }

  /* Troubles */
  .troubles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
  }

  .trouble-card {
    padding: 24px 16px;
  }

  /* Menu */
  .menu-cards {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    gap: 12px;
  }

  .menu-card-new {
    border-radius: 12px;
  }

  .menu-card-image {
    /* 固定高さではなくmin-heightで柔軟に */
    min-height: 100px;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .menu-card-body {
    padding: 14px;
  }

  .menu-card-name {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .menu-card-desc {
    font-size: 11px;
    margin-bottom: 10px;
    line-height: 1.6;
  }

  .menu-card-price {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .menu-card-btn {
    padding: 10px;
    font-size: 12px;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: var(--space-2);
  }

  .feature-card {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: 20px;
    text-align: left;
  }

  .feature-number {
    display: none;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    margin: 0;
    flex-shrink: 0;
  }

  .feature-content {
    flex: 1;
  }

  .feature-title {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .feature-title br {
    display: none;
  }

  .feature-text {
    font-size: 12px;
    line-height: 1.6;
  }

  .feature-text br {
    display: none;
  }

  /* Flow - SPは縦並び */
  .flow-section {
    padding: 60px 24px;
  }

  .flow-steps {
    flex-direction: column;
    gap: var(--space-3);
    max-width: 100%;
    padding: 0;
  }

  .flow-steps::before {
    display: none;
  }

  .flow-step {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    text-align: left;
    background: var(--color-bg-warm);
    padding: 20px;
    border-radius: 12px;
    position: relative;
  }

  .flow-step-number {
    font-size: 11px;
    color: var(--color-accent);
    opacity: 0.6;
    margin-bottom: 0;
    position: absolute;
    top: -8px;
    left: 16px;
    background: var(--color-bg);
    padding: 2px 8px;
    border-radius: 10px;
  }

  .flow-step-content {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: 0;
    background: none;
    flex: 1;
  }

  .flow-step-icon {
    width: 50px;
    height: 50px;
    margin: 0;
    flex-shrink: 0;
    background: var(--color-accent-pale);
    color: var(--color-accent);
  }

  .flow-step-title {
    font-size: 15px;
    margin-bottom: 4px;
    min-width: auto;
  }

  .flow-step-text {
    font-size: 12px;
    line-height: 1.7;
    flex: 1;
  }

  .flow-step-text br {
    display: none;
  }

  /* Cat Section */
  .cat-section {
    padding: 40px 24px;
  }

  .cat-section .section-header {
    margin-bottom: 24px;
  }

  .cat-section .section-title {
    font-size: 20px;
  }

  .cat-intro {
    flex-direction: column;
    text-align: center;
    gap: var(--space-2);
  }

  .cat-image {
    width: 80px;
    height: 80px;
    margin: 0 auto;
  }

  .cat-image i {
    width: 40px !important;
    height: 40px !important;
  }

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

  .cat-name {
    font-size: 18px;
    margin-bottom: 4px;
  }

  .cat-role {
    font-size: 11px;
    margin-bottom: 8px;
    justify-content: center;
  }

  .cat-badge {
    font-size: 10px;
    padding: 4px 12px;
    display: inline-flex;
    width: fit-content;
    margin: 0 auto;
  }

  .cat-desc {
    font-size: 12px;
    line-height: 1.7;
    margin-top: 12px;
  }

  .cat-desc br {
    display: none;
  }

  /* News */
  .news-item {
    grid-template-columns: 1fr;
    gap: var(--space-1);
    padding: 16px 0;
  }

  .news-date {
    font-size: 12px;
  }

  .news-category {
    width: fit-content;
  }

  /* Access */
  .access-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .access-map {
    /* 操作しやすい高さを確保 */
    height: 280px;
    width: 100%;
  }

  .access-card {
    width: 100%;
    padding: 24px;
  }

  .access-card-title {
    font-size: 18px;
    padding-bottom: 16px;
    margin-bottom: 20px;
  }

  .access-card-row {
    flex-direction: column;
    gap: 20px;
  }

  .access-card-value {
    font-size: 12px;
  }

  .access-card-footer {
    flex-direction: column;
    gap: 12px;
  }

  .access-card-footer span {
    font-size: 11px;
  }

  /* CTA: style.css で共通定義 */

  /* Footer */
  .footer {
    padding: 40px 24px 24px;
  }

  .btn-outline {
    padding: 14px 32px;
    font-size: 13px;
  }
}

/* Mobile Large (600px以下) - 768px→480pxの中間調整 */
@media (max-width: 600px) {
  .section-title {
    font-size: 22px;
  }

  .section-subtitle {
    font-size: 11px;
  }

  .hero-vertical-text span {
    font-size: 32px;
    letter-spacing: 0.15em;
  }

  .hero-title-mobile {
    font-size: 36px;
    letter-spacing: 0.25em;
  }

  .about-text {
    font-size: 13px;
    line-height: 2;
  }

  .trouble-title {
    font-size: 15px;
  }

  .menu-card-name {
    font-size: 13px;
  }

  .menu-card-desc {
    font-size: 11px;
  }

  .feature-title {
    font-size: 16px;
  }

  .feature-desc {
    font-size: 12px;
  }

  .flow-title {
    font-size: 14px;
  }

  .flow-desc {
    font-size: 12px;
  }
}

/* Mobile (480px以下) */
@media (max-width: 480px) {

  /* ヒーローテキスト - 320px幅でも収まるよう調整 */
  .hero-vertical-text span {
    font-size: 28px;
    letter-spacing: 0.12em;
  }

  .hero-title-mobile {
    font-size: 32px;
    letter-spacing: 0.2em;
  }

  .troubles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .trouble-card {
    padding: 20px 12px;
  }

  .trouble-icon {
    width: 56px;
    height: 56px;
  }

  .trouble-title {
    font-size: 14px;
  }

  .trouble-sub {
    font-size: 11px;
  }

  .section-title {
    font-size: 22px;
  }

  .feature-card {
    padding: 30px 20px;
  }

  .feature-number {
    font-size: 36px;
  }
}

/* 極小画面 (360px以下) - iPhone SE等 */
@media (max-width: 360px) {
  .hero-vertical-text span {
    font-size: 24px;
    letter-spacing: 0.1em;
  }

  .hero-title-mobile {
    font-size: 28px;
    letter-spacing: 0.15em;
  }

  .section-title {
    font-size: 20px;
  }

  .section-subtitle {
    font-size: 11px;
  }
}

/* ===================================
   Column Section - 読み物
   =================================== */
.column-section {
  background: var(--color-bg-warm);
}

.column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.column-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  transition: var(--transition-base);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.column-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}

.column-card-image {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--color-bg-soft);
  overflow: hidden;
}

.column-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.column-card:hover .column-card-image img {
  transform: scale(1.05);
}

.column-card-noimage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
}

.column-card-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.9);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.column-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.column-card-date {
  font-size: 11px;
  color: var(--color-text-light);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.column-card-title {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: 12px;
  transition: color 0.3s;
}

.column-card:hover .column-card-title {
  color: var(--color-accent);
}

.column-card-excerpt {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  /* Standard property */
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .column-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2);
    padding: 0;
  }

  .column-card {
    flex-direction: row;
    /* 全カード同じ高さに固定 */
    height: 120px;
  }

  .column-card-image {
    /* 固定幅で画像サイズを統一 */
    width: 120px;
    min-width: 120px;
    height: 100%;
    aspect-ratio: unset;
  }

  .column-card-excerpt {
    display: none;
  }

  .column-card-body {
    padding: 12px 16px;
    justify-content: center;
  }

  .column-card-title {
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 1.5;
  }

  .column-card-cat {
    padding: 3px 8px;
    font-size: 9px;
    top: 6px;
    left: 6px;
  }

  .column-card-date {
    font-size: 10px;
    margin-bottom: 4px;
  }
}

/* Menu Card Tags */
.menu-card-tags {
  display: flex;
  gap: var(--space-1);
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.menu-card-tag {
  /* タッチしやすいサイズ確保 */
  padding: 6px 12px;
  min-height: 28px;
  background: var(--color-bg-soft);
  border-radius: 12px;
  font-size: 12px;
  color: var(--color-text-light);
  line-height: 1;
}

.menu-card-tag.recommend {
  background: var(--color-sakura-light);
  color: var(--color-sakura);
}