/*
Theme Name: Sumaho Kaitorisoba
Author: Your Name
Author URI: https://example.com
Description: A minimal WordPress theme
Version: 1.0.0
License: GPL v2 or later
Text Domain: sumaho-kaitorisoba
*/

/* CSS Variables */
:root {
  --dark-blue: #2c88c4;
  --dark-gray: #3a3a3a;
  --swiper-scrollbar-sides-offset: 30%;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.6;
  color: #000;
}

/* Header wrapper with blue background */
.header-wrapper {
  background-color: #5fb2e8;
  padding: 30px 10px;
}

.container {
  max-width: 1318px;
  margin: 0 auto;
  padding: 0;
}

/* Header */
.site-header {
  background: white;
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.24);
  border-radius: 999px;
  margin: 0 auto;
  max-width: 1318px;
  width: calc(100% - 40px);
}

.header-content {
  padding: 0 12px 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-nav {
  align-items: center;
  display: flex;
  gap: 32px;
  justify-content: center;
  width: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-item {
  color: #333;
  text-decoration: none;
  padding: 10px 24px;
  height: 91px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.nav-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.nav-item span {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
  text-align: center;
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  padding: 8px 0;
}

.cta-button-image {
  display: inline-block;
  transition: transform 0.2s, opacity 0.2s;
}

.cta-button-image:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.cta-button-image img {
  display: block;
  height: auto;
  width: 318px;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: white;
  margin: 5px 0;
  transition: 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 998;
  overflow-y: auto;
  padding-top: 80px;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav-close {
  position: absolute;
  top: 40px;
  right: 20px;
  background: none;
  border: 2px solid #29b6f6;
  color: #29b6f6;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
}

.mobile-nav ul {
  list-style: none;
  padding: 20px;
}

.mobile-nav li {
  border-bottom: 1px solid #eee;
}

.mobile-nav a {
  display: block;
  padding: 15px 0;
  color: #333;
  text-decoration: none;
}

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

.mobile-cta .cta-button-image {
  display: inline-block;
}

.mobile-cta .cta-button-image img {
  max-width: 100%;
  height: auto;
}

.mobile-cta .cta-label {
  color: #333;
  display: block;
  margin-bottom: 10px;
}

/* Main Layout */
.site-main {
  padding: 40px 0;
}

.main-layout {
  display: flex;
  justify-content: center;
  gap: 60px;
}

.content-column {
  flex: 0 0 750px;
}

/* Site Title */
.site-title {
  font-size: 32px;
  margin-bottom: 20px;
  color: #333;
}

/* Hero Section */
.hero-section {
  margin-bottom: 40px;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Articles Section */
.articles-section {
  background: #f6f7fb;
  padding: 20px;
  border-radius: 12px;
}

.section-title {
  color: #29b6f6;
  font-size: 28px;
  margin-bottom: 30px;
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.section-title .subtitle {
  font-size: 20px;
  color: #333333;
}

.articles-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
  justify-content: flex-start;
}

.article-card {
  background: white;
  transition: transform 0.3s;
  width: 227px;
  flex-shrink: 0;
}

.article-card:hover {
  transform: translateY(-5px);
}

.article-card a {
  text-decoration: none;
  color: #333;
}

.article-thumbnail {
  width: 100%;
  height: 166px;
  background: #f0f0f0;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  overflow: hidden;
}

.article-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-thumbnail.placeholder {
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

.article-title {
  font-size: 13px;
  line-height: 1.4;
  color: #333;
  margin: 16px;
  height: 51px;
  overflow: scroll;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 21px;
  padding: 20px 0;
}

.page-numbers {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  color: #dbdbdb;
  text-decoration: none;
  transition: color 0.3s;
}

.page-numbers:hover {
  color: #666;
}

.page-numbers.current {
  color: #000000;
}

.page-numbers.next,
.page-numbers.prev {
  font-size: 20px;
}

.page-numbers.dots {
  color: #dbdbdb;
  cursor: default;
}

.page-numbers.dots:hover {
  color: #dbdbdb;
}

/* Sidebar */
.sidebar {
  flex: 0 0 343px;
}

.sidebar-section {
  padding: 0;
  border-radius: 12px;
  margin-bottom: 20px;
}

.sidebar-title {
  font-size: 24px;
  color: var(--dark-blue);
}

.sidebar-title span {
  font-size: 16px;
  color: var(--dark-gray);
  font-weight: bold;
}

.flow-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}

.flow-item {
  border-radius: 8px;
  box-shadow: 0px 0px 12px 0px #0000001f;
  position: relative;
  padding: 16px;
}

.flow-number {
  border: solid 1px var(--dark-blue);
  font-size: 12px;
  width: 18px;
  height: 18px;
  color: var(--dark-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.flow-item h4 {
  color: var(--dark-blue);
  font-size: 16px;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.flow-item p {
  font-size: 14px;
  margin-bottom: 10px;
}

.flow-image {
  width: 100%;
  height: 175px;
  background: #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
}

.flow-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sidebar CTA */
.sidebar-cta {
  text-align: center;
  margin-top: 20px;
}

.sidebar-cta .cta-button-image {
  display: inline-block;
  transition: transform 0.2s, opacity 0.2s;
}

.sidebar-cta .cta-button-image:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.sidebar-cta .cta-button-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Prevent scroll when mobile menu is open */
body.mobile-menu-open {
  overflow: hidden;
}

/* Legacy Header (for other pages) */
/* header {
  padding: 0;
  border-bottom: 1px solid #eee;
} */

header h1 {
  font-size: 24px;
}

header a {
  color: #333;
  text-decoration: none;
}

/* Legacy Navigation */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0 auto 40px;
  width: 100%;
  max-width: 1154px;
}

nav a {
  color: #666;
  text-decoration: none;
}

nav a:hover {
  color: #000;
}

/* Legacy Main Content */
main {
  padding: 40px 0;
  min-height: 500px;
}

article {
  margin-bottom: 40px;
}

article h2 {
  margin-bottom: 10px;
}

article h2 a {
  color: #333;
  text-decoration: none;
}

article h2 a:hover {
  text-decoration: underline;
}

.post-meta {
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
}

/* Footer */
footer {
  padding: 20px 0;
  border-top: 1px solid #eee;
  text-align: center;
  color: #666;
  font-size: 14px;
}

/* Area Page (single.php) */

.area-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 0;
  margin: 0 auto 40px;
  background: transparent;
  border: none;
  width: 100%;
}

/* Top decorative lines */
.area-title-lines-top,
.area-title-lines-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  width: 100%;
}

.area-title-lines-top .line-1,
.area-title-lines-bottom .line-1 {
  display: block;
  width: 100%;
  height: 5px;
  background: #5fb2e8;
  border: none;
}

.area-title-lines-top .line-2,
.area-title-lines-bottom .line-2 {
  display: block;
  width: 100%;
  height: 3px;
  background: #5fb2e8;
  border: none;
}

.area-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 24px;
  text-align: center;
  letter-spacing: 0.04em;
  color: #515151;
  margin: 0;
  padding: 0 30px;
  width: 100%;
}

.area-layout {
  display: flex;
  gap: 60px;
  max-width: 1280px;
  margin: 0 auto;
  justify-content: center;
}

.area-content {
  max-width: 750px;
  width: 100%;
}

/* Shop Single Page */
.shop-single {
  background: #f8f9fa;
}

.shop-header {
  text-align: center;
  padding: 40px 0;
  background: white;
  margin-bottom: 40px;
  border-bottom: 3px solid #29b6f6;
}

.shop-title {
  font-size: 32px;
  color: #333;
  margin-bottom: 10px;
}

.shop-subtitle {
  font-size: 18px;
  color: #666;
  line-height: 1.6;
}

.shop-layout {
  display: flex;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
}

.shop-content {
  width: 750px;
  flex: 0 0 750px;
}

.shop-card {
  padding: 32px;
  width: 100%;
  background: rgba(222, 244, 255, 0.36);
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin-bottom: 30px;
}

.shop-card-header {
  padding: 20px;
}

.shop-name-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.shop-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

.shop-icon svg {
  width: 57px;
  height: 41px;
}

.shop-name {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 32px;
  flex: 0 0 calc(100% - 78px);
  line-height: 100%;
  letter-spacing: 0;
  margin: 0;
}

.shop-rating {
  margin-left: auto;
  display: flex;
  flex-basis: 100%;
  align-items: center;
  gap: 0;
  justify-content: center;
}

.rating-bracket {
  font-family: "Helvetica", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1em;
  color: #515151;
}

.stars {
  display: flex;
  gap: 0;
  align-items: center;
  margin: 0 4px;
}

.stars .star {
  width: 24px;
  height: 24px;
}

.rating-value {
  font-family: "Helvetica", sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1em;
  letter-spacing: -0.04em;
  color: #515151;
  margin: 0 4px;
}

.shop-special-offer {
  display: flex;
  flex-direction: column;
  margin-left: auto;
}

.offer-label {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 17px;
  line-height: 100%;
  color: #f2b50d;
  margin-bottom: 10px;
  padding-left: 20px;
}

.offer-box {
  box-sizing: border-box;
  padding: 16px;
  background: #ffffff;
  border: 3px solid #f2b50d;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 40px;
  font-family: "Noto Sans JP", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 140%;
  text-align: center;
  color: #960a29;
}

/* Two columns info section */
.shop-info-columns {
  display: flex;
  gap: 30px;
  margin: 30px 0;
}

.info-column-left {
  flex: 0 0 312px;
  display: flex;
  flex-direction: column;
}

.info-column-left h3 {
  color: var(--dark-gray);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  padding-bottom: 10px;
}

.info-column-right {
  flex: 0 0 362px;
}

/* Shop Badges */
.shop-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

/* Inactive badge */
.badge-item {
  font-family: "Noto Sans JP", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 12px;
  gap: 8px;
  width: 152px;
  height: 38px;
  background: #ffffff;
  border-radius: 4px;
  flex: none;
  flex-grow: 0;
}

.badge-item .badge-text {
  color: #adadad;
  flex: none;
  order: 0;
  flex-grow: 0;
}

.badge-item .badge-icon {
  color: #adadad;
  /* width: 10px;
  height: 0;
  border: 1px solid #adadad;
  flex: none;
  order: 1;
  flex-grow: 0; */
}

/* Active badge styling */
.badge-item.badge-item-active {
  background: #f2b50d;
}

.badge-item.badge-item-active .badge-text {
  color: #ffffff;
}

.badge-item.badge-item-active .badge-icon {
  /* width: 12px;
  height: 12px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: transparent; */
  color: #ffffff;
}

/* .badge-item.badge-item-contact .badge-icon {
  content: "要問合わせ";
  border: none;
} */

/* Hours section */
.hours-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0px;
  min-height: 77px;
  flex: none;
  order: 0;
  flex-grow: 0;
}

.hours-section .hours-table {
  border-bottom: 1px solid #7a7a7a;
  color: var(--dark-gray);

  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.hours-section .hours-table th,
.hours-section .hours-table td {
  padding: 4px 2px;
  text-align: center;
  border-top: 1px solid #7a7a7a;
  font-size: 12px;
}

.hours-section .hours-table td {
  height: 41px;
}

.hours-section .hours-table th {
  font-weight: 500;
  height: 36px;
}

.hours-section .hours-table th:first-child {
  text-align: left;
  padding-left: 8px;
}

.hours-section .hours-table td:first-child {
  text-align: left;
  padding-left: 8px;
}

/* Saturday column (7th column) */
.hours-section .hours-table th:nth-child(7) {
  color: #81ceff;
}

/* Sunday column (8th column) */
.hours-section .hours-table th:nth-child(8) {
  color: #ff8787;
}

.hours-section .hours-note {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 12px;
  gap: 10px;
  height: 49px;
  background: #ffffff;
  flex: none;
  order: 1;
  flex-grow: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 180%;
  color: #3a3a3a;
  margin-top: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  width: 100%;
}

/* Brands Grid */
.shop-brands {
}

.shop-brands h3 {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px 0px 10px;
  gap: 8px;
  border-bottom: 1px solid #2c88c4;
  flex: none;
  order: 0;
  align-self: stretch;
  flex-grow: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  color: #3a3a3a;
  margin: 0 0 20px 0;
}

.brands-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brand-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px;
  gap: 8px;
  width: 110px;
  height: 48px;
  background: #ffffff;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  flex: none;
  order: 0;
  flex-grow: 0;
  transition: all 0.3s;
  cursor: pointer;
}

.brand-item:hover {
  box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.35);
}

.brand-item.supported {
  background: #ffffff;
}

.brand-item.not-supported {
  opacity: 0.5;
  cursor: not-allowed;
}

.brand-icon {
  width: 34px;
  height: 40px;
  margin-left: 2px;
}

.brand-icon.iphone {
  background: url(./img/brand-iphone.png) -4.25px 0px / 125% 102.564% no-repeat;
}

.brand-icon.xperia {
  background: url(./img/brands.png) -44px -7.532px / 279.918% 702.011% no-repeat;
}

.brand-icon.galaxy {
  background: url(./img/brands.png) -6.704px -10.031px / 274.708% 750.343%
    no-repeat;
}

.brand-icon.pixel {
  background: url(./img/brands.png) -1.415px -44.161px / 201.657% 543.933%
    no-repeat;
}

.brand-icon.aquos {
  background: url(./img/brands.png) -38.958px -51.73px / 219.263% 613.326%
    no-repeat;
}

.brand-icon.oppo {
  background: url(./img/brands.png) -48.485px -85.441px / 259.073% 527.627%
    no-repeat;
}

.brand-icon.xiaomi {
  background: url(./img/brands.png) -4.946px -89.552px / 243.56% 548.513%
    no-repeat;
}

.brand-icon.arrows {
  background: url(./img/brands.png) -2.713px -143.562px / 209.045% 578.596%
    no-repeat;
}

.brand-icon.huawei {
  background: url(./img/brands.png) -48.018px -150.284px / 257.303% 609.302%
    no-repeat;
}

.brand-icon.zenfone {
  background: url(./img/brands.png) -17.709px -193.323px / 210.478% 593.508%
    no-repeat;
}

.brand-name {
  font-family: "Noto Sans JP", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 180%;
  color: #000000;
  flex: none;
  order: 1;
  flex-grow: 0;
}

/* Hours Table */
.shop-hours {
  padding: 20px;
  background: #f8f9fa;
}

/* Shop Images Swiper */
.shop-images-swiper {
  margin: 30px 0;
  position: relative;
  padding: 0;
}

.shop-swiper {
  width: 100%;
  height: 300px;
}

.shop-swiper .swiper-slide {
  text-align: center;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.shop-swiper .shop-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.shop-swiper .swiper-button-next,
.shop-swiper .swiper-button-prev {
  color: #4a90e2;
  background: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.shop-swiper .swiper-button-next::after,
.shop-swiper .swiper-button-prev::after {
  font-size: 18px;
  font-weight: bold;
}

.shop-swiper .swiper-pagination {
  bottom: -30px;
}

.shop-swiper .swiper-pagination-bullet {
  background: #4a90e2;
  opacity: 0.3;
}

.shop-swiper .swiper-pagination-bullet-active {
  opacity: 1;
}

/* Shop Basic Info */
.shop-basic-info {
  margin-bottom: 30px;
}

.shop-basic-info h3,
.shop-reviews h3 {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.shop-basic-info h3 .icon,
.shop-reviews h3 .icon {
  width: 38px;
  object-fit: contain;
}

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

.info-table th,
.info-table td {
  padding: 15px;
  text-align: left;
  border: 1px solid #a5d6a7;
}

.info-table th {
  background-color: #add9af38;
  width: 160px;
  color: var(--dark-gray);
  font-weight: normal;
}

.info-table th h4 {
  display: inline-block;
  font-weight: normal;
}

.info-table td {
  background-color: #fff;
}

.info-table th svg {
  width: 14px;
  height: 16px;
  flex-shrink: 0;
}

.method-tag {
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 8px 12px;
  gap: 8px;
  height: 30px;
  border-radius: 4px;
  font-family: "Noto Sans JP", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 100%;
  margin-right: 8px;
  flex: none;
  flex-grow: 0;
}

.method-tag.green {
  background: #a5d6a7;
  color: #ffffff;
}

.method-tag.gray {
  box-sizing: border-box;
  background: rgba(245, 245, 245, 0.1);
  border: 1px solid #adadad;
  color: #adadad;
  font-family: "Helvetica Neue", "Noto Sans JP", sans-serif;
}

/* Reviews Section */
.shop-reviews {
  margin-bottom: 30px;
}

.reviews-swiper-outer {
  background-color: #fff;
  padding: 16px 0;
}

/* Reviews Swiper */
.swiper.reviews-swiper {
  padding: 16px 16px 32px;
  position: relative;
}

.reviews-swiper .swiper-slide {
  width: 240px;
  height: auto;
}

.reviews-swiper .swiper-button-next,
.reviews-swiper .swiper-button-prev {
  color: #4a90e2;
  background: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.reviews-swiper .swiper-button-next::after,
.reviews-swiper .swiper-button-prev::after {
  font-size: 18px;
  font-weight: bold;
}

.review-card {
  box-sizing: border-box;
  position: relative;
  width: 240px;
  border: 1px solid #adadad;
  border-radius: 2px;
  flex: none;
  order: 3;
  flex-grow: 0;
  z-index: 3;
  padding: 24px;
  background: #ffffff;
  position: relative;
}

.review-card:before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  left: 20px;
  bottom: -6px;
  border-radius: 2px;
  border-right: 1px solid #adadad;
  border-bottom: 1px solid #adadad;
  transform: rotate(45deg);
  background: white;
}

.review-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px;
  width: 192px;
  background: #f2b50d;
  margin-bottom: 10px;
  padding: 5px 10px;
}

.review-brand span:first-child {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  /* line-height: 150%; */
  /* text-align: center; */
  color: #ffffff;
  /* flex: none;
  order: 0;
  flex-grow: 0; */
}

.review-brand span:last-child {
  font-family: "Noto Sans JP", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  display: block;
  color: #ffffff;
}

.review-text {
  font-size: 12px;
  line-height: 1.6;
  color: var(--dark-gray);
  margin-bottom: 15px;
  height: 54px;
  overflow-y: scroll;
}

.review-user {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0px;
  gap: 2px;
  width: 84px;
  height: 18px;
  background: #f2b50d;
  border-radius: 12px;
  flex: none;
  order: 2;
  flex-grow: 0;
  z-index: 2;
}

.review-user .user-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px;
  gap: 8px;
  height: 18px;
  flex: none;
  order: 0;
  flex-grow: 0;
}

.review-user .user-info span {
  font-family: "Noto Sans JP", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 150%;
  color: #ffffff;
  flex: none;
  flex-grow: 0;
}

/* CTA Buttons */
.shop-cta-buttons {
  display: flex;
  gap: 0;
  margin: 30px 0;
  justify-content: center;
  align-items: center;
}

.cta-btn {
  text-decoration: none;
  transition: transform 0.3s;
}

.cta-btn.blue {
  position: relative;
  width: 318px;
  height: 72px;
  flex: none;
  order: 0;
  flex-grow: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -2px;
}

.cta-btn.blue::before {
  content: "";
  position: absolute;
  width: 318px;
  height: 65.62px;
  left: 0;
  top: 6.38px;
  background: #1c5981;
  border-radius: 67px;
  z-index: 1;
}

.cta-btn.blue::after {
  content: "";
  position: absolute;
  width: 318px;
  height: 65.62px;
  left: 0;
  top: 0;
  background: #2c88c4;
  border-radius: 67px;
  z-index: 2;
}

.cta-btn.blue span {
  position: relative;
  font-family: "Noto Sans JP", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  line-height: 150%;
  text-align: center;
  letter-spacing: -0.011em;
  color: #ffffff;
  z-index: 3;
}

.cta-btn-line {
  display: inline-block;
  transition: transform 0.3s, opacity 0.3s;
  flex: 0 0 375px;
}

.cta-btn-line img {
  display: block;
  width: 100%;
  object-fit: contain;
}

.cta-btn-line img.btn-line-desktop {
  display: block;
}

.cta-btn-line img.btn-line-mobile {
  display: none;
}

.cta-btn.blue:hover {
  transform: translateY(-2px);
}

.cta-btn-line:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
  .top-nav {
    display: none;
  }

  .site-main {
    padding: 20px 0;
  }

  .site-header {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    width: 100%;
  }

  .header-nav {
    display: none;
  }

  .header-content {
    padding: 10px 15px;
    justify-content: flex-end;
  }

  .mobile-menu-toggle {
    display: block;
    margin-left: 0;
    width: auto;
    flex-shrink: 0;
  }

  .header-top {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .main-layout {
    flex-direction: column;
    gap: 30px;
  }

  .content-column {
    flex: 1 1 100%;
    padding: 0 16px;
    width: 100%;
  }

  .articles-grid {
    justify-content: center;
  }

  .article-card {
    width: 100%;
    max-width: 268px;
  }

  .sidebar {
    position: static;
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
    padding: 0 16px;
  }

  .hero-image {
    border-radius: 0;
  }

  .articles-section {
    padding: 20px;
  }

  .site-title {
    font-size: 20px;
    text-align: center;
  }

  nav ul {
    gap: 10px;
    padding: 0 20px;
    margin-bottom: 20px;
  }

  /* Area Page Mobile */
  .area-layout {
    flex-direction: column;
  }

  .area-header {
    padding: 0;
  }

  .area-title {
    font-size: 20px;
    padding: 0;
  }

  .area-title::before,
  .area-title::after {
    width: calc(100% - 20px);
  }

  /* Shop Single Mobile */
  .shop-layout {
    flex-direction: column;
  }

  .shop-content {
    width: 100%;
    flex: 1 1 auto;
  }

  /* Area page (single.php) mobile */
  .area-content {
    padding: 0 20px;
    max-width: 100%;
  }

  .shop-card {
    padding: 20px;
    margin-bottom: 20px;
  }

  .shop-card-header {
    padding: 0;
  }

  .shop-name {
    font-size: 24px;
    flex: 1;
  }

  .rating-bracket,
  .rating-value {
    font-size: 24px;
  }

  .offer-label {
    text-align: center;
    padding-left: 0;
  }

  .offer-box {
    height: auto;
    line-height: 130%;
  }

  .shop-info-columns {
    flex-direction: column;
    gap: 20px;
  }

  .info-column-left,
  .info-column-right {
    flex: 1 1 100%;
    width: 100%;
  }

  .shop-badges {
    gap: 10px;
    justify-content: space-between;
  }

  .badge-item {
    flex-basis: calc(50% - 8px);
    padding: 10px;
  }

  .hours-section .hours-table {
    font-size: 12px;
  }

  .hours-section .hours-table th,
  .hours-section .hours-table td {
    padding: 4px;
  }

  .brands-grid {
    justify-content: space-between;
    gap: 10px;
  }

  .brand-item {
    flex-basis: calc(50% - 8px);
    padding: 8px;
  }

  /* Shop images swiper mobile */
  .shop-images-swiper {
    margin: 20px -16px;
    overflow: visible;
  }

  .shop-swiper {
    padding-left: 16px;
  }

  .shop-swiper .swiper-slide {
    width: 240px;
  }

  .shop-swiper .swiper-button-next,
  .shop-swiper .swiper-button-prev {
    display: none;
  }

  /* Reviews swiper mobile */
  .reviews-swiper {
    padding: 0;
    padding-left: 16px;
    overflow: visible;
  }

  .reviews-swiper .swiper-slide {
    width: 240px;
  }

  .reviews-swiper .swiper-button-next,
  .reviews-swiper .swiper-button-prev {
    display: none;
  }

  /* Shop basic info mobile */
  .shop-basic-info {
    padding: 16px;
    margin: 20px -16px;
  }

  .info-table {
    font-size: 14px;
  }

  .info-table th {
    display: block;
    width: 100%;
    border: none;
    padding: 12px 16px;
  }

  .info-table td {
    display: block;
    width: 100%;
    border: none;
    padding: 12px 16px;
  }

  .method-tag {
    font-size: 12px;
    padding: 6px 10px;
    margin: 2px;
  }

  /* CTA buttons mobile */
  .shop-cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 0 16px;
  }

  .cta-btn.blue {
    width: 100%;
    max-width: 318px;
    top: 0;
  }

  .cta-btn-line {
    flex-basis: auto;
  }

  .cta-btn-line img {
    width: 100%;
    max-width: 318px;
  }

  .cta-btn-line img.btn-line-desktop {
    display: none;
  }

  .cta-btn-line img.btn-line-mobile {
    display: block;
  }

  .shop-header {
    padding: 20px;
  }

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

  .shop-subtitle {
    font-size: 16px;
  }

  .shop-cta-buttons {
    flex-direction: column;
    padding: 0;
  }

  .shop-images-swiper {
    padding: 0 16px;
  }

  .shop-swiper {
    height: 200px;
  }
}

/* Location Cards */
.location-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.location-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 16px;
  gap: 0;
  width: 100%;
  min-height: 104px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s;
  position: relative;
}

.location-card:hover {
  transform: translateY(-2px);
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.25);
}

