/* ===== AIアドバイザーいろは ポートフォリオ ===== */
:root {
  --coral: #e8636f;
  --coral-light: #fbe3e5;
  --coral-dark: #c84a56;
  --teal: #3fb8b8;
  --teal-light: #d9f2f2;
  --teal-dark: #2a9494;
  --cream: #fffaf5;
  --ink: #4a3f3c;
  --ink-soft: #7a6e6a;
  --white: #ffffff;
  --shadow: 0 8px 24px rgba(200, 74, 86, 0.10);
  --radius: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: "Zen Maru Gothic", "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.9;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ===== ヘッダー ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 250, 245, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(200, 74, 86, 0.08);
}
.header-inner {
  max-width: 1100px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-weight: 900; font-size: 1.15rem; text-decoration: none; color: var(--ink);
}
.logo span { color: var(--coral); font-size: 1.35rem; margin-left: 4px; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a {
  text-decoration: none; font-weight: 700; font-size: 0.92rem; color: var(--ink-soft);
  transition: color 0.2s;
}
.nav a:hover { color: var(--coral); }
.nav-cta {
  background: var(--coral); color: var(--white) !important;
  padding: 8px 20px; border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--coral-dark); transform: translateY(-2px); }
.nav-toggle { display: none; }

/* ===== ヒーロー ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--coral-light) 0%, #fdf0e7 55%, var(--teal-light) 100%);
  padding: 140px 24px 110px;
}
.hero-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 48px; flex-wrap: wrap;
}
.hero-text { flex: 1 1 460px; }
.hero-eyebrow {
  display: inline-block; background: var(--white); color: var(--teal-dark);
  font-weight: 700; font-size: 0.9rem; padding: 6px 18px; border-radius: 999px;
  box-shadow: var(--shadow); margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 900; line-height: 1.4;
  margin-bottom: 24px; letter-spacing: 0.02em;
}
.hero-title em {
  font-style: normal; color: var(--coral);
  background: linear-gradient(transparent 68%, #ffd9dd 68%);
}
.hero-lead { color: var(--ink-soft); font-weight: 500; margin-bottom: 34px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 14px 34px; border-radius: 999px; transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-primary { background: var(--coral); color: var(--white); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-3px); }
.btn-outline { border: 2px solid var(--coral); color: var(--coral); background: var(--white); }
.btn-outline:hover { background: var(--coral-light); transform: translateY(-3px); }
.btn-big {
  background: var(--white); color: var(--coral-dark); font-size: 1.05rem;
  padding: 18px 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.btn-big:hover { transform: translateY(-3px) scale(1.02); }

.hero-photo { flex: 0 0 300px; margin: 0 auto; position: relative; }
.photo-frame {
  width: 280px; height: 280px; border-radius: 50%;
  border: 8px solid var(--white);
  box-shadow: 0 16px 40px rgba(200, 74, 86, 0.22);
  overflow: hidden; position: relative;
  background: linear-gradient(135deg, var(--coral) 0%, var(--teal) 100%);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-fallback {
  display: none; position: absolute; inset: 0;
  align-items: center; justify-content: center;
  color: var(--white); font-size: 3rem; font-weight: 900;
}
.photo-frame.no-photo img { display: none; }
.photo-frame.no-photo .photo-fallback { display: flex; }
.hero-bubble {
  position: absolute; top: -10px; right: -14px;
  background: var(--white); color: var(--coral); font-weight: 700; font-size: 0.9rem;
  padding: 10px 18px; border-radius: 999px; box-shadow: var(--shadow);
  animation: bob 3s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.hero-wave svg { width: 100%; height: 60px; }

/* ===== セクション共通 ===== */
.section { padding: 90px 24px; }
.container { max-width: 1100px; margin: 0 auto; }
.section-title {
  text-align: center; font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 900;
  margin-bottom: 56px;
}
.section-title .title-en {
  display: block; font-size: 0.85rem; letter-spacing: 0.25em;
  color: var(--teal); text-transform: uppercase; margin-bottom: 6px;
}
.section-title.light, .section-title.light .title-en { color: var(--white); }

