/*
Theme Name: 志ラボ
Theme URI: https://55634lab.com/
Author: 株式会社 Iproject
Description: 志ラボ公式サイト専用テーマ
Version: 1.0.0
Text Domain: shiralabo
*/

:root {
  --red: #C0001A;
  --red-light: #e8001f;
  --red-pale: #fff0f2;
  --gray-100: #f7f7f7;
  --gray-200: #ebebeb;
  --gray-400: #777777;
  --gray-600: #666666;
  --gray-800: #333333;
  --black: #111111;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--gray-800);
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner {
  max-width: 1080px;
  height: 120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.site-logo img { width: auto; height: 100px; object-fit: contain; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.header-button {
  display: inline-block;
  padding: 9px 15px;
  border: 2px solid var(--red);
  border-radius: 3px;
  color: var(--red);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  transition: .18s ease;
}
.header-button:hover { background: var(--red); color: var(--white); }
.header-button--solid { background: var(--red); color: var(--white); }
.header-button--solid:hover { background: var(--red-light); border-color: var(--red-light); }

.hero {
  position: relative;
  min-height: 505px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 75px 24px 80px;
  overflow: hidden;
  text-align: center;
  background-color: var(--gray-100);
  background-position: center;
  background-size: cover;
}
.hero::before { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,.82); }
.hero-inner { position: relative; z-index: 1; max-width: 850px; }
.hero-eyebrow { color: var(--red); font-size: .7rem; letter-spacing: .22em; font-weight: 700; margin-bottom: 17px; }
.hero-title { margin: 0; color: var(--black); font-family: 'Noto Serif JP', serif; font-size: clamp(2rem, 4.3vw, 3.1rem); font-weight: 700; letter-spacing: .04em; line-height: 1.55; }
.hero-title strong { color: var(--red); }
.hero-sub { margin: 12px 0 25px; font-size: .86rem; color: var(--gray-600); letter-spacing: .03em; }
.hero-price-label { margin: 0; color: var(--gray-600); font-size: .72rem; }
.hero-price { margin: 0 0 13px; color: var(--red); font-family: 'Noto Serif JP', serif; font-size: clamp(3.2rem, 7vw, 4.4rem); font-weight: 700; line-height: 1.12; }
.hero-price small { color: var(--gray-800); font-family: 'Noto Sans JP', sans-serif; font-size: 1rem; font-weight: 500; margin-left: 4px; }
.button-primary {
  display: inline-block;
  padding: 15px 52px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .08em;
  transition: .18s ease;
}
.button-primary:hover { background: var(--red-light); color: var(--white); transform: translateY(-1px); }
.button-note { display: block; margin-top: 7px; color: var(--gray-600); font-size: .72rem; font-weight: 500; }

.event-bar { background: var(--red); }
.event-bar__link { max-width: 1080px; min-height: 74px; margin: 0 auto; padding: 16px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; color: var(--white); }
.event-bar__icon { font-size: 1.65rem; }
.event-bar__text { display: flex; flex-direction: column; gap: 0; }
.event-bar__text strong { font-size: 1.05rem; letter-spacing: .04em; }
.event-bar__text span { font-size: .8rem; opacity: .92; }
.event-bar__badge { display: inline-block; margin-right: 6px; padding: 1px 8px; border: 1px solid rgba(255,255,255,.7); border-radius: 3px; color: var(--white); font-size: .7rem !important; font-weight: 700; opacity: 1 !important; }
.event-bar__button { flex-shrink: 0; padding: 9px 21px; background: var(--white); border-radius: 4px; color: var(--red); font-size: .86rem; font-weight: 700; letter-spacing: .03em; }

.section { padding: 80px 24px; }
.section--gray { background: var(--gray-100); }
.section--red { background: var(--red); color: var(--white); }
.inner { width: 100%; max-width: 880px; margin: 0 auto; }
.section-eyebrow { margin: 0 0 10px; color: var(--red); font-size: .68rem; font-weight: 500; letter-spacing: .36em; text-align: center; text-transform: uppercase; }
.section--red .section-eyebrow { color: rgba(255,255,255,.8); }
.section-title { margin: 0; color: var(--black); font-family: 'Noto Serif JP', serif; font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.45; text-align: center; }
.section--red .section-title { color: var(--white); }
.title-accent { color: var(--red); }
.divider { width: 40px; height: 2px; margin: 0 auto 48px; background: var(--red); }
.section--red .divider { background: rgba(255,255,255,.55); }

.pain-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 30px; margin: 0; padding: 0; list-style: none; }
.pain-list li { position: relative; padding: 18px 18px 18px 33px; background: var(--white); border-left: 3px solid var(--red); font-size: .94rem; }
.pain-list li::before { content: ''; position: absolute; top: 50%; left: 16px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); transform: translateY(-50%); }

