/*
Theme Name: Beach Side Japan
Theme URI: https://example.com/beachside-japan
Author: Beach Side Japan Team
Author URI: https://example.com/
Description: 全国の海水浴場検索と英語集客ページに対応したWordPressテーマ。地域別一覧、SEO本文、OGP画像取得、English landing pagesに対応。
Version: 2.5.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: beachside-japan
Tags: custom-post-type, grid-layout, gallery, japanese, search-form, accessibility-ready
*/

/* ===========================
   Reset / Base
=========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic",
    "Meiryo", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #1a1a1a;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.7;
}

a:focus-visible {
  outline: 2px solid #0099c8;
  outline-offset: 2px;
}

ul, ol { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; padding: 0; }

/* Screen reader text */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #0099c8;
  border-radius: 3px;
  clip: auto !important;
  clip-path: none;
  color: #fff;
  display: block;
  font-size: 14px;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* ===========================
   Layout container
=========================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   Header
=========================== */
.site-header {
  padding: 16px 0;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #eeeeee;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-branding { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.site-logo-link, .custom-logo-link { display: inline-block; line-height: 0; }
.site-logo-img, .custom-logo {
  width: auto;
  height: 56px;
  max-width: 240px;
  object-fit: contain;
  display: block;
}

.global-nav { flex: 1; display: flex; justify-content: center; }
.global-nav ul { display: flex; gap: 28px; }
.global-nav a { font-size: 14px; font-weight: 500; color: #1a1a1a; padding: 8px 0; }

.header-actions { display: flex; align-items: center; gap: 12px; }

/* Language switcher / GTranslate */
.language-switcher {
  position: relative;
  z-index: 120;
}

.language-switcher__button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #0099c8 0%, #00688a 100%);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 18px rgba(0, 153, 200, 0.2);
}

.language-switcher__button:hover,
.language-switcher.is-open .language-switcher__button {
  background: #ff7a59;
  opacity: 1;
}

.language-switcher__icon { font-size: 14px; line-height: 1; }
.language-switcher__chevron { transition: transform 0.2s ease; }
.language-switcher.is-open .language-switcher__chevron { transform: rotate(180deg); }

.language-switcher__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 220px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid #e6eef2;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 64, 92, 0.16);
}

.language-switcher__panel::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 22px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-left: 1px solid #e6eef2;
  border-top: 1px solid #e6eef2;
  transform: rotate(45deg);
}

.language-switcher__panel select,
.language-switcher__panel .gt_selector,
.language-switcher__panel .goog-te-combo {
  width: 100%;
  min-height: 40px;
  border: 1px solid #d6e6ed;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13px;
  color: #1a1a1a;
  background: #ffffff;
}

.language-switcher__panel a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
}

