/* === type4 モバイルファースト徹底・意味構造最適化CSS === */
:root {
  --main-bg: #f9fbfa;
  --section-bg: #fff;
  --primary: #00724e;
  --accent: #008317;
  --accent-yellow: #ffe066;
  --text-main: #181818;
  --text-sub: #4a4a4a;
  --border: #e0f2ef;
  --shadow: 0 2px 8px #00724e0d;
}

html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }

body {
  margin: 0;
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', Arial, sans-serif;
  background: var(--main-bg);
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
}
main {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 0.8rem;
}
section {
  margin-bottom: 1.5rem;
}

.site-header {
  transition: all 0.35s cubic-bezier(.4,1,.4,1);
  height: 110px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  z-index: 100;
}
.site-header.is-compact {
  height: 48px;
  min-height: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.site-header .logo-area {
  transition: all 0.35s cubic-bezier(.4,1,.4,1);
  align-items: flex-end;
}
.site-header.is-compact .logo-area {
  align-items: center;
  padding: 0 1.2em;
}
.site-header .logo-img {
  transition: all 0.35s cubic-bezier(.4,1,.4,1);
  width: 56px;
  height: 56px;
}
.site-header.is-compact .logo-img {
  width: 32px;
  height: 32px;
}
.site-header .title-block {
  transition: all 0.35s cubic-bezier(.4,1,.4,1);
  margin-left: 1em;
}
.site-header.is-compact .site-title {
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.site-header.is-compact .site-subtitle {
  opacity: 0;
  max-height: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
  transition: opacity 0.2s, max-height 0.2s;
}
.site-nav {
  margin-bottom: 0.3em;
}
.sns-links {
  display: flex;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.sns-links li { display: flex; }
.sns-links a img {
  border: 1px solid var(--accent-yellow);
  background: #fff;
  border-radius: 7px;
  box-shadow: none;
  padding: 2px;
  width: 22px;
  height: 22px;
  transition: box-shadow 0.12s, border 0.12s;
}
.sns-links a img:hover {
  border: 1px solid var(--accent);
  box-shadow: 0 1px 4px var(--accent)22;
}
.sns-links i {
  font-size: 1.3em;
  color: #fff;
  background: linear-gradient(135deg, #e1306c 0%, #00c97b 100%);
  border-radius: 7px;
  padding: 0.18em 0.18em;
  transition: color 0.13s, background 0.13s;
}
.sns-links a:hover i {
  color: var(--accent-yellow);
  background: var(--accent);
}
.logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.1em;
}
.logo-img {
  border: 1.5px solid var(--accent-yellow);
  background: #fff;
  border-radius: 10px;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  margin-right: 0.6rem;
}
.title-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.site-title {
  font-size: 1.15rem;
  font-family: 'Noto Serif JP', 'Hiragino Sans', 'Yu Gothic', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 0.03em;
  line-height: 1.1;
  text-shadow: none;
}
.site-title .karuizawa {
  font-size: 0.98rem;
  color: var(--accent);
  font-family: inherit;
  margin-left: 0.18em;
  letter-spacing: 0.03em;
  font-weight: 900;
}
.site-subtitle {
  font-size: 0.93rem;
  color: var(--accent-yellow);
  font-weight: 500;
  margin-top: 0.06em;
  margin-bottom: 0.13em;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.hero {
  text-align: center;
  margin-bottom: 0.2rem;
  position: relative;
}
.hero-figure {
  position: relative;
  margin: 0;
}
.hero-img {
  width: 100%;
  max-height: 140px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  box-shadow: var(--shadow);
  display: block;
}
.hero-fade {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: 32px;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,201,123,0.12) 0%, #f9fbfa 100%);
  border-radius: 0 0 10px 10px;
}
.hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: 32px;
  z-index: 4;
  pointer-events: none;
}
.hero-lead {
  position: absolute;
  left: 50%;
  bottom: 0.7rem;
  transform: translateX(-50%);
  background: rgb(237 255 0 / 92%);
  color: #000000;
  border-radius: 10px;
  padding: 0.7rem 1.1rem 0.6rem 1.1rem;
  width: 90%;
  max-width: 340px;
  /* box-shadow: 0 2px 8px #00724e22; */
  z-index: 5;
  text-align: center;
}
.hero-lead h2 {
  font-size: 1.13rem;
  font-weight: 900;
  color: #252525;
  margin: 0 0 0.3em 0;
  letter-spacing: 0.02em;
  line-height: 1.25;
}
.hero-lead p {
  font-size: 0.97rem;
  margin: 0;
  line-height: 1.6;
}
.hero-text {
  position: absolute;
  left: 0; right: 0; bottom: 0.5rem;
  color: #fff;
  background: var(--accent);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  margin: 0 auto;
  width: 92%;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow);
}

.hotel-cafe-search {
  margin: 0;
  border-radius: 10px;
  background: var(--section-bg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 0.7rem 0.7rem 0.8rem 0.7rem;
}
.hotel-tags {
  display: block;
  margin-bottom: 0.7rem;
  padding-bottom: 0.2rem;
  width: 100%;
}
.hotel-tag {
  background: #fff;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.97rem;
  padding: 0.35em 1.3em;
  box-shadow: none;
  cursor: pointer;
  transition: background 0.13s, color 0.13s, border 0.13s;
  white-space: nowrap;
  outline: none;
  margin-bottom: 0.1em;
}
.hotel-tag.selected, .hotel-tag:active {
  background: var(--accent) !important;
  color: #fff !important;
  border-color: var(--accent) !important;
    z-index: 2 !important;
}
.hotel-tag:hover, .hotel-tag:focus {
  background: rgba(0,201,123,0.08) !important;
  color: var(--accent) !important;
  border-color: var(--accent) !important;
  z-index: 1 !important;
}
.hotel-tag.selected:hover, .hotel-tag.selected:focus {
  background: var(--accent) !important;
  color: #fff !important;
  border-color: var(--accent) !important;
  z-index: 3 !important;
}
.hotel-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: stretch;
  margin-top: 0.5rem;
}
.hotel-form label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.97rem;
  gap: 0.5em;
}
.hotel-form input[type="text"] {
  font-size: 0.97rem;
  padding: 0.4rem 0.7rem;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary);
  outline: none;
  box-shadow: none;
  transition: border 0.12s;
  min-width: 0;
  flex: 1 1 120px;
}
button {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 7px;
  font-weight: 900;
  font-size: 0.97rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: background 0.13s, color 0.13s, border 0.13s;
  outline: none;
}
.hotel-form button {  
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 7px;
  font-weight: 900;
  font-size: 0.97rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: background 0.13s, color 0.13s, border 0.13s;
  outline: none;
}
.hotel-form .now-btn {
  align-self: flex-end;
  background: transparent;
  color: var(--accent);
  font-size: 0.93rem;
  font-weight: 700;
  border: 1.5px solid var(--accent);
  border-radius: 7px;
  padding: 0.22em 0.9em;
  margin-bottom: 0.2em;
  margin-top: 0;
  width: auto;
  min-width: 0;
  box-shadow: none;
  transition: border 0.12s, color 0.12s;
  cursor: pointer;
  outline: none;
  float: right;
  margin-left: 0.7em;
  background-clip: padding-box;
}
.hotel-form .now-btn:focus, .hotel-form .now-btn:hover {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
#search-cafe-btn .btn-icon {
  width: auto;
}
#search-cafe-btn:focus, #search-cafe-btn:hover {
  background: var(--primary);
  color: #fff;
}
.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.7em;
  height: 1.7em;
  margin-right: 0.1em;
}
.btn-icon i {
  font-size: 1.2em;
  color: #fff;
}
#search-cafe-btn span:last-child {
  flex: 1 1 auto;
  text-align: center;
}
.hotel-form button:focus, .hotel-form button:hover {
  background: var(--accent-yellow);
  color: var(--accent);
}
.hotel-form button.now-btn:focus, .hotel-form button.now-btn:hover {
  background: var(--accent);
  color: #fff;
}
.cafe-suggestion {
  display: block;
  margin-top: 0.7rem;
  background: #f5f9f7;
  border-radius: 7px;
  border: 1px solid var(--border);
  padding: 0.6rem 0.8rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.97rem;
  min-height: 36px;
}

