/*
Theme Name: らくぽすテーマ
Theme URI: https://example.com/rakuposu-theme
Author: Your Name
Author URI: https://example.com
Description: らくぽす宅配ボックスのランディングページ用WordPressテーマ
Version: 1.0.3
Text Domain: rakuposu-theme
*/

/* ベーススタイル */
:root {
  --background: 255, 255, 255;
  --foreground: 10, 10, 10;
  --primary: 23, 23, 23;
  --primary-foreground: 250, 250, 250;
  --secondary: 245, 245, 245;
  --secondary-foreground: 23, 23, 23;
  --muted: 245, 245, 245;
  --muted-foreground: 115, 115, 115;
  --accent: 245, 245, 245;
  --accent-foreground: 23, 23, 23;
  --destructive: 255, 59, 48;
  --destructive-foreground: 250, 250, 250;
  --border: 229, 229, 229;
  --input: 229, 229, 229;
  --ring: 10, 10, 10;
  --radius: 0.5rem;
  --amber-500: 245, 158, 11;
  --amber-600: 217, 119, 6;
  --amber-300: 252, 211, 77;
  --blue-500: 59, 130, 246;
  --purple-500: 168, 85, 247;
  --indigo-500: 99, 102, 241;
  --pink-500: 236, 72, 153;
  --gray-50: 249, 250, 251;
  --gray-100: 243, 244, 246;
  --gray-200: 229, 231, 235;
  --gray-300: 209, 213, 219;
  --gray-500: 107, 114, 128;
  --gray-600: 75, 85, 99;
  --gray-700: 55, 65, 81;
  --gray-800: 31, 41, 55;
  --gray-900: 17, 24, 39;
  --yellow-400: 250, 204, 21;
  --line-green: 6, 199, 85;
  --rakuten-red: 191, 0, 0;
  --amazon-orange: 255, 153, 0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: rgb(var(--foreground));
  background-color: rgb(var(--background));
  line-height: 1.5;
}

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

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.min-h-screen {
  min-height: 100vh;
}

/* ヘッダー */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: white;
  border-bottom: 1px solid rgb(var(--border));
}

.sticky-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-container {
  height: 2.25rem;
  position: relative;
}

.logo-image {
  object-fit: contain;
  height: 100%;
  width: auto;
}

.contact-button {
  background-color: black;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-button:hover {
  background-color: rgb(var(--gray-800));
}

/* ヒーローセクション */
.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom right, rgb(var(--gray-900)), black);
  color: white;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.3;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 10;
}

.gradient-circle {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(3rem);
}

.top-left {
  top: 10%;
  left: -5%;
  background: linear-gradient(to right, rgba(var(--blue-500), 0.2), rgba(var(--purple-500), 0.2));
}

.bottom-right {
  bottom: -10%;
  right: -5%;
  background: linear-gradient(to right, rgba(var(--indigo-500), 0.2), rgba(var(--pink-500), 0.2));
}

.hero-container {
  position: relative;
  z-index: 20;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 0;
  min-height: 80vh;
}

.hero-text {
  width: 100%;
  margin-bottom: 2.5rem;
}

.hero-subtitle {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgb(var(--gray-300));
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-title-line {
  display: block;
  margin-bottom: 0.5rem;
  background-image: linear-gradient(to right, white, rgb(var(--gray-300)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.875rem; /* 「らくぽす」と同じサイズに調整 */
}

.hero-title-end {
  display: block;
  color: white;
  margin-top: 1rem;
  font-size: 1.875rem; /* 「らくぽす」と同じサイズに調整 */
}

.hero-product-intro {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.hero-product-tagline {
  font-size: 1.25rem;
  font-weight: 500;
  color: rgb(var(--gray-200));
}

.hero-product-name {
  font-size: 1.875rem;
  font-weight: 700;
  margin-top: 0.25rem;
  color: white;
}

.hero-description {
  font-size: 1rem;
  color: rgb(var(--gray-300));
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  color: rgb(var(--gray-900));
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s;
}

.primary-button:hover {
  background-color: rgb(var(--gray-100));
}

.button-icon {
  width: 1rem;
  height: 1rem;
  margin-left: 0.5rem;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: background-color 0.3s;
}

.secondary-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.hero-image-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.product-image-wrapper {
  position: relative;
  width: 300px;
  height: 400px;
}

.product-image-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.2));
  border-radius: 0.75rem;
  z-index: 10;
}

.product-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 20;
}

.product-image-glow {
  position: absolute;
  inset: -0.125rem;
  background: linear-gradient(to right, rgba(var(--blue-500), 0.3), rgba(var(--purple-500), 0.3));
  border-radius: 0.75rem;
  filter: blur(1rem);
  opacity: 0.7;
  z-index: -10;
}

/* 実績セクション */
.stats-section {
  padding: 4rem 0 5rem;
  background-color: rgb(var(--gray-50));
}

.stats-content {
  max-width: 64rem;
  margin: 0 auto;
}

.stats-header {
  text-align: center;
  margin-bottom: 3rem;
}

.stats-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.highlight {
  color: rgb(var(--amber-600));
}