.language-switcher__panel a:hover { background: #f0fbff; opacity: 1; }
.language-switcher__empty { margin: 0; color: #777; font-size: 12px; line-height: 1.6; }


/* ===========================
   Hero Search
=========================== */
.hero-search {
  background: linear-gradient(135deg, #0099c8 0%, #00688a 100%);
  color: #fff;
  padding: 56px 0 48px;
  text-align: center;
}

.hero-search__title {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}

.hero-search__lead {
  font-size: 14px;
  opacity: 0.92;
  margin: 0 0 28px;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.search-form input[type="search"],
.search-form input[type="text"] {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  padding: 10px 0;
  background: transparent;
  color: #1a1a1a;
  min-width: 0;
}

.search-form input[type="search"]::placeholder { color: #999; }

.search-form button[type="submit"] {
  background: #ff7a59;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.search-form button[type="submit"]:hover { background: #e8633d; opacity: 1; }

/* ===========================
   Filter bar (hierarchical: area -> prefecture)
=========================== */
.filter-bar {
  background: #f5f5f5;
  border-radius: 20px;
  padding: 16px 20px;
  margin: 24px 0 32px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-bar__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  padding: 6px 16px 6px 0;
  border-right: 1px solid #d9d9d9;
  flex-shrink: 0;
}

.filter-bar__icon { width: 18px; height: 18px; fill: currentColor; }

.filter-bar__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
  align-items: flex-start;
}

.filter-bar__item {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
}

.filter-bar__item > a,
.filter-bar__item > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #555;
  padding: 6px 14px;
  border-radius: 999px;
  background: transparent;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.filter-bar__item > a:hover,
.filter-bar__item > button:hover {
  background: #ffffff;
  opacity: 1;
  color: #1a1a1a;
}

.filter-bar__item.is-active > a,
.filter-bar__item.is-active > button {
  background: #0099c8;
  color: #ffffff;
}

.filter-bar__item .count {
  font-size: 11px;
  opacity: 0.7;
}

.filter-bar__chevron {
  transition: transform 0.2s ease;
}

.filter-bar__group.is-expanded > .filter-bar__group-toggle .filter-bar__chevron {
  transform: rotate(180deg);
}

.filter-bar__group.is-expanded > .filter-bar__group-toggle {
  background: #ffffff;
  color: #1a1a1a;
}

/* Sublist (prefectures) */
.filter-bar__sublist {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 8px 0 4px;
  padding: 12px 14px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e6e6e6;
  width: 100%;
  flex-basis: 100%;
  order: 99; /* parent button の下に表示 */
}

.filter-bar__sublist[hidden] {
  display: none;
}

.filter-bar__subitem a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #555;
  padding: 5px 12px;
  border-radius: 999px;
  background: #f5f5f5;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.filter-bar__subitem a:hover {
  background: #e0f2fa;
  opacity: 1;
  color: #00688a;
}

.filter-bar__subitem.is-active a {
  background: #0099c8;
  color: #ffffff;
}

/* リスト全体で地方チップの折り返しを押さえるための調整 */
.filter-bar__group {
  flex-wrap: wrap;
  display: flex;
}
.filter-bar__group > a,
.filter-bar__group > .filter-bar__group-toggle {
  flex-shrink: 0;
}

/* ===========================
   Results header
=========================== */
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.results-count { font-size: 14px; font-weight: 500; }

.results-count__num {
  font-size: 36px;
  font-weight: 800;
  color: #0099c8;
  letter-spacing: -0.02em;
  margin-right: 6px;
  vertical-align: -2px;
}

/* ===========================
   Pagination
=========================== */
.pagination { display: flex; align-items: center; gap: 6px; }

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 500;
  background: #e9e9e9;
  color: #1a1a1a;
  padding: 0 8px;
}

.pagination .current { background: #0099c8; color: #ffffff; }
.pagination a.prev, .pagination a.next,
.pagination span.prev, .pagination span.next {
  background: #ffffff;
  border: 1px solid #1a1a1a;
}
.pagination span.disabled { opacity: 0.4; background: #f5f5f5; border: 1px solid #d9d9d9; }
.pagination .dots { background: #e9e9e9; }

/* ===========================
   Beach grid (3 cols)
=========================== */
.beach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
  margin: 0 0 48px;
}

.beach-card { display: block; background: transparent; }

.beach-card__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  background: #e2e2e2;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
}

.beach-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.beach-card:hover .beach-card__thumb img { transform: scale(1.04); }

.beach-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #1a1a1a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.beach-card__source {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.beach-card__title {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 6px;
  line-height: 1.4;
}

.beach-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #888;
}

.beach-card__date { color: #888; }

.beach-card__tag {
  background: #1a1a1a;
  color: #ffffff;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
}

.beach-card__link-icon {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #0099c8;
  font-size: 11px;
  font-weight: 600;
}

/* ===========================
   Single beach page
=========================== */
.single-beach { padding: 32px 0 64px; }

.single-beach__breadcrumb {
  font-size: 12px;
  color: #888;
  margin-bottom: 24px;
}

.single-beach__breadcrumb a { color: #0099c8; }

.single-beach__title {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.single-beach__region {
  display: inline-block;
  background: #0099c8;
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 24px;
}

.single-beach__hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 8px;
  background: #e2e2e2;
  position: relative;
}

.single-beach__hero img { width: 100%; height: 100%; object-fit: cover; }

.single-beach__hero-source {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 4px;
}

.single-beach__image-credit {
  font-size: 11px;
  color: #888;
  margin: 0 0 32px;
  text-align: right;
}

.single-beach__body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
}

.single-beach__content {
  font-size: 15px;
  line-height: 1.9;
  color: #333;
}

.single-beach__content p { margin: 0 0 1.2em; }

.single-beach__lead-box {
  position: relative;
  overflow: hidden;
  margin: 0 0 28px;
  padding: 30px 32px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 122, 89, 0.18) 0 18%, transparent 19%),
    linear-gradient(135deg, #f0fbff 0%, #ffffff 58%, #fff5f1 100%);
  border: 1px solid #d8eef6;
  box-shadow: 0 18px 45px rgba(0, 104, 138, 0.08);
}

.single-beach__lead-box::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -42px;
  width: 180px;
  height: 88px;
  border-radius: 999px;
  background: rgba(0, 153, 200, 0.14);
  box-shadow: -70px -8px 0 rgba(0, 153, 200, 0.08);
  transform: rotate(-10deg);
}

.single-beach__lead-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px !important;
  color: #0099c8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.single-beach__lead-label::before {
  content: "";
  width: 28px;
  height: 2px;
  background: #ff7a59;
  border-radius: 999px;
}

