/*
Theme Name: 後藤造園ガーデンガイド
Theme URI: https://example.com/garden-guide
Author: Your Name
Author URI: https://example.com
Description: 後藤造園のライフステージ対応型庭づくり秘訣集のためのテーマ
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: garden-guide
*/

/* ベーススタイル */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  color: #333;
}

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

.bg-f6f9fb {
  background-color: #f6f9fb;
}

.font-bold {
  font-weight: 700;
}

/* コンテナ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ヘッダーセクション */
.header {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 450px;
  overflow: hidden;
}

.header-bg {
  position: absolute;
  inset: 0;
}

.header-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(12, 74, 110, 0.7), rgba(3, 105, 161, 0.6));
}

.header-content {
  position: relative;
  z-index: 10;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
}

.header-logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.header-logo {
  position: relative;
  width: 5rem;
  height: 5rem;
  margin-bottom: 0.75rem;
}

.header-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-badge {
  display: inline-block;
  background-color: #0369a1;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.header-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  max-width: 48rem;
  text-align: center;
  padding: 0 0.5rem;
  line-height: 1.2;
}

.header-br {
  display: none;
}

.header-highlight {
  color: #fde047;
}

.header-description {
  font-size: 1rem;
  max-width: 32rem;
  margin-bottom: 1.5rem;
  text-align: center;
  padding: 0 0.5rem;
}

/* メインコンテンツ */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* セクション共通 */
.section {
  margin-bottom: 3rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background-color: #e0f2fe;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.section-icon i {
  font-size: 1.25rem;
  color: #0369a1;
}

.section-icon.warning i {
  color: #d97706;
}

.section-icon.heart i {
  color: #e11d48;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #075985;
  margin-bottom: 0.75rem;
  padding: 0 0.5rem;
}

.section-description {
  color: #4b5563;
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 0.5rem;
  font-size: 0.875rem;
}

/* タブ */
.tabs {
  width: 100%;
}

.tabs-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  margin-bottom: 1.5rem;
  background-color: #e0f2fe;
}

.tab-trigger {
  font-size: 0.75rem;
  padding: 0.25rem;
  border: none;
  background: transparent;
  cursor: pointer;
}