.title-underline {
  width: 6rem;
  height: 0.25rem;
  background-color: rgb(var(--amber-500));
  margin: 0 auto 1.5rem;
}

.stats-description {
  font-size: 1.125rem;
  max-width: 48rem;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.stats-number-container {
  display: flex;
  justify-content: center;
}

.stats-number-wrapper {
  position: relative;
  text-align: center;
}

.stats-number {
  font-size: 6rem;
  font-weight: 700;
  color: rgb(var(--gray-900));
  opacity: 0.9;
  position: relative;
}

.stats-plus {
  position: absolute;
  top: -1rem;
  right: -2rem;
  font-size: 3rem;
  color: rgb(var(--amber-500));
  font-weight: 700;
}

.stats-label {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgb(var(--gray-600));
  margin-top: 0.5rem;
  font-weight: 500;
}

.stats-reviews {
  background-color: white;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.rating-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.stars {
  display: flex;
  margin-right: 0.75rem;
}

.star {
  position: relative;
  width: 1.25rem; /* 星のサイズを小さく */
  height: 1.25rem; /* 星のサイズを小さく */
  margin-right: 0.25rem;
}

.star.small {
  width: 0.875rem; /* さらに小さく */
  height: 0.875rem; /* さらに小さく */
}

.star::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'%3E%3C/polygon%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.star.filled::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='rgb(250, 204, 21)' stroke='rgb(250, 204, 21)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'%3E%3C/polygon%3E%3C/svg%3E");
}

.star.empty::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='rgb(209, 213, 219)' stroke='rgb(209, 213, 219)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'%3E%3C/polygon%3E%3C/svg%3E");
}

.rating-score {
  font-size: 1.25rem;
  font-weight: 500;
}

.reviews-count {
  font-size: 1.125rem;
  font-weight: 700; /* 太字に変更 */
  color: rgb(var(--gray-700));
  margin-bottom: 1rem; /* 下部の余白を追加 */
}

.rating-bars {
  margin-top: 1.5rem;
}

