/* ==========================
   基本設定
========================== */
body {
  margin: 0;
  padding-top: 60px;
  background-color: #fff8dc;
  font-family: sans-serif;
  color: #333;
  background-image: url("travelback2026.JPG");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ==========================
   ヘッダー
========================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  height: 50px;
  width: 100%;
  background-color: #0066CC;
  box-shadow: 0px 5px 20px -5px rgba(0, 0, 0, 0.9);
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  padding: 0 12px;
}
.logo {
  width: 30px;
  height: 34px;
  opacity: 0.5;
  margin-top: 4px;
}
.title-img {
  width: 280px;
  height: 32px;
  margin-top: 4px;
  margin-left: -25px;
}

/* ==========================
   メニュー（三本線・バツ印）
========================== */
.menu-toggle-button {
  width: 45px;
  height: 45px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 6px;
  margin-top: 4px;
}
.menu-toggle-button .bar {
  width: 32px;
  height: 4px;
  background-color: black;
  opacity: 0.7;
  border-radius: 2px;
}
.menu-toggle-button.invisible {
  visibility: hidden;
}

.menu-close-button {
  width: 46px;
  height: 46px;
  background: none;
  border: none;
  position: relative;
  cursor: pointer;
}
.menu-close-button .close-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 4px;
  background-color: orange;
  transform-origin: center;
}
.menu-close-button .close-line:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}
.menu-close-button .close-line:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* ==========================
   モバイルメニュー
========================== */
.mobile-menu {
  position: fixed;
  top: 52px;
  right: -300px;
  width: 300px;
max-height: 100vh;
height: auto;
  background-color: rgba(0, 102, 204, 0.85);
  z-index: 1000;
  transition: right 0.3s ease;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.3);
}
.mobile-menu a {
  z-index: 1001;
  position: relative;
  pointer-events: auto;
}
.mobile-menu.open {
  right: 0;
}
.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-menu li {
  border-bottom: 1px solid #ccc;
}
.mobile-menu li a {
  display: block;
  padding: 25px;
  color: #fff;
}
.mobile-menu li a:hover {
  color: #ffcc33;
}
#menuOverlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.15);
  z-index: 999;
}
#closeMenu {
  display: none;
  position: fixed;
  top: 2px;
  right: 11px;
  z-index: 1001;
}

/* ==========================
   本文・コンテンツ
========================== */
.content {
  max-width: 600px;
  margin: 0 auto;
  padding: 16px;
}

/* ==========================
   国・地域ボックス
========================== */
.country-box {
  background-color: rgba(102, 153, 204, 0.5);
  border-radius: 12px;
  padding: 12px 16px;
  width: 100%;
  margin-bottom: 15px;
  box-sizing: border-box;
}
.country-box.city {
  margin-bottom: 50px;
}
.country-box.open .country-links {
  display: block;
}
.country-box.open .arrow {
  transform: rotate(180deg);
}
.country-box.open .box-close-button {
  display: block;
}

.country-label {
  display: flex;
  align-items: center;
  height: 14px;
  margin: 8px 0;
  font-size: 20px;
  font-weight: bold;
  color: #ff8c00;
}
.country-label img {
  width: 60px;
  height: 40px;
  margin-right: 30px;
  opacity: 0.8;
}
.country-name {
  color: #006699;
}
.arrow {
  font-size: 16px;
  margin-left: auto;
  transition: transform 0.3s ease;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}
.country-links {
  display: none;
  margin-top: 12px;
  padding-left: 0;
}
.country-links::before {
  content: "";
  display: block;
  height: 30px;
}
.box-close-button {
  text-align: right;
  font-size: 14px;
  color: #0066cc;
  cursor: pointer;
  margin-top: 12px;
  padding-right: 4px;
  display: none;
}

/* ==========================
   地域リスト・リンク
========================== */
.region-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}
.region-column {
  flex: 1 1 calc(50% - 12px);
  min-width: 0;
}
.region-block {
  margin-bottom: 40px;
}
.region-title {
  font-weight: bold;
  font-size: 17px;
  border-left: 2px solid #333;
  padding-left: 8px;
  margin-bottom: 20px;
  color: #ff8c00;
}
.region-links a {
  display: flex;
  align-items: center;
  font-size: 17px;
  color: #333;
  text-decoration: none;
  margin-bottom: 18px;
  height: 70px;
}
.region-links a img.place-thumb {
  width: 105px;
  height: 70px;
  margin-right: 12px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}
.region-links a .place-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 70px;
  line-height: 1.2;
}
.place-name {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 4px;
}
.place-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.2;
}
.country-box .region-block:last-child {
  margin-bottom: 12px;
}
.thailand-country-links a {
  margin-bottom: 14px;
  height: auto;
}
.thailand-country-links a img {
  margin-right: 15px;
}

/* ==========================
   読み込み写真・コメント
========================== */
#imported-carousel .slide {
  margin-bottom: 60px;
  text-align: center;
}
#imported-carousel .photo-comment {
  font-size: 18px;
  line-height: 1.6;
  margin-top: 8px;
  padding: 0 8px;
  color: #333;
  text-align: left;
  display: block;
  margin: 0 auto;
}
#imported-carousel .slide img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: inline-block;
  border: solid 5px #fff;
  box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.3);
  margin-bottom: 1em;
}
#imported-carousel img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.5s ease;
}
#imported-carousel img[loading="lazy"]:not([src=""]) {
  opacity: 1;
}

.video-wrapper {
  border: 5px solid white;
  background-color: #fff;
  display: inline-block;
  box-sizing: border-box;
  box-shadow: 0px 2px 4px 1px rgba(0, 0, 0, 0.3);
  margin-bottom: 1em;
}

.carousel-note {
  font-size: 16px;
  color: #333;
  margin-top: 30px;
  margin-bottom: -20px;
  text-align: right;
  font-style: italic;
  line-height: 1.6;
}


/* ==========================
   トップに戻るボタン
========================== */
#backToTop {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  background-color: orange;
  color: #fff;
  font-size: 24px;
  border: none;
  border-radius: 24px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  cursor: pointer;
  z-index: 1002;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}
#backToTop:hover {
  opacity: 1;
}

/* ==========================
   フッター
========================== */
.footer-line {
  border: none;
  height: 4px;
  background-color: orange;
  margin: 40px 0 20px 0;
}
.footer-links {
  text-align: left;
  font-size: 16px;
  color: #333;
  margin-bottom: 40px;
}
.footer-links a {
  display: block;
  color: #dddddd;
  text-decoration: none;
  margin: 20px 5px;
}
.footer-links a:hover {
  text-decoration: underline;
}
.country-links-footer {
  margin-bottom: -15px;
}
.country-links-footer a {
  font-size: 16px;
  color: #333;
  margin-left: 10px;
}
.country-links-top a {
  color: #333;
}
.country-links-footer .place-item {
  margin-bottom: 20px;
}
.country-links-footer .place-desc {
  color: #333333;
}


/* ==========================
   補足スタイル
========================== */
.no-desc .place-desc {
  display: none;
}
.no-desc a {
  margin-bottom: -5px;
  height: auto;
}
