/* ============================================
   Blog Article Styles - classclass2021
   LPのデザインシステムと統一
   ============================================ */

/* Base */
html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Zen Kaku Gothic New', 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.5rem;
  line-height: 1.8;
  color: #141414;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ============================================
   Layout
   ============================================ */

.blog-wrapper {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
  position: relative;
}

.blog-header {
  background: linear-gradient(135deg, #f58abd 0%, #c68ada 50%, #80ddd7 100%);
  padding: 16px 20px;
  text-align: center;
}

.blog-header__logo {
  display: inline-block;
}

.blog-header__logo img {
  height: 36px;
  width: auto;
  display: inline-block;
}

.blog-header__logo-text {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.blog-header__nav {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.blog-header__nav a {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.blog-header__nav a:hover {
  opacity: 1;
}

/* ============================================
   Breadcrumb
   ============================================ */

.breadcrumb {
  padding: 12px 20px;
  font-size: 1.2rem;
  color: #696158;
}

.breadcrumb a {
  color: #c68ada;
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 6px;
  color: #999;
}

/* ============================================
   Article
   ============================================ */

.article {
  padding: 0 20px 40px;
}

.article__date {
  font-size: 1.2rem;
  color: #696158;
  margin-bottom: 8px;
}

.article__title {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.4;
  color: #141414;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 3px solid #f58abd;
}

.article__hero-image {
  margin: 0 -20px 24px;
}

.article__hero-image img {
  width: 100%;
}

.article__content h2 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: #141414;
  margin: 36px 0 16px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #ffe5ec 0%, #f9b9d7 100%);
  border-radius: 8px;
  line-height: 1.4;
}

.article__content h3 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #141414;
  margin: 28px 0 12px;
  padding-left: 12px;
  border-left: 4px solid #f58abd;
  line-height: 1.4;
}

.article__content p {
  font-size: 1.5rem;
  line-height: 1.9;
  margin-bottom: 16px;
  color: #333;
}

.article__content ul {
  margin: 0 0 16px 0;
  padding: 0;
  list-style: none;
}

.article__content ul li {
  font-size: 1.5rem;
  line-height: 1.8;
  padding: 4px 0 4px 20px;
  position: relative;
}

.article__content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #f58abd;
  font-weight: 700;
}

.article__content .highlight-box {
  background: #f8f4ff;
  border: 2px solid #c68ada;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
}

.article__content .highlight-box h4 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #c68ada;
  margin: 0 0 8px;
}

.article__content .highlight-box p {
  margin-bottom: 8px;
}

.article__content .highlight-box p:last-child {
  margin-bottom: 0;
}

.article__content .example-list {
  background: #fafafa;
  border-radius: 12px;
  padding: 20px;
  margin: 16px 0;
}

.article__content .example-list h4 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #f58abd;
  margin: 0 0 12px;
}

.article__content .example-list ul {
  margin: 0;
}

.article__content .example-list ul li {
  padding: 6px 0 6px 24px;
  font-size: 1.4rem;
}

.article__content .example-list ul li::before {
  content: '▸';
  color: #c68ada;
}

/* ============================================
   CTA (LINE誘導)
   ============================================ */

.article__cta {
  background: linear-gradient(135deg, #ffe5ec 0%, #f9b9d7 100%);
  border-radius: 16px;
  padding: 24px 20px;
  margin: 32px 0;
  text-align: center;
}

.article__cta h3 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #141414;
  margin: 0 0 8px;
  padding: 0;
  border: none;
}

.article__cta p {
  font-size: 1.3rem;
  color: #555;
  margin-bottom: 16px;
}

.article__cta-button {
  display: inline-block;
  background: #06c755;
  color: #fff;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  padding: 14px 40px;
  border-radius: 50px;
  text-decoration: none;
  transition: opacity 0.2s;
  pointer-events: auto;
}

.article__cta-button:hover {
  opacity: 0.85;
}

/* ============================================
   Related Articles
   ============================================ */

.related {
  padding: 32px 20px;
  background: #fafafa;
}

.related__title {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #141414;
  margin-bottom: 16px;
}

.related__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related__list li {
  margin-bottom: 12px;
}

.related__list a {
  display: block;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  font-size: 1.4rem;
  font-weight: 500;
  color: #333;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
  pointer-events: auto;
}

.related__list a:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.related__list a::before {
  content: '▸ ';
  color: #f58abd;
}

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

.blog-footer {
  background: #303030;
  color: #fdfdfd;
  padding: 24px 20px;
  text-align: center;
}

.blog-footer__links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}

.blog-footer__links a {
  color: #fdfdfd;
  font-size: 1.3rem;
  opacity: 0.8;
  transition: opacity 0.2s;
  pointer-events: auto;
}

.blog-footer__links a:hover {
  opacity: 1;
}

.blog-footer__company {
  font-size: 1.1rem;
  color: #999;
  margin-top: 12px;
}

.blog-footer__copyright {
  font-size: 1.1rem;
  color: #666;
  margin-top: 8px;
}

/* ============================================
   Follow Banner (LP共通)
   ============================================ */

.follow-banner {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 1000;
  pointer-events: auto;
}

.follow-banner img {
  width: 100%;
  display: block;
  pointer-events: auto;
}

/* バナー分の余白 */
.blog-footer {
  padding-bottom: 80px;
}

/* ============================================
   PC background
   ============================================ */

.bg-pc-image {
  display: none;
}

@media (min-width: 481px) {
  body {
    background: #f5f5f5;
  }

  .blog-wrapper {
    box-shadow: 0 0 20px rgba(0,0,0,0.08);
  }

  .bg-pc-image {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #fce4ec 0%, #e8eaf6 50%, #e0f7fa 100%);
  }
}

/* ============================================
   Blog Index Page
   ============================================ */

.blog-index {
  padding: 24px 20px 40px;
}

.blog-index__title {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #141414;
  margin-bottom: 24px;
  text-align: center;
}

.blog-index__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-index__list li {
  margin-bottom: 16px;
}

.blog-index__card {
  display: block;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
  pointer-events: auto;
}

.blog-index__card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.blog-index__card-body {
  padding: 16px;
}

.blog-index__card-date {
  font-size: 1.2rem;
  color: #696158;
  margin-bottom: 4px;
}

.blog-index__card-title {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  color: #141414;
}