.now-hot {
  border-radius: 10px;
  background: var(--section-bg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 0.7rem 0.7rem 0.8rem 0.7rem;
}
.hot-cafe-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.cafe-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: none;
  border: none;
  padding: 0.5rem 0.5rem 0.7rem 0.5rem;
}
.cafe-card img {
  width: 100%;
  border-radius: 7px;
  object-fit: cover;
  max-height: 90px;
}
.cafe-card h4 {
  margin: 0.2rem 0 0.1rem 0;
  color: var(--accent);
  font-size: 0.98rem;
  font-weight: 900;
}
.cafe-card p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-sub);
}
.badge-hot {
  background: var(--accent-yellow);
  color: var(--accent);
  font-size: 0.88em;
  border-radius: 6px;
  padding: 0.14em 0.6em;
  margin-left: 0.15em;
  font-weight: 900;
  vertical-align: middle;
  box-shadow: none;
}

.cafe-gallery {
  margin-bottom: 1.2rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.18rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.gallery-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: none;
  padding: 0;
  display: block;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  margin: 0;
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: none;
  display: block;
  margin: 0;
}
.cafe-name {
  position: absolute;
  left: 50%;
  bottom: 0.5em;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  border-radius: 1.2em;
  padding: 0.25em 1.1em 0.22em 1.1em;
  text-align: center;
  box-shadow: 0 2px 8px #0002;
  z-index: 2;
  white-space: nowrap;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-posts {
  border-radius: 10px;
  background: var(--section-bg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 0.7rem 0.7rem 0.8rem 0.7rem;
}
.post-gallery {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.post-gallery img {
  width: 60px;
  height: 60px;
  border-radius: 7px;
  object-fit: cover;
  box-shadow: none;
  background: #fff;
  border: 1px solid var(--border);
}
.badge-new {
  background: var(--accent);
  color: #fff;
  font-size: 0.88em;
  border-radius: 6px;
  padding: 0.14em 0.6em;
  margin-left: 0.15em;
  font-weight: 900;
  vertical-align: middle;
  box-shadow: none;
}
.badge-new i {
  font-size: 0.95em;
  margin-left: 0.2em;
  color: var(--accent);
}

.cafe-categories {
  border-radius: 10px;
  background: var(--section-bg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 0.7rem 0.7rem 0.8rem 0.7rem;
}
.category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.7rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.category-list li {
  background: var(--accent-yellow);
  color: var(--accent);
  border-radius: 7px;
  font-weight: 900;
  box-shadow: none;
  font-size: 0.93rem;
  padding: 0.3em 0.9em;
}
.cafe-categories h3 i {
  font-size: 1em;
  margin-left: 0.2em;
  color: var(--accent);
}

.site-footer {
  background: #f9fbfa;
  color: #888;
  font-size: 0.98rem;
  text-align: center;
  padding: 1.2em 0 0.7em 0;
  margin-top: 2.5em;
  border-top: 1.5px solid #eee;
}
.footer-links {
  margin-bottom: 0.3em;
}
.footer-links a {
  color: #888;
  text-decoration: underline;
  font-size: 0.98rem;
  margin: 0 0.2em;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #E57373;
}
.footer-reviewer {
  color: #aaa;
  font-size: 0.92rem;
  margin-bottom: 0.2em;
}
.footer-copyright {
  color: #bbb;
  font-size: 0.92rem;
}
.cafe-detail-bottom-block {
  display: flex;
  justify-content: center;
  margin: 2.5em 0 0.5em 0;
}
.site-header {
  cursor: pointer;
}
.hotel-form .hotel-tag {
  background: #fff !important;
  color: var(--accent) !important;
  border: 1.5px solid var(--accent) !important;
  border-radius: 999px !important;
  font-weight: 900 !important;
  font-size: 0.97rem !important;
  padding: 0.35em 1.3em !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: background 0.13s, color 0.13s, border 0.13s !important;
  white-space: nowrap !important;
  outline: none !important;
  margin-bottom: 0.1em !important;
  min-width: 0 !important;
  max-width: 100vw !important;
  width: auto !important;
  display: inline-block !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.hotel-form .hotel-tag.selected, .hotel-form .hotel-tag:active {
  background: var(--accent) !important;
  color: #fff !important;
  border-color: var(--accent) !important;
  z-index: 2 !important;
}
.hotel-form .hotel-tag:hover, .hotel-form .hotel-tag:focus {
  background: rgba(0,201,123,0.08) !important;
  color: var(--accent) !important;
  border-color: var(--accent) !important;
  z-index: 1 !important;
}
.hotel-form .hotel-tag.selected:hover, .hotel-form .hotel-tag.selected:focus {
  background: var(--accent) !important;
  color: #fff !important;
  border-color: var(--accent) !important;
  z-index: 3 !important;
}
.hotel-form button:not(.hotel-tag) {
  /* 通常ボタンは従来通り */
}
.station-nearby {
  border-radius: 10px;
  background: var(--section-bg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 0.7rem 0.7rem 0.8rem 0.7rem;
  margin-bottom: 1.5rem;
}
.station-nearby h3 {
  color: var(--primary);
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.4em;
}
.station-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.station-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: none;
  border: 1px solid var(--border);
  padding: 0.3rem 0.5rem 0.3rem 0.3rem;
}
.station-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: none;
  background: #eee;
}
.station-info {
  display: flex;
  flex-direction: column;
  gap: 0.1em;
  min-width: 0;
}
.station-cafe-name {
  font-size: 1.01rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 0.01em;
  margin-bottom: 0.1em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.station-access {
  font-size: 0.93rem;
  color: #888;
  letter-spacing: 0.01em;
}
.station-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
  width: 100%;
}
.station-tag {
  background: #fff;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.97rem;
  padding: 0.35em 1.3em;
  box-shadow: none;
  cursor: pointer;
  transition: background 0.13s, color 0.13s, border 0.13s;
  white-space: nowrap;
  outline: none;
  margin-bottom: 0.1em;
}
.station-tag.selected, .station-tag:active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  z-index: 2;
}
.station-tag:hover, .station-tag:focus {
  background: rgba(0,201,123,0.08);
  color: var(--accent);
  border-color: var(--accent);
  z-index: 1;
}
.station-tag.selected:hover, .station-tag.selected:focus {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  z-index: 3;
}
/* ポータルサイト風ヘッダー追加 */
/* ポータルサイト風ヘッダー（実際の構造に合わせて調整） */
.site-header.portal-header {
  background: #fff;
  border-bottom: 2px solid #f2f2f2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header.portal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.site-nav {
  width: 100%;
  padding: 0.3em 2em 0 0;
}
.sns-links {
  display: flex;
  gap: 1em;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sns-links li a {
  color: #888;
  font-size: 1.4em;
  transition: color 0.2s;
}
.sns-links li a:hover {
  color: #e67e22;
}
.logo-area.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5em;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.7em 1.5em 0.7em 1.5em;
}
.logo-img {
  height: 52px;
  width: auto;
  margin-right: 0.7em;
}
.title-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.site-title.portal-title {
  font-size: 2em;
  font-weight: bold;
  color: #333;
  letter-spacing: 0.03em;
  margin: 0;
}
.karuizawa {
  color: #e67e22;
  font-weight: bold;
}
.site-subtitle {
  font-size: 1.1em;
  color: #888;
  margin-top: 0.2em;
}
@media (max-width: 700px) {
  .site-header.is-compact {
    height: 77px;
  }
  .site-header {
    height: 162px;
  }
  .logo-area.header-inner {
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
    padding: 0.7em 0.5em;
  }
  .site-title.portal-title {
    font-size: 1.7em;
  }
  .logo-img {
    height: 36px;
  }
  .site-nav {
    padding: 0.3em 0.5em 0 0;
  }
}
/* 追加ボタン類のスタイルは削除済み */ 

/* SNSボタン main直下用デザイン（中央寄せ・レイアウト崩れ防止） */
.site-nav {
  width: 100%;
  background: #f9fbfa;
  border-bottom: 1px solid #ececec;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  padding: 0.3em 2em 0.3em 2em;
  position: static;
  top: unset;
  z-index: 10;
}
.sns-links {
  display: flex;
  justify-content: center;
  gap: 1.2em;
  list-style: none;
  margin: 0;
  padding: .7em;
}
.sns-links li a {
  color: #888;
  font-size: 1.3em;
  transition: color 0.2s;
}
.sns-links li a:hover {
  color: #e67e22;
}
@media (max-width: 700px) {
  .site-nav {
    padding: 0.3em 0.5em 0.3em 0.5em;
  }
  .sns-links {
    gap: 0.7em;
  }
} 

/* スクロールでヘッダーをサイトタイトル文字のみにする（:has()使用）関連のCSSを削除 */

.scrolled-marker {
  width: 100%;
  height: 1px;
  pointer-events: none;
  opacity: 0;
} 

/* クリック可能な要素のポインター */
.cafe-card,
.category-list li,
.station-tag,
.hotel-tag,
.btn,
button,
.post-gallery li,
.gallery-item,
.search-btn,
.now-btn {
  cursor: pointer;
} 

/* --- CafeDetail ヒーローヘッダー --- */
.cafe-hero {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 24px;
}
.cafe-hero-img-wrap {
  width: 100%;
  margin: 0 auto 32px auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.cafe-hero-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.cafe-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: flex-end;
  /* 下部がしっかり暗くなるグラデーションに調整 */
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.25) 50%,
    rgba(0,0,0,0.75) 90%,
    rgba(0,0,0,0.95) 100%
  );
}
.cafe-hero-content {
  margin-bottom: 24px;
  padding: 32px 20px 0 20px;
  background: none;
}
.cafe-hero-title {
  font-size: 2.1rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
}
.cafe-hero-tags {
  margin-bottom: 8px;
}
.cafe-tag {
  background: #f9fbfa;
  color: #4F8A8B;
  border-radius: 12px;
  padding: 2px 12px;
  font-size: 0.98rem;
  margin-right: 6px;
  border: 1px solid #e0e0e0;
}
.cafe-hero-rating {
  font-size: 1.1rem;
  color: #E57373;
  margin-bottom: 8px;
}
.cafe-rating-value {
  color: #E57373;
  margin-left: 8px;
  font-size: 1.05rem;
}
.cafe-hero-sns button {
  background: #f9fbfa;
  color: #4F8A8B;
  border: 1px solid #e0e0e0;
  font-size: 1.2rem;
  margin-right: 10px;
  border-radius: 50%;
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.cafe-hero-sns button:hover {
  background: #E57373;
  color: #fff;
}
.cafe-detail-desc {
  color: #555;
  font-size: 1.08rem;
  margin-bottom: 0;
}

/* --- CafeDetail 基本情報 --- */
.cafe-detail-info-block {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  padding-left: 16px;
  padding-right: 16px;
}
.cafe-detail-info-main {
  flex: 2;
}
.cafe-detail-basic {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cafe-detail-basic li {
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.cafe-detail-basic i {
  margin-right: 6px;
  color: #4F8A8B;
}
.cafe-detail-features {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
  margin-top: 8px;
}
.cafe-feature {
  background: #f9fbfa;
  border-radius: 16px;
  padding: 6px 14px;
  font-size: 0.98rem;
  color: #4F8A8B;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e0e0e0;
}
.cafe-feature i {
  color: #4F8A8B;
}

/* --- CafeDetail メニューギャラリー --- */
.cafe-menu-gallery {
  margin-bottom: 24px;
}
.menu-gallery-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  padding-left: .5em;
}
.menu-img {
  width: 140px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.menu-img {
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}
.menu-img:hover {
  box-shadow: 0 4px 16px rgba(229,115,115,0.18);
  transform: scale(1.04);
}

/* --- CafeDetail レビュー --- */
.rich-reviews {
  margin-bottom: 24px;
}
.review-intro {
  font-weight: bold;
  margin-bottom: 10px;
  color: #4F8A8B;
  margin-left: .5em;
}
.review-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.review-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 16px;
  width: 320px;
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.review-images-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-bottom: 8px;
}
.review-img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
}
.review-video {
  width: 220px;
  height: 140px;
  border-radius: 10px;
  margin-bottom: 8px;
}
.review-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: #888;
}
.review-user-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #eee;
}
.review-rating {
  color: #FFD700;
  margin-left: 8px;
}
.review-date {
  color: #aaa;
  font-size: 0.92em;
}