.rating-bar-row {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.rating-bar-bg {
  flex-grow: 1;
  height: 0.5rem;
  background-color: rgb(var(--gray-200));
  border-radius: 9999px;
  margin-right: 0.5rem;
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  background-color: #facc15; /* 直接黄色を指定 */
  border-radius: 9999px;
}

.rating-label {
  font-size: 0.875rem;
  font-weight: 700; /* 太字に変更 */
  width: 2rem;
  color: #333; /* より濃い色に変更 */
}

/* 悩みセクション */
.problems-section {
  padding: 4rem 0;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

.problems-container {
  max-width: 48rem;
  margin: 0 auto;
  background-color: rgb(var(--gray-50));
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.problems-list {
  list-style: none;
  margin-bottom: 2rem;
}

.problem-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.problem-item:last-child {
  margin-bottom: 0;
}

.check-icon {
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  background-color: black;
  border-radius: 9999px;
  padding: 0.25rem;
  flex-shrink: 0;
}

.check-svg {
  height: 1rem;
  width: 1rem;
  color: white;
}

.problems-note {
  margin-top: 2rem;
  padding: 1rem;
  background-color: rgb(var(--gray-100));
  border-radius: 0.375rem;
}

.problems-note p {
  font-size: 0.875rem;
}

/* 製品紹介セクション */
.product-intro-section {
  padding: 4rem 0;
  background-color: rgb(var(--gray-50));
}

.product-intro-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.product-intro-description {
  font-size: 1.125rem;
  max-width: 36rem;
  margin: 0 auto;
}

.product-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

.features-list {
  list-style: none;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  margin-bottom: 1.25rem;
}

.feature-number {
  margin-right: 1rem;
  background-color: black;
  color: white;
  height: 1.75rem;
  width: 1.75rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.feature-text {
  font-weight: 500;
}

.product-quote {
  padding: 1.25rem;
  background-color: rgb(var(--gray-100));
  border-radius: 0.5rem;
}

.product-quote p {
  font-style: italic;
  font-size: 0.875rem;
}

.product-image-container {
  display: flex;
  justify-content: center;
}

.product-image-wrapper-intro {
  width: 280px;
  height: 350px;
  position: relative;
}

.product-image-intro {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 製品特徴画像セクション */
.product-features-section {
  position: relative;
  overflow: hidden;
  background-color: rgb(var(--gray-50));
  padding: 2rem 0 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

.feature-card {
  background-color: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.feature-image {
  width: 100%;
  height: auto;
}

.features-footer {
  margin-top: 2rem;
  text-align: center;
}

.features-footer-text {
  font-size: 1.125rem;
  font-weight: 500;
}

/* レビューセクション */
.reviews-section {
  padding: 4rem 0;
  background-color: white;
}

.reviews-description {
  text-align: center;
  font-size: 1.125rem;
  margin-bottom: 3rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

.review-card {
  background-color: rgb(var(--gray-50));
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid rgb(var(--gray-100));
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.review-stars {
  display: flex;
  margin-right: 0.5rem;
}

.review-title {
  font-weight: 500;
}

.review-meta {
  margin-bottom: 0.75rem;
}

.review-author {
  font-size: 0.875rem;
  color: rgb(var(--gray-600));
}

.review-product {
  font-size: 0.875rem;
  color: rgb(var(--gray-500));
}

.review-text {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.review-highlight {
  font-weight: 500;
}

.review-image-container {
  margin-top: 1rem;
}

.review-image {
  border-radius: 0.375rem;
  object-fit: cover;
  width: 100%;
  height: auto;
}

.reviews-summary {
  margin-top: 3rem;
  text-align: center;
}

.reviews-summary-badge {
  display: inline-flex;
  align-items: center;
  background-color: rgb(var(--gray-100));
  padding: 0.5rem 1rem;
  border-radius: 9999px;
}

.reviews-summary-stars {
  display: flex;
  margin-right: 0.5rem;
}

.reviews-summary-text {
  font-weight: 500;
  font-size: 0.875rem;
}

/* 価値提案セクション */
.value-section {
  padding: 4rem 0;
}

.value-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.value-description {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.value-card {
  background-color: rgb(var(--gray-50));
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.value-icon {
  width: 3rem;
  height: 3rem;
  background-color: black;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.value-svg {
  height: 1.5rem;
  width: 1.5rem;
  color: white;
}

.value-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.value-text {
  font-size: 0.875rem;
}

/* CTA セクション */
.cta-section {
  padding: 4rem 0;
  background: linear-gradient(to bottom right, rgb(var(--gray-900)), black);
  color: white;
}

.cta-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.cta-description {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.cta-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cta-logo-container {
  width: 4rem;
  height: 4rem;
  background-color: white;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  overflow: hidden;
}

.cta-logo {
  width: auto;
  height: auto;
}

.line-logo {
  height: 100%;
  width: 100%;
}

.rakuten-logo {
  height: 2.5rem;
  width: auto;
}

.amazon-logo {
  height: 2rem;
  width: auto;
}

.cta-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta-card-text {
  font-size: 0.875rem;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.cta-highlight {
  font-weight: 700;
  color: rgb(var(--amber-300));
}

/* ボタンスタイルの修正 - aタグに対応するためのスタイル追加 */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  border: none;
  cursor: pointer;
  width: 100%;
  color: white;
  text-decoration: none; /* リンクの下線を削除 */
}

.cta-button-logo-container {
  width: 1.25rem;
  height: 1.25rem;
  background-color: white;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
}

.cta-button-logo {
  height: 0.75rem;
  width: auto;
}

.line-button {
  background-color: rgb(var(--line-green));
}

.line-button:hover {
  background-color: rgba(var(--line-green), 0.9);
}

.rakuten-button {
  background-color: rgb(var(--rakuten-red));
}

.rakuten-button:hover {
  background-color: rgba(var(--rakuten-red), 0.9);
}

.amazon-button {
  background-color: rgb(var(--amazon-orange));
}

.amazon-button:hover {
  background-color: rgba(var(--amazon-orange), 0.9);
}

.promo-banner {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.promo-banner {
  display: flex;
  align-items: center;
}

.promo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgb(var(--amber-500));
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.promo-svg {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}

.promo-text {
  text-align: left;
}

.promo-title {
  font-weight: 700;
  color: rgb(var(--amber-300));
  font-size: 0.875rem;
}

.promo-description {
  font-size: 0.875rem;
}

.promo-highlight {
  font-weight: 700;
}

/* フッター */
.footer {
  padding: 3rem 0;
  background-color: rgb(var(--gray-100));
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo-image {
  height: auto;
  width: 200px;
}

.footer-info {
  list-style: none;
  font-size: 0.875rem;
}

.footer-info li {
  margin-bottom: 0.5rem;
}

.footer-copyright {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(var(--gray-200));
  text-align: center;
  font-size: 0.875rem;
  color: rgb(var(--gray-500));
}

/* WordPressの管理バーを考慮したスタイル調整 */
.admin-bar .sticky-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .sticky-header {
    top: 46px;
  }
}

/* レスポンシブデザイン */
@media (min-width: 768px) {
  .section-title {
    font-size: 1.875rem;
  }

  .hero-content {
    flex-direction: row;
    min-height: 70vh;
  }

  .hero-text {
    width: 50%;
    margin-bottom: 0;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-title-line,
  .hero-title-end {
    font-size: 2.25rem; /* 「らくぽす」と同じサイズに調整（レスポンシブ対応） */
  }

  .hero-product-tagline {
    font-size: 1.5rem;
  }

  .hero-product-name {
    font-size: 2.25rem;
  }

  .hero-description {
    font-size: 1.125rem;
  }

  .hero-buttons {
    flex-direction: row;
  }

  .hero-image-container {
    width: 50%;
    justify-content: flex-end;
  }

  .product-image-wrapper {
    width: 400px;
    height: 500px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-number {
    font-size: 9rem;
  }

  .product-intro-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }

  .hero-title-line,
  .hero-title-end {
    font-size: 2.5rem; /* 「らくぽす」と同じサイズに調整（大画面対応） */
  }
}

/* WordPress固有のスタイル */
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  white-space: nowrap;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}