.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit-card { padding: 28px 22px; border: 1px solid var(--gray-200); text-align: center; }
.benefit-no { color: var(--red); font-size: .7rem; letter-spacing: .12em; font-weight: 700; }
.benefit-icon { margin: 13px auto 10px; font-size: 2.2rem; }
.benefit-card h3 { margin: 0; color: var(--black); font-family: 'Noto Serif JP', serif; font-size: 1.15rem; line-height: 1.55; }
.benefit-card h3 span { color: var(--red); }
.benefit-card p { margin: 14px 0 0; color: var(--gray-600); font-size: .82rem; line-height: 1.75; text-align: left; }

.event-note { margin: -24px 0 30px; color: var(--gray-600); font-size: .82rem; text-align: center; }
.event-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.event-card { padding: 26px 25px; background: var(--white); border-top: 3px solid var(--red); }
.event-icon { font-size: 1.8rem; }
.event-card h3 { margin: 10px 0 2px; color: var(--black); font-size: 1.05rem; }
.event-card .freq { margin: 0; color: var(--gray-600); font-size: .75rem; }
.event-card .price { margin: 14px 0 0; color: var(--gray-800); font-size: .82rem; }
.event-card .free { color: var(--red); font-size: .82rem; font-weight: 700; }
.business-banner { margin-top: 30px; padding: 28px 25px; background: var(--black); color: var(--white); text-align: center; }
.business-banner p { margin: 0; font-family: 'Noto Serif JP', serif; font-size: 1.22rem; line-height: 1.6; }
.business-banner strong { color: #fff; }
.event-apply { display: block; margin-top: 28px; padding: 21px; background: var(--white); border: 2px solid var(--red); border-radius: 8px; color: var(--red); text-align: center; font-weight: 700; }
.event-apply small { display: block; color: var(--gray-600); font-size: .78rem; font-weight: 400; }

.topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.topic { padding: 18px 10px; background: var(--red-pale); border-radius: 4px; color: var(--gray-800); font-size: .84rem; font-weight: 700; text-align: center; }
.topic b { display: block; margin-bottom: 3px; font-size: 1.5rem; font-weight: 400; }
.about-copy { max-width: 760px; margin: 0 auto; color: var(--gray-800); font-size: .94rem; line-height: 2; text-align: left; }
.about-copy strong { color: var(--black); }
.speaker-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin: 0 auto 30px; }
.speaker-tag { padding: 5px 11px; border: 1px solid rgba(255,255,255,.65); border-radius: 3px; color: var(--white); font-size: .76rem; }
.speaker-copy { margin: 0; color: rgba(255,255,255,.92); font-size: .92rem; text-align: center; }
.speaker-number { margin-top: 28px; text-align: center; }
.speaker-number span { display: block; font-family: 'Noto Serif JP', serif; font-size: 2.55rem; font-weight: 700; line-height: 1.1; }
.speaker-number small { font-size: .82rem; }

