/*
Theme Name: Waran Melbourne Theme
Author: Yuki Nagatsuka
Description: Mobile-first responsive theme with animated hamburger overlay
Version: 1.7
*/

/* Base Typography */
body {
  margin: 0;
  background-color: #000;
  font-family: "General Sans", sans-serif;
}
h1,
h2,
h3,
h4 {
  letter-spacing: 0.3em;
}
h1,
h2,
h3,
h4,
p,
span,
a,
input,
button,
textarea,
select,
div,
blockquote,
figcaption {
  font-family: "General Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: rgb(201, 180, 121);
}
p,
span,
a,
input,
button,
textarea,
select,
div,
blockquote,
figcaption {
  letter-spacing: 0.2em;
}
h1,
h2,
h3,
h4 {
  letter-spacing: 0.3em;
}

/* Header Layout */
.logo-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  position: relative;
}

.custom-logo,
.site-logo {
  width: 50% !important;
  height: auto !important;
  display: block;
}

.site-subtitle {
  font-size: 12px;
  letter-spacing: 1px;
  color: #ccc;
  margin-top: 0;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 10001;
  transition: all 0.3s ease;
}

/* 線の共通スタイル */
.hamburger span {
  display: block;
  width: 40px;
  height: 2px;
  background-color: #e0c882;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center center;
}

/* アクティブ状態でクロス（×）に変化 */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8.5px);
}

.hamburger.active span:nth-child(2) {
  transform: rotate(-45deg) translateY(-8.5px);
}

/* Overlay Menu */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: #7b6842;
  z-index: 10000;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.mobile-overlay.active {
  display: flex;
}
.overlay-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 32px;
  background: transparent;
  border: 1px solid #000;
  color: #000;
  width: 36px;
  height: 36px;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
}
.mobile-overlay .menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
.mobile-overlay .menu-list li {
  margin: 20px 0;
}
.mobile-overlay .menu-list li a {
  font-size: 28px;
  color: #000;
  text-decoration: none;
  letter-spacing: 0.1em;
}

/* PC Menu */
.menu-section {
  display: none;
  text-align: center;
  margin: 50px 0;
}

.main-nav .menu-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 50px;
}
.main-nav .menu-list li a {
  color: rgb(201, 180, 121);
  text-decoration: none;
  font-size: 14px;
}
.main-nav .menu-list li a:hover {
  text-decoration: underline;
}
.lets-talk-mobile {
  margin-top: 50px;
}
/* Hero Image */
.hero-image img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  margin: 20px auto;
}

/* Descriptors */
.descriptor {
  text-align: center;
  letter-spacing: 2px;
  font-size: 12px;
  margin-bottom: 20px;
}
.descriptor span {
  margin: 0 8px;
}

/* Main Content */
.main-content {
  display: flex;
  flex-direction: column;
  padding: 0 20px;
  gap: 20px;
  align-items: center;
  text-align: center;
}
.intro-text h2 {
  font-size: 40px;
  margin-bottom: 15px;
  text-align: center;
  letter-spacing: 6.9px;
}
.intro-text p {
  font-size: 14px;
  width: 440px;
  margin: auto;
  margin-bottom: 50px;
}
.see-range a {
  text-decoration: underline;
  color: rgb(201, 180, 121);
}
.intro-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* Footer */
.site-footer {
  background-color: #000;
  padding: 40px 20px;
  text-align: center;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}
.footer-logo img {
  width: 80px;
  height: auto;
}
.footer-block {
  text-align: center;
}
.footer-label {
  font-size: 12px;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 5px;
}
.footer-block a {
  font-size: 14px;
  font-weight: 500;
  color: rgb(201, 180, 121);
  text-decoration: underline;
}

/* Page Content */
.page-content {
  width: 100%;
  padding: 0 25px;
  box-sizing: border-box;
  margin: 0 auto;
}
.page-title {
  font-size: 43.5px;
  margin-bottom: 100px;
  text-align: center;
  color: rgb(201, 180, 121);
}
.page-body {
  font-size: 16px;
  line-height: 1.8;
  color: #ccc;
}
.wp-block-image img {
  width: 100%;
}
/* 横並びのレイアウト用 */
.header-sides {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  box-sizing: border-box;
}

.header-left,
.header-right {
  display: none;
  flex: 0 0 auto;
}

.header-center {
  flex: 1 1 auto;
  text-align: center;
}

.header-left img,
.header-right img {
  max-height: 100px;
  width: auto;
}

.custom-logo,
.site-logo {
  max-height: 120px;
  width: auto;
  height: auto;
}
/* モバイルバナーの表示調整 */
.mobile-banners{
  width: 100%;
  max-width: 100%;
  height: auto;
}
.mobile-banner {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto 0;
  padding: 0 20px; /* 両端に余白を確保 */
}
.mobile-banner img{
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
  padding: 0 10px; /* 両端に余白を確保 */
}
.social-icons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 20px;
}

.social-icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.social-icon-img:hover {
  opacity: 0.7;
}
/* Responsive: Tablet and Desktop */
@media (min-width: 768px) {
  .custom-logo,
  .site-logo {
    margin: auto;
    width: auto !important;
    max-width: 100%;
    max-height: 122px !important;
    display: block;
  }
  .hamburger,
  .mobile-overlay {
    display: none !important;
  }

  .logo-section {
    flex-direction: column;
    text-align: center;
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .header-left,
  .header-right {
    display: block;
    flex: 0 0 auto;
  }

  .header-logo {
    flex: 0 1 auto;
  }
  .menu-section {
    display: block;
  }
  .menu-section {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
  }

  .lets-talk-nav {
    position: absolute;
    top: 80px;
    right: 0; /* menu-section の右端に固定 */
    display: flex;
    align-items: center;
    padding-right: 10px;
  }

  /* メニューの見た目 */
  .lets-talk-menu {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .lets-talk-menu li {
    margin: 0;
  }

  .lets-talk-menu li a {
    text-decoration: none;
    color: rgb(201, 180, 121);
    font-size: 16px;
    letter-spacing: 0.1em;
  }

  .lets-talk-menu li a {
    text-decoration: none;
    color: rgb(201, 180, 121);
    font-size: 14px;
    letter-spacing: 0.1em;
  }
  .main-nav .menu-list {
    flex-direction: row;
    gap: 30px;
  }
  .main-content {
    flex-direction: row;
    padding: 0 10%;
    text-align: left;
    align-items: center;
  }
  .page-content {
    max-width: 1200px;
  }
  .intro-text,
  .intro-image {
    flex: 1;
  }
  .mobile-banners {
    display: none;
  }
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 10%;
  }
  .footer-block {
    flex: 1 1 200px;
  }
  .footer-logo {
    order: 1;
    transform: translateY(-10px);
  }
  .call {
    order: 0;
    transform: translateY(100px);
    padding-bottom: 50px;
  }
  .email {
    order: 2;
    transform: translateY(100px);
    padding-bottom: 50px;
  }
}
