@charset "UTF-8";
/*
Theme Name: Himawari Portfolio
Author: NIKO HANA
Description: フリーランスWeb制作者向けのシンプルなポートフォリオ兼営業用LPテーマ
Version: 1.0
Text Domain: himawari-portfolio
*/



:root {
  --color-bg: #f7f5f2;
  --color-primary: #f6b23b;
  --color-primary-dark: #e09a17;
  --color-text: #333333;
  --color-muted: #777777;
  --color-white: #ffffff;
  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.06);
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
}

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

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

.wrapper {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ========= Header ========= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 245, 242, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.site-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.site-title span {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--color-muted);
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
}

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

.header-cta {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--color-primary);
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
  font-weight: 600;
}

.header-cta:hover {
  background: var(--color-primary-dark);
}

/* Hamburger (SP) */

.hamburger {
  display: none;
  width: 32px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #333;
  border-radius: 999px;
}

/* ========= Hero ========= */

.hero {
  padding: 60px 0 40px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(246, 178, 59, 0.16);
  color: var(--color-primary-dark);
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-sub {
  font-size: 1rem;
  color: var(--color-muted);
  margin-bottom: 24px;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.hero-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.hero-list li::before {
  content: "✔";
  color: var(--color-primary-dark);
  font-size: 0.9rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--color-primary);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-soft);
}

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

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--color-muted);
  font-size: 0.9rem;
}

.hero-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.hero-visual {
  background: var(--color-white);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.hero-visual-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}

.metric-card {
  background: #faf7f2;
  border-radius: 18px;
  padding: 10px 12px;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--color-muted);
}

.metric-value {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 4px;
}

/* ========= Sections ========= */

.section {
  padding: 40px 0;
}

.section-header {
  text-align: left;
  margin-bottom: 24px;
}

.section-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--color-primary-dark);
  text-transform: uppercase;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 4px;
}

.section-lead {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin-top: 6px;
}

/* services */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  background: var(--color-white);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.service-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.service-tag {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.service-text {
  font-size: 0.9rem;
}

/* works */

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.work-card {
  background: var(--color-white);
  border-radius: 18px;
  padding: 12px 12px 16px;
  box-shadow: var(--shadow-soft);
}

.work-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 8px;
}

.work-meta {
  font-size: 0.75rem;
  color: var(--color-muted);
}

/* flow */

.flow-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: flow;
}

.flow-item {
  background: var(--color-white);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.flow-item::before {
  counter-increment: flow;
  content: counter(flow);
  position: absolute;
  top: 12px;
  right: 12px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.flow-text {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* profile */

.profile-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: center;
  background: var(--color-white);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.profile-name {
  font-size: 1.1rem;
  font-weight: 600;
}

.profile-role {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.profile-text {
  font-size: 0.9rem;
}

/* contact */

.contact-box {
  background: linear-gradient(135deg, #ffe3a3, #f6b23b);
  border-radius: 22px;
  padding: 20px;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.contact-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-text {
  font-size: 0.9rem;
  margin-bottom: 16px;
}

/* page */

.page-wrapper {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 16px 40px;
}

.page-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
}

/* ========= Footer ========= */

.site-footer {
  padding: 24px 0 16px;
  font-size: 0.8rem;
  color: var(--color-muted);
  text-align: center;
}

/* ========= Responsive ========= */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 40px;
  }
  .services-grid,
  .works-grid,
  .flow-list {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .profile-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    inset: 0 0 auto auto;
    top: 56px;
    right: 0;
    width: 70%;
    max-width: 260px;
    height: calc(100vh - 56px);
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 16px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    box-shadow: -8px 0 20px rgba(0,0,0,0.05);
  }
  .main-nav.is-open {
    transform: translateX(0);
  }
  .header-cta {
    width: 100%;
    justify-content: center;
  }
  .hamburger {
    display: flex;
  }
}

@media (max-width: 640px) {
  .services-grid,
  .works-grid,
  .flow-list {
    grid-template-columns: 1fr;
  }
}
