/*
Theme Name: Medical Create
Theme URI: http://www.mcreate.co.jp
Author: Medical Create
Description: 株式会社メディカルクリエイト オリジナルテーマ
Version: 1.0
*/

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

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

:root {
  --blue:        #1a5fb4;
  --blue-light:  #e8f0fc;
  --blue-mid:    #3584e4;
  --blue-dark:   #0d3b7a;
  --blue-hover:  #a8c4f0;
  --gray-50:     #f5f7fa;
  --gray-100:    #eef1f6;
  --gray-200:    #dde2eb;
  --gray-400:    #9aa0a8;
  --gray-600:    #5a6270;
  --gray-800:    #1a2030;
  --white:       #ffffff;
  --r-sm:        6px;
  --r-md:        12px;
  --r-lg:        20px;
  --r-full:      100px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.08);
  --shadow-blue: 0 4px 14px rgba(26,95,180,0.28);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.75;
  font-size: 15px;
}

/* HEADER */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 200;
  padding: 0 2rem;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo img { height: 38px; width: auto; display: block; }

.site-nav { display: flex; align-items: center; gap: 1.8rem; }
.site-nav a { text-decoration: none; color: var(--gray-600); font-size: 13px; font-weight: 500; transition: color .2s; }
.site-nav a:hover, .site-nav a.current-menu-item { color: var(--blue); }

.nav-cta {
  background: var(--blue) !important;
  color: white !important;
  padding: 8px 18px;
  border-radius: var(--r-full);
  box-shadow: var(--shadow-blue);
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--blue-mid) !important; }

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  border-radius: var(--r-sm);
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--gray-800); border-radius: 2px; transition: transform .3s, opacity .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  background: white; z-index: 199;
  overflow-y: auto; padding: 24px 2rem 40px;
  transform: translateX(100%); transition: transform .3s ease;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer a { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--gray-200); text-decoration: none; color: var(--gray-800); font-size: 15px; font-weight: 500; }
.mobile-drawer a::after { content: '›'; color: var(--gray-400); font-size: 18px; }
.mobile-drawer .drawer-cta { display: block; text-align: center; margin-top: 24px; background: var(--blue); color: white !important; padding: 14px; border-radius: var(--r-full); font-size: 15px; font-weight: 600; box-shadow: var(--shadow-blue); border-bottom: none !important; }
.mobile-drawer .drawer-cta::after { display: none; }

/* HERO */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 55%, var(--blue-mid) 100%);
  padding: 72px 2rem 92px;
  position: relative; overflow: hidden;
}
.page-hero::before { content: ''; position: absolute; top: -80px; right: -80px; width: 380px; height: 380px; background: rgba(255,255,255,0.04); border-radius: 50%; }
.hero-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); font-size: 11px; font-weight: 600; padding: 5px 14px; border-radius: var(--r-full); letter-spacing: .08em; margin-bottom: 1.2rem; }
.page-hero h1 { font-family: 'Noto Serif JP', serif; font-size: clamp(26px,4vw,40px); font-weight: 600; color: white; line-height: 1.45; margin-bottom: .8rem; }
.page-hero p { color: rgba(255,255,255,0.78); font-size: 14px; max-width: 520px; font-weight: 300; }
.hero-wave { display: block; margin-top: -1px; }

/* MAIN */
.page-main { max-width: 1100px; margin: 0 auto; padding: 56px 2rem 80px; }

/* SECTION */
.section { padding: 64px 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-alt { background: var(--white); }

.section-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.section-heading .bar { width: 3px; height: 22px; background: var(--blue); border-radius: 2px; flex-shrink: 0; }
.section-heading h2 { font-size: 19px; font-weight: 700; color: var(--gray-800); }
.section-heading .en { font-size: 11px; color: var(--gray-400); font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }

/* BUTTONS */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--blue); color: white; text-decoration: none; padding: 12px 28px; border-radius: var(--r-full); font-size: 14px; font-weight: 500; border: none; cursor: pointer; transition: background .2s, transform .15s; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--blue-mid); transform: translateY(-2px); color: white; }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; background: white; color: var(--blue); text-decoration: none; padding: 11px 24px; border-radius: var(--r-full); font-size: 14px; font-weight: 500; border: 1.5px solid var(--blue); transition: background .2s; }
.btn-secondary:hover { background: var(--blue-light); color: var(--blue); }

/* FOOTER */
.site-footer { background: var(--gray-800); color: rgba(255,255,255,0.55); padding: 48px 2rem 28px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .company-ja { color: white; font-size: 14px; font-weight: 700; display: block; margin-bottom: 2px; }
.footer-brand .company-en { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.footer-links a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 13px; transition: color .2s; }
.footer-links a:hover { color: white; }
.footer-copy { text-align: center; font-size: 11px; }

/* NEWS */
.news-list { display: flex; flex-direction: column; }
.news-item { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--gray-200); }
.news-item:first-child { border-top: 1px solid var(--gray-200); }
.news-date { font-size: 12px; color: var(--gray-400); white-space: nowrap; padding-top: 2px; min-width: 90px; }
.news-text { font-size: 14px; color: var(--gray-700); line-height: 1.7; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-drawer { display: block; }
  .site-header { padding: 0 1.2rem; }
  .page-hero { padding: 48px 1.2rem 64px; }
  .page-main { padding: 36px 1.2rem 56px; }
  .section { padding: 48px 1.2rem; }
  .footer-top { flex-direction: column; }
}