/* --- CafeDetail 関連カフェ --- */
.cafe-related {
  margin-bottom: 24px;
}
.related-cafe-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
}
.related-cafe-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid #E57373;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: box-shadow 0.2s, border 0.2s;
  padding: 8px 14px;
}
.related-cafe-item:hover {
  box-shadow: 0 2px 12px rgba(229,115,115,0.10);
  border-color: #d84315;
}
.related-cafe-img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #f8bbbd;
}
.related-cafe-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.related-cafe-name {
  font-weight: bold;
  color: #E57373;
  font-size: 1.05rem;
}
.related-cafe-desc {
  color: #888;
  font-size: 0.95rem;
}

/* --- CafeDetail アクションボタン --- */
.cafe-detail-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.vote-btn, .fav-btn {
  background: #fff;
  color: #E57373;
  border: 1px solid #E57373;
  border-radius: 20px;
  padding: 6px 18px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.vote-btn:hover, .fav-btn:hover {
  background: #E57373;
  color: #fff;
}
.fav-btn.is-fav {
  background: #E57373 !important;
  color: #fff !important;
  border: 1.5px solid #E57373 !important;
}

/* --- その他 --- */
.map-link {
  display: inline-block;
  margin-top: 8px;
  color: #4F8A8B;
  text-decoration: underline;
  font-size: 1rem;
} 

.map-action-row {
  display: flex;
  width: 100%;
  gap: 0;
  margin-bottom: 10px;
  justify-content: flex-start;
  padding: 0;
  margin-left: 0;
  margin-right: 0;
}
.map-action-btn {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #fff;
  color: #333;
  border: 1.5px solid #e0e0e0;
  border-radius: 14px;
  width: 72px;
  height: 64px;
  padding: 8px 0 4px 0;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.map-action-btn i {
  font-size: 1.35rem;
  margin-bottom: 2px;
}
.map-action-btn span {
  font-size: 0.92rem;
  word-break: keep-all;
  text-align: center;
  line-height: 1.1;
  max-width: 100%;
  display: block;
}
.map-action-btn.copy {
  color: #666;
}
.map-action-btn.gmap {
  color: #388e3c;
}
.map-action-btn.line {
  color: #00c300;
}
.map-action-btn:hover {
  background: #388e3c;
  color: #fff;
  border-color: #388e3c;
}
.map-action-btn.copy:hover {
  background: #666;
  color: #fff;
  border-color: #666;
}
.map-action-btn.line:hover {
  background: #00c300;
  color: #fff;
  border-color: #00c300;
}

@media (max-width: 600px) {
  .cafe-detail-info-block {
    flex-direction: column;
    gap: 12px;
  }
  .cafe-detail-info-main,
  .cafe-detail-features {
    width: 100%;
  }
  .cafe-detail-features {
    margin-top: 0;
    justify-content: flex-start;
  }
} 

.review-blocks {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.review-block {
  width: 100%;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 20px 0 18px 0;
  margin-bottom: 0;
}
.review-media-main {
  width: 100%;
  margin-bottom: 14px;
  display: flex;
  flex-direction: row;
  gap: 12px;
  padding: 0 12px;
}
.review-img-main {
  width: 100%;
  max-width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin: 0;
}

/* 電話番号・WEBサイトリンク装飾 */
.cafe-detail-basic a {
  color: #388e3c;
  text-decoration: underline;
  transition: color 0.2s;
  word-break: break-all;
}
.cafe-detail-basic a:hover {
  color: #E57373;
  text-decoration: underline;
}
.review-subgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin: 18px 0 10px 0;
  padding: 0 8px;
}
.review-img-sub {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.review-img-sub:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.modal-image-view {
  position: fixed;
  z-index: 9999;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-image-large {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.25);
}
.modal-close-btn {
  position: absolute;
  top: 32px;
  right: 32px;
  background: #fff;
  color: #333;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close-btn:hover {
  background: #E57373;
  color: #fff;
}
.review-video-main {
  width: 100%;
  max-width: 600px;
  height: 320px;
  border-radius: 10px;
  display: block;
  margin: 0 auto 14px auto;
}
.review-content-main {
  font-size: 1.08rem;
  color: #444;
  margin-bottom: 14px;
  line-height: 1.7;
  padding: 0 16px;
}
.review-footer-main {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  color: #888;
  padding: 0 16px;
}
.review-user-icon-main {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #eee;
}
.review-user-main {
  font-weight: bold;
  color: #4F8A8B;
}
.review-date-main {
  color: #aaa;
  font-size: 0.95em;
}
.review-rating-main {
  color: #FFD700;
  margin-left: 8px;
} 

.business-hours-list .today {
  background: #fffbe6;
  color: #d84315;
  font-weight: bold;
  border-radius: 6px;
} 

h3,
.section-title,
.cafe-detail-section > h3,
.cafe-menu-gallery > h3,
.cafe-related > h3,
.cafe-detail-map > h3 {
  margin-top: 2em;
  margin-bottom: .8em;
  margin-left: .5em;
  margin-right: .5em;
  font-weight: bold;
  line-height: 1.3;
}

.cafe-detail-section:first-child > h3,
.cafe-menu-gallery:first-child > h3,
.cafe-related:first-child > h3,
.cafe-detail-map:first-child > h3 {
  margin-top: 0;
} 

.hotel-cafe-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  max-width: 600px;
  padding: 2em 0 3em 0;
}
.hotel-flow-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.hotel-flow-title {
  border: 2px solid #E57373;
  border-radius: 2em;
  padding: 0.7em 2.2em;
  font-size: 1.3rem;
  font-weight: bold;
  color: #E57373;
  background: linear-gradient(90deg, #fff 80%, #ffeaea 100%);
  margin-bottom: 0.5em;
  z-index: 2;
  box-shadow: 0 2px 12px rgba(229,115,115,0.08);
  letter-spacing: 0.04em;
  transition: box-shadow 0.2s, background 0.2s;
}
.hotel-flow-vertical-line {
  width: 3px;
  height: 2.5em;
  background: linear-gradient(to bottom, #E57373 60%, #fff 100%);
  margin: 0 auto;
  border-radius: 2px;
  z-index: 1;
  opacity: 0.7;
  box-shadow: 0 2px 8px rgba(229,115,115,0.10);
}
.hotel-flow-cafe-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 2.2em;
  margin-top: 0.5em;
}
.hotel-flow-cafe-card {
  display: flex;
  align-items: center;
  border: 1.5px solid #E57373;
  border-radius: 1.5em;
  background: linear-gradient(90deg, #fff 80%, #fff5f5 100%);
  box-shadow: 0 2px 12px rgba(229,115,115,0.06);
  padding: 1em 1.2em;
  width: 100%;
  max-width: 480px;
  gap: 1.2em;
  transition: box-shadow 0.2s, border 0.2s, background 0.2s;
}
.hotel-flow-cafe-card:hover {
  box-shadow: 0 6px 24px rgba(229,115,115,0.16);
  border-color: #d84315;
  background: linear-gradient(90deg, #fff 60%, #ffeaea 100%);
}
.hotel-flow-cafe-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 1.2em;
  border: 1.5px solid #f8bbbd;
  background: #fff;
  box-shadow: 0 1px 6px rgba(229,115,115,0.08);
}
.hotel-flow-cafe-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}
.hotel-flow-cafe-name {
  font-size: 1.13rem;
  font-weight: bold;
  color: #E57373;
  margin-bottom: 0.1em;
  letter-spacing: 0.03em;
}
.hotel-flow-cafe-tags {
  margin-bottom: 0.1em;
}
.hotel-flow-cafe-distance {
  color: #888;
  font-size: 0.98rem;
  margin-bottom: 0.2em;
}
.hotel-flow-cafe-card .btn {
  background: #E57373;
  color: #fff;
  border-radius: 1.2em;
  border: none;
  padding: 0.4em 1.2em;
  font-size: 1rem;
  font-weight: bold;
  margin-top: 0.2em;
  transition: background 0.2s;
}
.hotel-flow-cafe-card .btn:hover {
  background: #d84315;
}
.hotel-flow-subcatch {
  color: #aaa;
  font-size: 0.98rem;
  font-weight: normal;
  margin-top: -0.2em;
  margin-bottom: 0.2em;
  letter-spacing: 0.02em;
  text-align: center;
}
@media (max-width: 700px) {
  .hotel-cafe-flow {
    max-width: 98vw;
    padding: 1.2em 0 2em 0;
  }
  .hotel-flow-cafe-card {
    max-width: 98vw;
    padding: 0.7em 0.5em;
    gap: 0.7em;
  }
  .hotel-flow-title {
    font-size: 1.1rem;
    padding: 0.5em 1.2em;
  }
  .hotel-flow-cafe-img {
    width: 64px;
    height: 64px;
  }
} 

.cafe-label-badge {
  position: absolute;
  top: -0.7em;
  right: -0.3em;
  z-index: 2;
  display: inline-block;
  background: #E57373;
  color: #fff;
  font-size: 0.92rem;
  font-weight: bold;
  border-radius: 1em;
  padding: 0.18em 1.1em;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(229,115,115,0.18);
  margin: 0;
} 

.favorite-list-block {
  margin: 2.5em auto 1.5em auto;
  padding: 1.2em 1.5em;
  background: #fffbe6;
  border: 1.5px solid #E57373;
  border-radius: 1.2em;
  text-align: center;
  min-width: 180px;
  max-width: 320px;
  display: block;
  box-shadow: 0 2px 8px rgba(229,115,115,0.08);
}
.favorite-list-title {
  color: #E57373;
  font-size: 0.98rem;
  margin-bottom: 0.2em;
}
.favorite-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.favorite-list li {
  background: none;
  border: none;
  color: #E57373;
  font-weight: bold;
  padding: 0.2em 0.7em 0.2em 0.7em;
  font-size: 0.98rem;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.3em;
  border-bottom: 1px solid #f8bbbd;
}
.favorite-list li:last-child {
  border-bottom: none;
}
.favorite-remove-btn {
  background: none;
  border: none;
  color: #aaa;
  font-size: 1.1em;
  margin-left: 0.2em;
  cursor: pointer;
  padding: 0 0.2em;
  transition: color 0.2s;
}
.favorite-remove-btn:hover {
  color: #E57373;
}

.site-header .site-title {
  transition: font-size 0.35s cubic-bezier(.4,1,.4,1), letter-spacing 0.35s cubic-bezier(.4,1,.4,1);
}
.site-header .site-subtitle {
  transition: opacity 0.2s, max-height 0.2s, margin 0.2s, padding 0.2s;
} 

.hotel-cafe-search-box {
  background: linear-gradient(90deg, #fff 80%, #fff5f5 100%);
  border: 2px solid #E57373;
  border-radius: 2em;
  box-shadow: 0 2px 16px rgba(229,115,115,0.10);
  padding: 2.2em 1.5em 1.5em 1.5em;
  margin: 2.5em auto 2em auto;
  max-width: 540px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hotel-cafe-search-box h3 {
  color: #E57373;
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 0.7em;
  letter-spacing: 0.04em;
}
.hotel-cafe-search-box p {
  color: #888;
  font-size: 1.05rem;
  margin-bottom: 1.2em;
  text-align: center;
}
.hotel-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: stretch;
  margin-top: 0.5rem;
}
#search-cafe-btn {
  background: #E57373;
  color: #fff;
  border-radius: 1.2em;
  border: none;
  padding: 0.7em 2.2em;
  font-size: 1.08rem;
  font-weight: bold;
  margin-top: 1.1em;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(229,115,115,0.10);
}
#search-cafe-btn:hover {
  background: #d84315;
} 

.search-cafe-btn {
  background: #E57373;
  color: #fff;
  border-radius: 1em;
  border: none;
  padding: 0.4em 1.2em;
  font-size: 0.98rem;
  font-weight: bold;
  margin-top: 0.7em;
  transition: background 0.2s;
  box-shadow: 0 1px 4px rgba(229,115,115,0.08);
}
.search-cafe-btn:hover {
  background: #d84315;
} 

.category-tag {
  background: var(--accent-yellow);
  color: var(--accent);
  border-radius: 12px;
  padding: 2px 12px;
  font-size: 0.98rem;
  margin-right: 6px;
  border: 1px solid #e0e0e0;
  display: inline-block;
} 

.btn-icon, .search-cafe-btn .btn-icon {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 0.5em;
} 

@media (min-width: 900px) {
  main {
    max-width: 1200px !important;
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }
}

@media (min-width: 900px) {
  .main-top-content {
    display: flex;
    flex-direction: row;
    gap: 2.5em;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 2.5em;
  }
  .hotel-cafe-search-box {
    max-width: 380px;
    min-width: 320px;
    flex: 0 0 380px;
    margin: 0;
  }
  .cafe-gallery {
    flex: 1 1 0;
    margin: 0;
    min-width: 0;
  }
  .cafe-gallery .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2em;
  }
  .cafe-categories {
    max-width: 900px;
    margin: 2.5em auto 0 auto;
    padding: 0 1.5em;
  }
  .category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2em;
    justify-content: center;
  }
  .category-list li {
    margin: 0;
  }
} 