.tab-trigger.active {
  background-color: #0284c7;
  color: white;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-panel {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.tab-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0369a1;
  margin-bottom: 1rem;
}

/* チェックリスト */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.check-item {
  display: flex;
  align-items: flex-start;
}

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

.check-icon i {
  font-size: 1rem;
  color: #0284c7;
}

.check-title {
  font-weight: 700;
}

.check-description {
  color: #4b5563;
  font-size: 0.875rem;
}

/* 2カラムレイアウト */
.two-column {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.column-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0369a1;
  margin-bottom: 0.75rem;
}

/* パターンボックス */
.pattern-box {
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.pattern-title {
  font-weight: 700;
  color: #075985;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.pattern-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pattern-item {
  display: flex;
  align-items: flex-start;
}

.pattern-icon {
  background-color: #e0f2fe;
  padding: 0.375rem;
  border-radius: 9999px;
  margin-right: 0.5rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.pattern-icon i {
  font-size: 0.875rem;
  color: #0284c7;
}

.pattern-text {
  color: #374151;
  font-size: 0.875rem;
}

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

/* カードリスト */
.card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-item {
  background-color: white;
  padding: 0.75rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: flex-start;
}

.card-icon {
  background-color: #e0f2fe;
  padding: 0.375rem;
  border-radius: 9999px;
  margin-right: 0.5rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.card-icon i {
  font-size: 0.875rem;
  color: #0284c7;
}

.card-title {
  font-weight: 700;
  color: #075985;
  font-size: 0.875rem;
}

.card-description {
  color: #4b5563;
  font-size: 0.75rem;
}

/* 証言 */
.testimonial {
  background-color: #f0f9ff;
  border-left: 4px solid #0ea5e9;
  padding: 0.75rem;
  margin-top: 1rem;
  font-size: 0.875rem;
}

.testimonial-text {
  font-style: italic;
  color: #374151;
}

/* カード */
.info-card {
  background-color: white;
  border-radius: 0.375rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.info-card-header {
  padding-bottom: 0.25rem;
}

.info-card-title {
  font-size: 1rem;
  font-weight: 700;
}

.info-card-content {
  padding: 0.5rem 1rem 1rem;
}

.info-card-content p {
  font-size: 0.875rem;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

/* シーズンボックス */
.season-box {
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.season-title {
  font-weight: 700;
  color: #075985;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.season-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.season-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.season-item i {
  font-size: 1rem;
  color: #0284c7;
  flex-shrink: 0;
}

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

.tips-title {
  font-weight: 700;
  color: #0369a1;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

/* 3カラムレイアウト */
.three-column {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

/* 予算カード */
.budget-card {
  background-color: white;
  border-radius: 0.375rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.budget-card-header {
  padding: 1rem;
}

.budget-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0369a1;
}

.budget-card-content {
  padding: 0 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.budget-item-title {
  font-weight: 700;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

.budget-item-desc {
  color: #4b5563;
  font-size: 0.75rem;
}

.testimonial-large {
  background-color: #f0f9ff;
  border-left: 4px solid #0ea5e9;
  padding: 0.75rem 1.5rem;
  margin-top: 1.5rem;
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  font-size: 0.875rem;
}

/* 失敗リスト */
.failure-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.failure-item {
  background-color: white;
  padding: 0.75rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #f59e0b;
}

.failure-title {
  font-weight: 700;
  color: #b45309;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

.failure-desc {
  color: #4b5563;
  font-size: 0.75rem;
}

/* チェックリストボックス */
.checklist-box {
  background-color: white;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.checklist-title {
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: #075985;
  font-size: 0.875rem;
}

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checklist-item {
  display: flex;
  align-items: center;
}

.checklist-checkbox {
  height: 1.25rem;
  width: 1.25rem;
  border: 2px solid #0284c7;
  border-radius: 0.25rem;
  margin-right: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.checklist-checkbox i {
  font-size: 0.75rem;
  color: #0284c7;
}

.checklist-item p {
  font-size: 0.875rem;
}

/* 家族画像 */
.family-image {
  position: relative;
  height: 250px;
  border-radius: 0.75rem;
  overflow: hidden;
}

.family-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.75rem;
}

/* ハートリスト */
.heart-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.heart-item {
  display: flex;
  align-items: flex-start;
}

.heart-icon {
  background-color: #fee2e2;
  padding: 0.375rem;
  border-radius: 9999px;
  margin-right: 0.5rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.heart-icon i {
  font-size: 0.875rem;
  color: #e11d48;
}

.heart-title {
  font-weight: 700;
  font-size: 0.875rem;
}

.heart-description {
  color: #4b5563;
  font-size: 0.75rem;
}

.life-stage-title {
  margin-top: 1.5rem;
}

.life-stage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.life-stage-item {
  background-color: white;
  padding: 0.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.life-stage-name {
  font-weight: 700;
  color: #0369a1;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
}

.life-stage-desc {
  color: #4b5563;
  font-size: 0.75rem;
}

/* 無料相談セクション */
.consultation-section {
  background-color: #075985;
  color: white;
  padding: 2.5rem 1rem;
}

.consultation-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.consultation-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.consultation-description {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  padding: 0 0.5rem;
}

.benefits-box {
  background-color: white;
  color: #075985;
  padding: 1.5rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
}

.benefits-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
  max-width: 28rem;
  margin: 0 auto;
}

.benefits-item {
  display: flex;
  align-items: center;
}

.benefits-icon {
  background-color: #e0f2fe;
  padding: 0.25rem;
  border-radius: 9999px;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.benefits-icon i {
  font-size: 0.875rem;
  color: #0284c7;
}

.benefits-item p {
  font-size: 0.875rem;
}

.company-description {
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  padding: 0 0.5rem;
}

.cta-button {
  background-color: #eab308;
  color: black;
  font-weight: 700;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.cta-button:hover {
  background-color: #ca8a04;
}

.cta-button i {
  margin-left: 0.5rem;
  font-size: 1rem;
}

/* フッター */
.footer {
  background-color: #0c4a6e;
  color: white;
  padding: 1.5rem 1rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-logo {
  position: relative;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.75rem;
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-copyright {
  font-size: 0.875rem;
}

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

  .header-br {
    display: block;
  }

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

  .tab-trigger {
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .header-logo {
    width: 7rem;
    height: 7rem;
  }

  .header-badge {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
  }

  .header-title {
    font-size: 2.25rem;
  }

  .header-description {
    font-size: 1.25rem;
  }

  .main-content {
    padding: 3rem 1rem;
  }

  .section {
    margin-bottom: 5rem;
  }

  .section-icon {
    padding: 0.5rem;
  }

  .section-icon i {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.875rem;
  }

  .section-description {
    font-size: 1rem;
  }

  .tabs-list {
    margin-bottom: 2rem;
  }

  .tab-trigger {
    font-size: 1rem;
    padding: 0.5rem;
  }

  .tab-panel {
    padding: 2rem;
  }

  .tab-title {
    font-size: 1.5rem;
  }

  .check-description {
    font-size: 1rem;
  }

  .two-column {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .column-title {
    font-size: 1.25rem;
  }

  .pattern-box {
    padding: 1.5rem;
  }

  .pattern-title {
    font-size: 1rem;
  }

  .pattern-text {
    font-size: 1rem;
  }

  .card-item {
    padding: 1.25rem;
  }

  .card-icon {
    padding: 0.5rem;
  }

  .card-icon i {
    font-size: 1.25rem;
  }

  .card-title {
    font-size: 1rem;
  }

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

  .testimonial {
    padding: 1rem;
    font-size: 1rem;
  }

  .info-card-title {
    font-size: 1.125rem;
  }

  .info-card-content p {
    font-size: 1rem;
  }

  .season-title {
    font-size: 1rem;
  }

  .season-text {
    font-size: 1rem;
  }

  .tips-title {
    font-size: 1rem;
  }

  .three-column {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .budget-card-title {
    font-size: 1.25rem;
  }

  .budget-item-title {
    font-size: 1rem;
  }

  .budget-item-desc {
    font-size: 0.875rem;
  }

  .testimonial-large {
    padding: 1.5rem;
    margin-top: 2rem;
    font-size: 1rem;
  }

  .failure-title {
    font-size: 1rem;
  }

  .failure-desc {
    font-size: 0.875rem;
  }

  .checklist-title {
    font-size: 1rem;
  }

  .checklist-checkbox {
    height: 1.5rem;
    width: 1.5rem;
  }

  .checklist-checkbox i {
    font-size: 1rem;
  }

  .checklist-item p {
    font-size: 1rem;
  }

  .family-image {
    height: 400px;
  }

  .heart-icon {
    padding: 0.5rem;
  }

  .heart-icon i {
    font-size: 1.25rem;
  }

  .heart-title {
    font-size: 1rem;
  }

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

  .life-stage-grid {
    gap: 1rem;
  }

  .life-stage-item {
    padding: 1rem;
  }

  .life-stage-name {
    font-size: 0.875rem;
  }

  .consultation-section {
    padding: 4rem 1rem;
  }

  .consultation-title {
    font-size: 1.875rem;
  }

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

  .benefits-box {
    padding: 2rem;
  }

  .benefits-title {
    font-size: 1.5rem;
  }

  .benefits-item p {
    font-size: 1rem;
  }

  .company-description {
    font-size: 1rem;
  }

  .cta-button {
    padding: 1.5rem 2rem;
    font-size: 1.125rem;
  }

  .footer {
    padding: 2rem 1rem;
  }

  .footer-logo {
    width: 4rem;
    height: 4rem;
  }

  .footer-copyright {
    font-size: 1rem;
  }
}

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

/* WordPress特有のスタイル */
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
  margin-right: 1.5em;
}

.alignright {
  float: right;
  margin-left: 1.5em;
}

.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img {
  display: block;
  margin: 0 auto;
}

.wp-caption-text {
  text-align: center;
  padding: 0.5em 0;
  font-size: 0.875rem;
  color: #4b5563;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.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;
  clip-path: none;
  color: #0284c7;
  display: block;
  font-size: 1rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* WordPress管理バー調整 */
.admin-bar .header {
  margin-top: 32px;
}

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