.price-card { max-width: 570px; margin: 0 auto; border: 1px solid var(--gray-200); box-shadow: 0 10px 24px rgba(0,0,0,.04); }
.price-card__head { padding: 28px; background: var(--black); color: var(--white); text-align: center; }
.price-card__head p { margin: 0; font-size: .75rem; }
.price-card__amount { margin: 5px 0 !important; color: var(--white); font-family: 'Noto Serif JP', serif; font-size: 3.35rem !important; font-weight: 700; line-height: 1.12; }
.price-card__amount small { font-family: 'Noto Sans JP', sans-serif; font-size: .95rem; font-weight: 400; }
.price-card__body { padding: 25px 34px 32px; }
.price-card__body ul { margin: 0 0 25px; padding: 0; list-style: none; }
.price-card__body li { position: relative; padding: 9px 0 9px 19px; border-bottom: 1px solid var(--gray-200); font-size: .84rem; }
.price-card__body li::before { content: '•'; position: absolute; left: 2px; color: var(--red); font-weight: 700; }
.price-card__body li strong { color: var(--red); }
.price-card__body .button-primary { display: block; margin: 0 auto; width: fit-content; }
.price-note { margin: 10px 0 0; color: var(--gray-600); font-size: .75rem; text-align: center; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card { display: flex; flex-direction: column; min-height: 240px; padding: 24px; background: var(--white); border: 1px solid var(--gray-200); border-radius: 8px; transition: .2s ease; }
.blog-card:hover { box-shadow: 0 8px 25px rgba(0,0,0,.1); transform: translateY(-3px); }
.blog-card__date { margin: 0 0 7px; color: var(--gray-600); font-size: .72rem; }
.blog-card h3 { margin: 0 0 13px; color: var(--black); font-size: 1rem; line-height: 1.55; }
.blog-card__excerpt { margin: 0; color: var(--gray-600); font-size: .8rem; line-height: 1.75; }
.blog-card__more { margin-top: auto; padding-top: 13px; color: var(--red); font-size: .8rem; font-weight: 700; }
.blog-more { margin-top: 35px; text-align: center; }
.button-outline { display: inline-block; padding: 9px 28px; border: 2px solid var(--red); border-radius: 4px; color: var(--red); font-size: .86rem; font-weight: 700; letter-spacing: .05em; transition: .18s ease; }
.button-outline:hover { background: var(--red); color: var(--white); }

.join-section { padding: 80px 24px; background: var(--gray-100); }
.join-copy { margin: 0 0 24px; color: var(--gray-800); text-align: center; }
.join-inner { display: flex; align-items: center; justify-content: center; gap: 35px; }
.join-qr { width: 125px; padding: 5px; background: var(--white); border: 1px solid var(--gray-200); }
.join-qr-note { margin: 5px 0 0; color: var(--gray-600); font-size: .7rem; text-align: center; }
.join-cta { text-align: center; }
.join-note { margin: 9px 0 0; color: var(--gray-600); font-size: .76rem; }

.site-footer { padding: 45px 24px; background: var(--black); color: rgba(255,255,255,.8); font-size: .78rem; text-align: center; }
.site-footer p { margin: 4px 0; }
.footer-name { color: var(--white); font-size: .95rem; font-weight: 700; }
.site-footer a:hover { color: var(--white); }
.float-button { position: fixed; right: 24px; bottom: 24px; z-index: 300; padding: 12px 22px; background: var(--red); border-radius: 4px; box-shadow: 0 4px 16px rgba(192,0,26,.32); color: var(--white); font-size: .85rem; font-weight: 700; letter-spacing: .06em; transition: .18s ease; }
.float-button:hover { background: var(--red-light); color: var(--white); transform: translateY(-2px); }

.blog-page { max-width: 880px; margin: 0 auto; padding: 70px 24px 90px; }
.blog-page__title { margin: 0 0 35px; color: var(--black); font-family: 'Noto Serif JP', serif; font-size: 2rem; }
.post-list { display: grid; gap: 18px; }
.post-list__item { padding: 24px; border: 1px solid var(--gray-200); border-radius: 7px; }
.post-list__item h2 { margin: 3px 0 9px; color: var(--black); font-size: 1.15rem; }
.post-list__item p { margin: 0; color: var(--gray-600); font-size: .85rem; }
.post-list__date { color: var(--gray-600); font-size: .75rem; }
.post-single { max-width: 780px; margin: 0 auto; padding: 70px 24px 90px; }
.post-single__title { margin: 6px 0 28px; color: var(--black); font-family: 'Noto Serif JP', serif; font-size: clamp(1.65rem, 4vw, 2.4rem); line-height: 1.45; }
.post-content { color: var(--gray-800); font-size: .98rem; line-height: 2.1; }
.post-content p { margin: 0 0 1.4em; }
.post-nav { margin-top: 45px; }

@media (max-width: 720px) {
  .header-inner { height: 84px; padding: 0 16px; }
  .site-logo img { height: 63px; }
  .header-actions { gap: 6px; }
  .header-button { padding: 7px 7px; font-size: .64rem; letter-spacing: 0; }
  .hero { min-height: 470px; padding: 62px 18px 66px; }
  .hero-title { font-size: 1.95rem; }
  .hero-sub { font-size: .74rem; }
  .event-bar__link { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 22px; }
  .event-bar__icon { display: none; }
  .event-bar__button { width: 100%; text-align: center; }
  .section, .join-section { padding: 60px 16px; }
  .pain-list, .event-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; gap: 13px; }
  .benefit-card { padding: 24px 20px; }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .join-inner { flex-direction: column; gap: 20px; }
  .join-qr { width: 135px; }
  .float-button { right: 16px; bottom: 16px; }
}
