/*
Theme Name: KT Clinic
Theme URI: https://kt-clinic.jp
Author: Your Name
Description: KTクリニック公式サイト用カスタムテーマ
Version: 1.0.0
Text Domain: kt-clinic
*/

/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
  /* Colors */
  --white: #FFFFFF;
  --off-white: #FAFAFA;
  --gray-light: #F5F5F5;
  --gray: #9A9A9A;
  --gray-dark: #4A4A4A;
  --black: #1A1A1A;
  --gold: #C9A96E;
  --gold-light: #F7F3ED;
  --gold-dark: #A68B4B;
  --gold-pale: #EDE6DA;
  --beige: #E8E0D5;
  --red: #C62828;
  --blue: #1565C0;

  /* Typography */
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-serif: 'Noto Serif JP', serif;
  --font-display: 'Cormorant Garamond', serif;

  /* Spacing */
  --header-height: 80px;
  --header-height-sp: 60px;
  --section-padding: 100px;
  --section-padding-sp: 60px;
  --container-width: 1200px;
  --container-narrow: 900px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--black);
  line-height: 1.8;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container,
  .container-narrow {
    padding: 0 20px;
  }
}

/* ==========================================================================
   Typography
   ========================================================================== */
.heading-lg {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.5;
}

.heading-md {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
}

.heading-sm {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

.heading-en {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.2em;
}

@media (max-width: 768px) {
  .heading-lg { font-size: 26px; }
  .heading-md { font-size: 20px; }
  .heading-sm { font-size: 18px; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 40px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border: 1px solid var(--gold);
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.btn-secondary {
  background: var(--white);
  color: var(--gold-dark);
  border: 1px solid var(--gold);
}

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

.btn-white {
  background: var(--white);
  color: var(--gold-dark);
  border: 1px solid var(--white);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ==========================================================================
   Section
   ========================================================================== */
.section {
  padding: var(--section-padding) 0;
}

.section-bg {
  background: var(--gold-light);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header .heading-en {
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .section {
    padding: var(--section-padding-sp) 0;
  }
  .section-header {
    margin-bottom: 40px;
  }
}

/* ==========================================================================
   Utility
   ========================================================================== */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-gray { color: var(--gray); }

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }

.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }

.sp-only { display: none; }
.pc-only { display: block; }

@media (max-width: 768px) {
  .sp-only { display: block; }
  .pc-only { display: none; }
}
