/* ===================================
   COPAN - Shared Styles
=================================== */

@import url('https://fonts.googleapis.com/css2?family=Belleza&family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* CSS Variables */
:root {
  --color-bg: #f0eadc;
  --color-main: #b18c4a;
  --color-text: #715c37;
  --color-dark: #754f23;
  --color-footer-bg: #715c37;
  --color-cream: #fff4e1;
  --color-white: #ffffff;
  --color-muted: #ddd9d6;
  --max-width: 1440px;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: var(--color-white);
  color: var(--color-text);
  overflow-x: hidden;
}

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

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

/* ===================================
   Typography
=================================== */
.font-belleza { font-family: 'Belleza', serif; }

/* ===================================
   Header / Navigation
=================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  height: 100px;
  display: flex;
  align-items: center;
  padding: 0 40px;
}

.header-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-logo img.logo-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.header-logo img.logo-text {
  height: 44px;
  object-fit: contain;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 48px;
}

.header-nav a {
  font-family: 'Belleza', serif;
  font-size: 20px;
  color: var(--color-main);
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

.header-nav a:hover {
  opacity: 0.7;
}

.header-nav a.active {
  border-bottom: 2px solid var(--color-main);
}

.header-social {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-social a {
  font-size: 22px;
  color: var(--color-main);
  transition: opacity 0.2s;
}

.header-social a:hover {
  opacity: 0.7;
}

/* ===================================
   Buttons
=================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--color-main);
  color: var(--color-white);
  font-family: 'Belleza', serif;
  font-size: 20px;
  padding: 16px 28px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: none;
}

.btn-primary:hover {
  opacity: 0.85;
}

.btn-primary .btn-arrow {
  font-size: 16px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: transparent;
  color: var(--color-main);
  font-family: 'Belleza', serif;
  font-size: 20px;
  padding: 16px 28px;
  border-radius: 14px;
  border: 1.5px solid var(--color-dark);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-secondary:hover {
  background-color: var(--color-main);
  color: white;
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Belleza', serif;
  font-size: 20px;
  color: var(--color-main);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-text:hover {
  opacity: 0.7;
}

/* ===================================
   Section Labels
=================================== */
.section-label {
  font-family: 'Belleza', serif;
  font-size: 60px;
  color: var(--color-main);
  line-height: 1;
}

.section-subtitle {
  font-size: 18px;
  color: var(--color-main);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
}

/* ===================================
   Contact CTA Section (共通)
=================================== */
.contact-cta {
  position: relative;
  padding: 60px 80px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-main) 0%, #c9a76a 100%);
}

.contact-cta-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.contact-cta-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(177, 140, 74, 0.8);
}

.contact-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  background-color: var(--color-cream);
  border-radius: 46px;
  padding: 50px 60px;
  display: grid;
  grid-template-columns: minmax(0, 280px) 1fr auto;
  align-items: center;
  gap: 40px;
  overflow: hidden;
}

.contact-cta-photo {
  width: 100%;
  height: 320px;
  border-radius: 36px;
  overflow: hidden;
}

.contact-cta-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-cta-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-cta-content .btn-primary {
  align-self: flex-start;
  max-width: 320px;
}

.contact-cta-title {
  font-family: 'Belleza', serif;
  font-size: 32px;
  color: var(--color-text);
}

.contact-cta-phone {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-cta-phone .phone-icon {
  width: 52px;
  height: 52px;
}

.contact-cta-phone .phone-number {
  font-family: 'Belleza', serif;
  font-size: 56px;
  color: var(--color-text);
  line-height: 1;
  white-space: nowrap;
}

.contact-cta-desc {
  font-size: 20px;
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.7;
}

.contact-cta-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.contact-cta-right img {
  width: 120px;
  height: auto;
}


/* ===================================
   Footer
=================================== */
.site-footer {
  background-color: var(--color-footer-bg);
  color: white;
  padding: 60px 80px 40px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto auto auto auto auto;
  gap: 60px;
  justify-content: space-between;
  align-items: start;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.footer-nav-col a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  transition: opacity 0.2s;
}

.footer-nav-col a:hover {
  opacity: 0.7;
}

.footer-nav-title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: white !important;
  margin-bottom: 4px;
}

.footer-logo-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  justify-self: end;
}

.footer-logo {
  width: 140px;
  height: auto;
}

.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social a {
  font-size: 16px;
  color: white;
  transition: opacity 0.2s;
}

.footer-social a:hover {
  opacity: 0.7;
}

.footer-license {
  text-align: left;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.footer-copyright {
  text-align: right;
  font-size: 11px;
  color: var(--color-muted);
  margin-top: 4px;
}

.footer-copyright a {
  color: var(--color-muted);
  transition: opacity 0.2s;
}

.footer-copyright a:hover {
  opacity: 0.7;
}

/* ===================================
   Page Hero (inner pages)
=================================== */
.page-hero {
  padding-top: 140px;
  padding-bottom: 60px;
  text-align: center;
  background-color: var(--color-white);
}

.page-hero h1 {
  font-family: 'Belleza', serif;
  font-size: 48px;
  color: var(--color-text);
}

/* ===================================
   Divider
=================================== */
.divider {
  height: 1px;
  background-color: var(--color-main);
  width: 100%;
}

/* ===================================
   Utility
=================================== */
.text-main { color: var(--color-main); }
.text-text { color: var(--color-text); }
.bg-beige { background-color: var(--color-bg); }
.bg-white { background-color: var(--color-white); }
