/*
Theme Name: CHYLIM THEME
Author: Yusuke.T(STEPWORKS.JP)
*/

:root {
    --green-dark: #1a3a2a;
    --green-mid: #2d6a4f;
    --green-main: #40916c;
    --green-light: #74c69d;
    --green-pale: #d8f3dc;
    --accent: #f4a261;
    --accent-dark: #e76f51;
    --white: #ffffff;
    --gray-light: #f5f5f0;
    --gray-mid: #888;
    --text: #1a1a1a;
    --font-display: 'Bebas Neue', 'Oswald', sans-serif;
    --font-sub: 'Oswald', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
  }

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

  html { scroll-behavior: smooth; }

  body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
  }
  
  @media (max-width: 640px) {
	.pc { display: none; }
  }	  
  @media (min-width: 641px) {
	.sp { display: none; }
  }	  

  /* ===== NAVBAR ===== */
  .navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(26, 58, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    border-bottom: 2px solid var(--green-main);
    transition: background 0.3s;
  }

  .navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
  }

  .logo-mark {
    width: 38px;
    height: 38px;
    background: var(--green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--green-dark);
    letter-spacing: 0;
	background-image: url(https://chylim.com/wp-content/uploads/2026/02/cropped-CHYLIM-logo3-180x180.png);
	background-size: 38px 38px;
	background-repeat: no-repeat;
  }

  .logo-text {
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--white);
    letter-spacing: 3px;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
  }

  .nav-links a {
    display: block;
    padding: 8px 14px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.2s;
    white-space: nowrap;
  }

  .nav-links a:hover {
    color: var(--white);
    background: rgba(116,198,157,0.2);
  }

  .nav-cta a {
    background: var(--accent) !important;
    color: var(--white) !important;
    font-weight: 700;
    border-radius: 6px;
    padding: 8px 16px !important;
  }
  .nav-cta a:hover {
    background: var(--accent-dark) !important;
  }

  /* ハンバーガー */
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
  }
  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.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-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0; right: 0;
    background: var(--green-dark);
    padding: 16px 0;
    border-top: 1px solid var(--green-main);
    z-index: 999;
  }
  .mobile-menu.open { display: block; }
  .mobile-menu a {
    display: block;
    padding: 14px 28px;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: background 0.2s;
  }
  .mobile-menu a:hover { background: rgba(116,198,157,0.15); }
  .mobile-menu .m-cta {
    margin: 16px 24px 0;
    display: block;
    background: var(--accent);
    color: white !important;
    text-align: center;
    border-radius: 8px;
    border: none !important;
    font-weight: 700;
  }

/* ===== SECTION COMMON ===== */
  .section {
    padding: 80px 24px;
    max-width: 1100px;
    margin: 0 auto;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .section-label {
    font-family: var(--font-sub);
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--green-main);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
  }

  .section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 56px);
    color: var(--green-dark);
    line-height: 1;
    letter-spacing: 2px;
  }

  .section-desc {
    color: var(--gray-mid);
    font-size: 14px;
    margin-top: 12px;
    max-width: 480px;
    line-height: 1.8;
  }

/* ===== FOOTER ===== */
  footer {
    background: var(--green-dark);
    color: rgba(255,255,255,0.7);
    padding: 64px 24px 32px;
  }

  .footer-inner {
    max-width: 1100px;
    margin: 0 auto;
  }

  .footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .footer-brand-logo {
    font-family: var(--font-display);
    font-size: 32px;
    color: white;
    letter-spacing: 4px;
    margin-bottom: 12px;
  }

  .footer-brand-desc {
    font-size: 13px;
    line-height: 1.8;
    max-width: 260px;
  }

  .footer-col h4 {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--green-light);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 16px;
  }

  .footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .footer-col a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
  }
  .footer-col a:hover { color: var(--green-light); }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    flex-wrap: wrap;
    gap: 12px;
  }

  /* Twemoji SVG画像スタイル */
  img.emoji {
    height: 1.1em;
    width: 1.1em;
    vertical-align: -0.15em;
    display: inline-block;
  }
  
  .entry-content img,
  .acf-wysiwyg img {
    max-width: 100%;
    height: auto;
  }