/* ===== About ===== */
.about { background: var(--cream); }
.about-grid { display: flex; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.about-card {
  flex: 1 1 520px; background: var(--white); border-radius: var(--radius);
  padding: 40px 44px; box-shadow: var(--shadow);
}
.about-card p { margin-bottom: 16px; }
.about-card p:last-child { margin-bottom: 0; }
.about-card strong { color: var(--coral-dark); }
.about-catch {
  font-size: 1.2rem; font-weight: 900; color: var(--coral);
  margin-bottom: 22px !important; line-height: 1.6;
}
.about-points { flex: 1 1 300px; display: flex; flex-direction: column; gap: 18px; }
.point {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border-radius: var(--radius); padding: 20px 22px;
  box-shadow: var(--shadow);
}
.point-emoji { font-size: 1.8rem; line-height: 1.2; }
.point h3 { font-size: 1rem; font-weight: 700; color: var(--teal-dark); margin-bottom: 4px; }
.point p { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.7; }

/* ===== Services ===== */
.services { background: linear-gradient(180deg, var(--cream) 0%, var(--teal-light) 100%); }
.service-cat { text-align: center; margin: 48px 0 28px; }
.service-cat:first-of-type { margin-top: 0; }
.cat-badge {
  display: inline-block; font-size: 1.05rem; font-weight: 900;
  padding: 10px 32px; border-radius: 999px; color: var(--white);
}
.cat-badge.corp { background: var(--coral); }
.cat-badge.solo { background: var(--teal); }
.cards { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cards-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 760px; margin: 0 auto; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 34px 30px;
  box-shadow: var(--shadow); transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(200, 74, 86, 0.16); }
.card-icon { font-size: 2.4rem; margin-bottom: 14px; }
.card h4 { font-size: 1.2rem; font-weight: 900; color: var(--coral-dark); margin-bottom: 12px; }
.card p { font-size: 0.92rem; color: var(--ink-soft); }

/* ===== Strengths ===== */
.strengths { background: var(--cream); }
.reasons { list-style: none; max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 26px; }
.reasons li {
  position: relative; background: var(--white); border-radius: var(--radius);
  padding: 34px 38px 34px 110px; box-shadow: var(--shadow);
}
.reason-num {
  position: absolute; left: 34px; top: 34px;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 2rem; font-weight: 800; color: var(--teal);
  line-height: 1;
}
.reasons h3 { font-size: 1.15rem; font-weight: 900; margin-bottom: 10px; color: var(--ink); }
.reasons p { font-size: 0.94rem; color: var(--ink-soft); }

/* ===== Contact ===== */
.contact {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%);
  text-align: center;
}
.contact .section-title { margin-bottom: 30px; }
.contact-lead { color: #ffe9eb; margin-bottom: 38px; font-weight: 500; }

/* ===== フッター ===== */
.footer { background: #4a3f3c; color: #d9cfcb; text-align: center; padding: 44px 24px; }
.footer-logo { font-weight: 900; font-size: 1.1rem; color: var(--white); }
.footer-motto { font-size: 0.88rem; margin: 8px 0 18px; }
.footer-copy { font-size: 0.78rem; opacity: 0.7; }

/* ===== アニメーション ===== */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== レスポンシブ ===== */
.pc-only { display: inline; }
@media (max-width: 820px) {
  .pc-only { display: none; }
  .nav {
    position: fixed; top: 60px; right: 0; left: 0;
    background: var(--white); flex-direction: column; gap: 0;
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  }
  .nav.open { max-height: 320px; }
  .nav a { padding: 16px 24px; width: 100%; text-align: center; }
  .nav-cta { border-radius: 0; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 6px;
  }
  .nav-toggle span {
    width: 26px; height: 3px; background: var(--coral); border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
  }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hero { padding: 110px 24px 90px; }
  .hero-inner { flex-direction: column-reverse; text-align: center; }
  .hero-buttons { justify-content: center; }
  .photo-frame { width: 220px; height: 220px; }
  .section { padding: 70px 20px; }
  .about-card { padding: 30px 26px; }
  .reasons li { padding: 28px 26px 28px 26px; }
  .reason-num { position: static; display: block; margin-bottom: 8px; }
}