.location-card.orange {
  background: #f2b50d;
}

.location-card.blue {
  background: #2c88c4;
}

.location-icon {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 72px;
  height: 72px;
  font-size: 48px;
  flex-shrink: 0;
}

.location-icon img {
  width: 48px;
  height: auto;
}

.location-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  height: 72px;
  justify-content: center;
  align-items: flex-start;
}

.location-text h4 {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  color: #ffffff;
  height: 16px;
}

.location-text p {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: #f5f5f5;
}

/* Orange card specific text styles */
.location-card.orange .location-text p.area-text {
  font-weight: 700;
  font-size: 24px;
  line-height: 100%;
  height: 24px;
}

.location-card.orange .location-text p.sub-text {
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  height: 16px;
  color: #f5f5f5;
}

/* Blue card text styles */
.location-card.blue .location-text p.main-text {
  font-weight: 700;
  font-size: 24px;
  line-height: 100%;
  height: 24px;
}

/* Arrow icon for location cards */
.location-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.location-arrow img {
  width: 24px;
  height: 24px;
}

/* Swiper scrollbar styles */
.reviews-swiper .swiper-scrollbar {
  position: relative;
  margin-top: 20px;
  height: 4px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 2px;
}

.reviews-swiper .swiper-scrollbar-drag {
  height: 100%;
  background: #333;
  border-radius: 2px;
  cursor: grab;
}

.reviews-swiper .swiper-scrollbar-drag:active {
  cursor: grabbing;
}

/* Mobile adjustments for scrollbar */
@media (max-width: 768px) {
  .reviews-swiper .swiper-scrollbar {
    margin-top: 15px;
  }
}