@media (min-width: 1100px) {
  .main-container,
  .now-hot,
  .cafe-gallery,
  .cafe-categories,
  .user-posts,
  .station-nearby {
    max-width: 1200px;
    margin: 0 auto 2.5em auto;
    padding: 0 2em;
  }
  .main-top-content {
    max-width: 100%;
  }
  .hot-cafe-list {
    display: flex;
    gap: 2.2em;
    align-items: stretch;
  }
  .hot-cafe-list li {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
  }
  .hot-cafe-list .cafe-card {
    display: flex;
    flex-direction: row;
    gap: 1.2em;
    align-items: center;
    background: #fff;
    border-radius: 1.2em;
    box-shadow: 0 2px 8px rgba(229,115,115,0.06);
    padding: 1.2em 1.5em;
    width: 100%;
  }
  .hot-cafe-list .cafe-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 1em;
    flex-shrink: 0;
  }
  .hot-cafe-list .cafe-card-content {
    flex: 1;
    min-width: 0;
  }
  .hot-cafe-list .cafe-card h4,
  .hot-cafe-list .cafe-card p {
    margin: 0 0 0.5em 0;
  }
  .cafe-gallery .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2em;
  }
  .cafe-categories {
    max-width: 900px;
    margin: 2.5em auto 0 auto;
    padding: 0 1.5em;
  }
  .category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2em;
    justify-content: center;
  }
  .category-list li {
    margin: 0;
  }
} 

@media (min-width: 900px) {
  .favorite-list-block {
    width: 100%;
    max-width: 700px;
    min-width: 0;
    margin: 2.5em auto 1.5em auto;
    display: block;
  }
} 

@media (min-width: 900px) {
  .cafe-detail {
    max-width: 900px;
    margin: 0 auto 2.5em auto;
    padding: 0 2em;
  }
  .review-img-main,
  .cafe-menu-gallery .menu-img {
    max-width: 600px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(229,115,115,0.08);
  }
  .review-blocks {
    gap: 40px;
  }
  .review-block {
    max-width: 700px;
    margin: 0 auto 2em auto;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(229,115,115,0.06);
    background: #fff;
    padding: 1.5em 2em;
  }
  .review-subgrid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    justify-items: center;
  }
  .cafe-menu-gallery {
    max-width: 700px;
    margin: 0 auto 2.5em auto;
  }
  .cafe-menu-gallery .menu-gallery-scroll {
    justify-content: center;
    gap: 1.2em;
  }
  .cafe-menu-gallery .menu-img {
    max-width: 220px;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    margin: 0;
  }
} 