.single-beach__lead-title {
  position: relative;
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.45;
  color: #063a50;
}

.single-beach__lead-text {
  position: relative;
  z-index: 1;
  font-size: 16px;
  line-height: 2;
  color: #2c3b42;
}

.single-beach__lead-text p:last-child { margin-bottom: 0; }


.single-beach__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ff7a59;
  color: #fff;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  margin: 16px 0;
}

.single-beach__cta:hover { background: #e8633d; opacity: 1; }

.single-beach__sidebar {
  background: #f5f5f5;
  border-radius: 16px;
  padding: 24px;
  align-self: start;
  position: sticky;
  top: 100px;
}

.single-beach__sidebar h2 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #d9d9d9;
}

.info-list { font-size: 13px; }
.info-list dt { font-weight: 600; color: #555; margin-top: 12px; }
.info-list dt:first-child { margin-top: 0; }
.info-list dd { margin: 4px 0 0; color: #1a1a1a; }
.info-list a { color: #0099c8; word-break: break-all; }
.info-list__map-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
}

/* Map section on single page */
.single-beach__map {
  margin: 32px 0 8px;
  padding: 24px;
  background: #f5fbff;
  border-radius: 16px;
  border: 1px solid #e0f0f8;
}

.single-beach__map-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #00688a;
}

.single-beach__map-title svg { color: #ff7a59; }

.single-beach__map-address {
  font-size: 13px;
  color: #555;
  margin: 0 0 14px;
}

.single-beach__map-frame {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #ddd;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.single-beach__map-frame iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

.single-beach__map-link {
  margin: 12px 0 0;
  text-align: right;
  font-size: 13px;
}

.single-beach__map-link a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #0099c8;
  font-weight: 600;
}

@media (max-width: 768px) {
  .single-beach__map {
    padding: 16px;
  }
  .single-beach__map-frame iframe {
    height: 280px;
  }
}

/* ===========================
   Footer
=========================== */
.site-footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 48px 0 32px;
  margin-top: 64px;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}

.site-footer h3 { color: #fff; font-size: 14px; margin: 0 0 12px; }
.site-footer a { color: #ccc; }

.site-footer__copy {
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: #888;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid #333;
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 1024px) {
  .beach-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .single-beach__body { grid-template-columns: 1fr; }
  .single-beach__sidebar { position: static; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .site-header__inner { flex-wrap: wrap; gap: 12px; }
  .global-nav { order: 3; width: 100%; justify-content: flex-start; }
  .global-nav ul { gap: 16px; flex-wrap: wrap; }
  .site-logo-img, .custom-logo { height: 44px; }
  .hero-search { padding: 36px 0 32px; }
  .hero-search__title { font-size: 22px; }
  .search-form { flex-wrap: wrap; padding: 16px; border-radius: 16px; }
  .search-form input[type="search"] { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 8px; margin-bottom: 8px; }
  .search-form button[type="submit"] { width: 100%; justify-content: center; }
  .filter-bar { border-radius: 16px; padding: 16px; }
  .filter-bar__label { width: 100%; border-right: none; border-bottom: 1px solid #d9d9d9; padding: 0 0 10px; }
  .results-header { flex-direction: column; align-items: flex-start; }
  .beach-grid { grid-template-columns: 1fr; gap: 24px; }
  .single-beach__title { font-size: 24px; }
  .language-switcher__panel { right: auto; left: 0; min-width: 210px; }
  .language-switcher__panel::before { right: auto; left: 24px; }
  .single-beach__lead-box { padding: 24px 20px; border-radius: 18px; }
  .single-beach__lead-title { font-size: 19px; }
}


/* Related beaches on single page */
.single-beach__related {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid #e6eef2;
}

.single-beach__related-heading {
  margin-bottom: 24px;
}

.single-beach__related-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: #0099c8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.single-beach__related-label::before {
  content: "";
  width: 32px;
  height: 2px;
  background: #ff7a59;
  border-radius: 999px;
}

.single-beach__related-heading h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.4;
  color: #063a50;
}

.single-beach__related-heading p {
  margin: 0;
  color: #5b6b73;
  font-size: 14px;
  line-height: 1.8;
}

.single-beach__related-grid {
  margin-bottom: 0;
}



/* ===========================
   Contact Form 7 / Listing Request Page - FORCE APPLY
   2026-05 contact design
=========================== */
body.page .page-main--contact,
body.page-id-151 .page-main--contact {
  background: linear-gradient(180deg, #eefbff 0%, #ffffff 42%, #f8fcff 100%);
}

body.page .page-hero--contact,
body.page-id-151 .page-hero--contact {
  position: relative;
  overflow: hidden;
  padding: 72px 0 56px;
  color: #07364a;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 181, 108, .36), transparent 26%),
    radial-gradient(circle at 86% 14%, rgba(0, 153, 200, .22), transparent 30%),
    linear-gradient(135deg, #e8fbff 0%, #ffffff 55%, #fff6eb 100%);
  border-bottom: 1px solid rgba(0,153,200,.14);
}
body.page .page-hero--contact::after,
body.page-id-151 .page-hero--contact::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -42px;
  height: 92px;
  background: rgba(0,153,200,.12);
  border-radius: 50% 50% 0 0;
}
.page-hero__inner { position: relative; z-index: 1; max-width: 980px; }
.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: #0099c8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.page-hero__eyebrow::before { content: "🌊"; letter-spacing: 0; }
.page-hero__title {
  margin: 0;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.18;
  letter-spacing: .02em;
}
.page-hero__text {
  max-width: 720px;
  margin: 18px 0 0;
  color: #526673;
  font-size: 16px;
  line-height: 1.9;
}

body.page .page-content-wrap,
body.page-id-151 .page-content-wrap {
  padding-top: 48px;
  padding-bottom: 80px;
}
body.page .page-content-wrap--contact,
body.page-id-151 .page-content-wrap--contact {
  display: grid;
  grid-template-columns: minmax(240px, 330px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.page-content-card {
  background: #fff;
  border: 1px solid rgba(0,153,200,.14);
  border-radius: 28px;
  box-shadow: 0 22px 60px rgba(2, 70, 92, .10);
}
.page-content-card__body { padding: clamp(24px, 4vw, 44px); }
.page-content-card__body > :first-child { margin-top: 0; }
.page-content-card__body > p {
  color: #526673;
  font-size: 15px;
  line-height: 1.9;
}
.contact-guide { position: sticky; top: 96px; }
.contact-guide__card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  background: linear-gradient(160deg, #0099c8 0%, #14b8cf 54%, #78d9e9 100%);
  color: #fff;
  border-radius: 28px;
  box-shadow: 0 22px 48px rgba(0, 130, 170, .24);
}
.contact-guide__card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 150px;
  height: 150px;
  background: rgba(255,255,255,.16);
  border-radius: 50%;
}
.contact-guide__icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  background: rgba(255,255,255,.20);
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 18px;
  font-size: 26px;
}
.contact-guide h2 { margin: 0 0 12px; color: #fff; font-size: 22px; }
.contact-guide p { margin: 0 0 18px; color: rgba(255,255,255,.92); line-height: 1.8; }
.contact-guide ul { list-style: none; margin: 0; padding: 0; }
.contact-guide li {
  position: relative;
  padding-left: 24px;
  margin: 12px 0;
  color: rgba(255,255,255,.94);
  font-size: 14px;
  line-height: 1.7;
}
.contact-guide li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 900;
  color: #fff6c2;
}

.bsj-contact-form {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}
.bsj-contact-form p { margin: 0; }
.bsj-contact-form label {
  display: block;
  color: #07364a;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
}
.bsj-contact-form .required {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #ff7a59;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  vertical-align: middle;
}
.bsj-contact-form .wpcf7-form-control-wrap { display: block; margin-top: 8px; }
.bsj-contact-form input[type="text"],
.bsj-contact-form input[type="email"],
.bsj-contact-form input[type="url"],
.bsj-contact-form textarea,
.bsj-contact-form select {
  width: 100% !important;
  box-sizing: border-box;
  padding: 14px 16px !important;
  border: 1px solid #d8edf4 !important;
  border-radius: 16px !important;
  background: #f7fcff !important;
  color: #12323f !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.bsj-contact-form textarea { min-height: 132px; resize: vertical; }
.bsj-contact-form input:focus,
.bsj-contact-form textarea:focus,
.bsj-contact-form select:focus {
  outline: none !important;
  border-color: #0099c8 !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(0,153,200,.13) !important;
}
.bsj-contact-form ::placeholder { color: #9aaeb8; }
.bsj-contact-form .wpcf7-acceptance {
  display: block;
  padding: 16px 18px;
  background: #f7fcff;
  border: 1px solid #d8edf4;
  border-radius: 18px;
}
.bsj-contact-form .wpcf7-list-item { margin: 0; }
.bsj-contact-form .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 700;
  color: #526673;
}
.bsj-contact-form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: #0099c8;
  flex: 0 0 auto;
}
.bsj-contact-form .form-submit { margin-top: 8px; }
.bsj-contact-form input[type="submit"].wpcf7-submit,
.bsj-contact-form .wpcf7-submit {
  display: inline-flex !important;
  width: 100% !important;
  justify-content: center !important;
  align-items: center !important;
  min-height: 56px !important;
  padding: 15px 24px !important;
  border: none !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #ff9f4a 0%, #ff7a59 100%) !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  letter-spacing: .04em !important;
  cursor: pointer !important;
  box-shadow: 0 14px 28px rgba(255, 122, 89, .28) !important;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.bsj-contact-form .wpcf7-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 18px 34px rgba(255, 122, 89, .34) !important;
}
.bsj-contact-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #d64545;
  font-size: 13px;
  font-weight: 700;
}
.page-content-card .wpcf7-response-output {
  margin: 24px 0 0 !important;
  padding: 14px 16px !important;
  border-radius: 14px !important;
  font-weight: 700;
}

@media (max-width: 960px) {
  body.page .page-content-wrap--contact,
  body.page-id-151 .page-content-wrap--contact {
    grid-template-columns: 1fr;
  }
  .contact-guide { position: static; }
}
@media (max-width: 768px) {
  body.page .page-hero--contact,
  body.page-id-151 .page-hero--contact { padding: 48px 0 40px; }
  body.page .page-content-wrap,
  body.page-id-151 .page-content-wrap { padding-top: 28px; padding-bottom: 56px; }
  .page-content-card { border-radius: 22px; }
  .page-content-card__body { padding: 22px 18px; }
  .contact-guide__card { border-radius: 22px; padding: 22px; }
}


/* ===========================
   Fixed Page Common Decoration
   2026-05 page design unified
=========================== */
body.page .page-main--designed {
  background: linear-gradient(180deg, #eefbff 0%, #ffffff 42%, #f8fcff 100%);
}

body.page .page-hero--designed {
  position: relative;
  overflow: hidden;
  padding: 72px 0 56px;
  color: #07364a;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 181, 108, .36), transparent 26%),
    radial-gradient(circle at 86% 14%, rgba(0, 153, 200, .22), transparent 30%),
    linear-gradient(135deg, #e8fbff 0%, #ffffff 55%, #fff6eb 100%);
  border-bottom: 1px solid rgba(0,153,200,.14);
}

body.page .page-hero--designed::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -42px;
  height: 92px;
  background: rgba(0,153,200,.12);
  border-radius: 50% 50% 0 0;
}

body.page .page-content-wrap--designed {
  padding-top: 48px;
  padding-bottom: 80px;
}

body.page .page-content-wrap--single,
body.page .page-content-wrap--contact {
  display: block;
  max-width: 980px;
}

body.page .page-content-card {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(0,153,200,.14);
  border-radius: 28px;
  box-shadow: 0 22px 60px rgba(2, 70, 92, .10);
}

body.page .page-content-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #0099c8 0%, #78d9e9 55%, #ff9f4a 100%);
}

body.page .page-content-card__body {
  padding: clamp(28px, 5vw, 52px);
}

body.page .page-content-card__body > :first-child { margin-top: 0; }
body.page .page-content-card__body > :last-child { margin-bottom: 0; }

body.page .page-content-card__body p {
  color: #526673;
  font-size: 15.5px;
  line-height: 2;
}

body.page .page-content-card__body h2,
body.page .page-content-card__body .wp-block-heading {
  position: relative;
  margin: 38px 0 16px;
  padding-left: 18px;
  color: #07364a;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.45;
  letter-spacing: .02em;
}

body.page .page-content-card__body h2::before,
body.page .page-content-card__body .wp-block-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35em;
  width: 5px;
  height: 1.25em;
  border-radius: 999px;
  background: linear-gradient(180deg, #0099c8 0%, #ff9f4a 100%);
}

body.page .page-content-card__body ul,
body.page .page-content-card__body ol {
  margin: 18px 0 28px;
  padding: 22px 24px 22px 44px;
  background: #f7fcff;
  border: 1px solid #d8edf4;
  border-radius: 22px;
  color: #526673;
  line-height: 1.9;
}

body.page .page-content-card__body li + li { margin-top: 8px; }

body.page .page-content-card__body a {
  color: #007fa8;
  font-weight: 800;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

body.page .contact-guide,
body.page .contact-guide--inline {
  position: static !important;
  top: auto !important;
  margin: 0 0 28px;
}

body.page .contact-guide--inline .contact-guide__card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 28px;
}

body.page .contact-guide--inline .contact-guide__icon {
  margin-bottom: 0;
}

body.page .contact-guide--inline .contact-guide__body h2 {
  margin-top: 0;
}

@media (max-width: 768px) {
  body.page .page-hero--designed {
    padding: 48px 0 40px;
  }

  body.page .page-content-wrap--designed {
    padding-top: 28px;
    padding-bottom: 56px;
  }

  body.page .page-content-card {
    border-radius: 22px;
  }

  body.page .page-content-card__body {
    padding: 24px 18px;
  }

  body.page .contact-guide--inline .contact-guide__card {
    grid-template-columns: 1fr;
    border-radius: 22px;
    padding: 22px;
  }
}

/* ===========================
   Single Beach Designed Header / Page Card
   2026-05 single beach page design
=========================== */
.single-beach-page.page-main--designed {
  background: linear-gradient(180deg, #eefbff 0%, #ffffff 42%, #f8fcff 100%);
}

.single-beach-page .page-hero--designed.page-hero--beach {
  position: relative;
  overflow: hidden;
  padding: 72px 0 56px;
  color: #07364a;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 181, 108, .36), transparent 26%),
    radial-gradient(circle at 86% 14%, rgba(0, 153, 200, .22), transparent 30%),
    linear-gradient(135deg, #e8fbff 0%, #ffffff 55%, #fff6eb 100%);
  border-bottom: 1px solid rgba(0,153,200,.14);
}

.single-beach-page .page-hero--designed.page-hero--beach::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -42px;
  height: 92px;
  background: rgba(0,153,200,.12);
  border-radius: 50% 50% 0 0;
}

.single-beach-page .page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.single-beach-page .page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: #0099c8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.single-beach-page .page-hero__eyebrow::before {
  content: "🌊";
  letter-spacing: 0;
}

.single-beach-page .page-hero__title {
  margin: 0;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.18;
  letter-spacing: .02em;
  color: #07364a;
}

.single-beach-page .page-hero__text {
  max-width: 720px;
  margin: 18px 0 0;
  color: #526673;
  font-size: 16px;
  line-height: 1.9;
}

.single-beach--designed {
  position: relative;
  margin-top: 48px;
  margin-bottom: 80px;
  padding: 48px 56px 56px;
  background: #fff;
  border: 1px solid rgba(0,153,200,.14);
  border-radius: 28px;
  box-shadow: 0 22px 60px rgba(0,84,112,.08);
  overflow: hidden;
}

.single-beach--designed::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #1c8fc4 0%, #5cc6db 48%, #ff9b5f 100%);
}

.single-beach--designed .single-beach__breadcrumb {
  margin: 0 0 22px;
  color: #6d7f89;
}

.single-beach--designed .single-beach__region {
  margin-bottom: 22px;
  background: #eaf8fc;
  color: #007fa8;
  border: 1px solid rgba(0,153,200,.18);
}

.single-beach--designed .single-beach__hero {
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(0,84,112,.12);
  border: 1px solid rgba(0,153,200,.12);
}

.single-beach--designed .single-beach__body {
  margin-top: 34px;
}

.single-beach--designed .single-beach__sidebar {
  background: linear-gradient(180deg, #f5fbff 0%, #ffffff 100%);
  border: 1px solid rgba(0,153,200,.14);
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(0,84,112,.06);
}

.single-beach--designed .single-beach__sidebar h2 {
  color: #07364a;
  border-bottom-color: rgba(0,153,200,.16);
}

.single-beach--designed .single-beach__related {
  margin-top: 58px;
  padding-top: 38px;
  border-top: 1px solid rgba(0,153,200,.12);
}

@media (max-width: 768px) {
  .single-beach-page .page-hero--designed.page-hero--beach {
    padding: 48px 0 40px;
  }

  .single-beach-page .page-hero__title {
    font-size: clamp(28px, 8vw, 36px);
  }

  .single-beach-page .page-hero__text {
    font-size: 14px;
  }

  .single-beach--designed {
    margin-top: 28px;
    margin-bottom: 56px;
    padding: 28px 18px 34px;
    border-radius: 22px;
  }

  .single-beach--designed .single-beach__body {
    margin-top: 24px;
  }
}

/* ===========================
   Single beach sidebar sticky (PC only)
=========================== */
@media (min-width: 1025px) {
  .single-beach--designed {
    overflow: visible;
  }

  .single-beach--designed .single-beach__body {
    align-items: start;
  }

  .single-beach--designed .single-beach__sidebar {
    position: sticky !important;
    top: 112px;
    align-self: start;
    max-height: calc(100vh - 132px);
    overflow-y: auto;
    z-index: 2;
  }
}

@media (max-width: 1024px) {
  .single-beach--designed .single-beach__sidebar {
    position: static !important;
    top: auto;
    max-height: none;
    overflow: visible;
  }
}


/* ===========================
   SEO content sections for beach detail
=========================== */
.single-beach__detail-section {
  margin: 0 0 24px;
  padding: 26px 30px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(0,153,200,.12);
  box-shadow: 0 12px 32px rgba(0,84,112,.05);
}

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

.single-beach__detail-section .single-beach__lead-text {
  font-size: 15.5px;
  line-height: 1.95;
}

.single-beach__detail-section .single-beach__lead-text ul,
.single-beach__detail-section .single-beach__lead-text ol {
  margin: 0 0 1.2em 1.4em;
}

@media (max-width: 768px) {
  .single-beach__detail-section {
    padding: 22px 20px;
    border-radius: 18px;
  }
}


/* ===========================
   SEO content sections for region archive
=========================== */
.region-seo {
  margin: 28px 0 32px;
  padding: 30px;
  border-radius: 24px;
  background: linear-gradient(180deg, #f6fcff 0%, #ffffff 100%);
  border: 1px solid rgba(0,153,200,.14);
  box-shadow: 0 18px 42px rgba(0,84,112,.07);
}

.region-seo__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: #0099c8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.region-seo__eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: #ff7a59;
  border-radius: 999px;
}

.region-seo__title {
  margin: 0 0 14px;
  font-size: 26px;
  line-height: 1.35;
  letter-spacing: .01em;
}

.region-seo__lead {
  max-width: 920px;
  margin: 0;
  color: #334;
  font-size: 15.5px;
  line-height: 1.95;
}

.region-seo__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 0;
}

.region-seo__card {
  padding: 20px 22px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(0,153,200,.12);
}

.region-seo__card h3 {
  margin: 0 0 8px;
  color: #00688a;
  font-size: 16px;
  line-height: 1.5;
}

.region-seo__card p {
  margin: 0;
  color: #3b3b3b;
  font-size: 14.5px;
  line-height: 1.85;
}

.region-seo__children {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(0,153,200,.14);
}

.region-seo__children-title {
  margin: 0 0 12px;
  font-size: 15px;
  color: #333;
  font-weight: 800;
}

.region-seo__child-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.region-seo__child-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #eef9fd;
  color: #00688a;
  font-size: 13px;
  font-weight: 700;
}

.region-seo__child-count {
  color: #789;
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .region-seo {
    margin: 22px 0 28px;
    padding: 24px 20px;
    border-radius: 20px;
  }
  .region-seo__title { font-size: 22px; }
  .region-seo__lead { font-size: 14.5px; line-height: 1.85; }
  .region-seo__grid { grid-template-columns: 1fr; gap: 12px; }
  .region-seo__card { padding: 18px; }
}

/* English acquisition pages (v2.5.0) */
.is-english-section .global-nav ul,
.global-nav__english {
  gap: 22px;
}
.is-english-section .global-nav a {
  font-weight: 650;
  letter-spacing: .01em;
}
.is-english-section .page-hero__eyebrow::before { content: "🏖️"; }
.bs-en-lead {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.85;
  color: #163642;
  background: linear-gradient(135deg, #f1fbff 0%, #ffffff 100%);
  border: 1px solid rgba(0,153,200,.18);
  border-radius: 24px;
  padding: clamp(22px, 4vw, 36px);
  box-shadow: 0 14px 34px rgba(0,80,120,.08);
}
.bs-en-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}
.bs-en-card {
  background: #fff;
  border: 1px solid rgba(0,153,200,.18);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 26px rgba(0,80,120,.08);
}
.bs-en-card h3 { margin-top: 0; font-size: 18px; }
.bs-en-card p { margin-bottom: 0; }
.bs-en-cta {
  margin: 34px 0;
  padding: clamp(22px, 4vw, 36px);
  border-radius: 24px;
  background: linear-gradient(135deg, #e7fbff 0%, #fff8e6 100%);
  border: 1px solid rgba(0,153,200,.2);
}
.bs-en-cta h2 { margin-top: 0; }
.bs-en-link-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-left: 0 !important;
  list-style: none !important;
}
.bs-en-link-list li {
  margin: 0 !important;
  background: #f7fcff;
  border: 1px solid rgba(0,153,200,.15);
  border-radius: 14px;
  padding: 12px 14px;
}
.bs-en-note {
  font-size: 14px;
  color: #5c6f78;
  background: #f8fafc;
  border-left: 4px solid #0099c8;
  padding: 14px 16px;
  border-radius: 12px;
}
@media (max-width: 860px) {
  .bs-en-grid { grid-template-columns: 1fr; }
  .bs-en-link-list { grid-template-columns: 1fr; }
  .is-english-section .global-nav ul,
  .global-nav__english { gap: 14px; }
}
