:root {
  --color-brand: #fad961;
  --color-accent-green: #3a7f5a;
  --color-accent-brown: #8b5a2b;
  --color-bg-soft: #fff9ec;
  --color-text-main: #333333;
  --color-text-muted: #666666;

  --container-width: 1200px;
  --space-section: 80px;
  --space-section-sm: 48px;
}

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

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Noto Sans JP", "YuGothic", sans-serif;
  color: var(--color-text-main);
  background-color: var(--color-bg-soft);
}

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

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: var(--space-section) 0;
}

/* .section--soft {
} */

.section__title {
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.section__lead {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* ヘッダー */

.header {
  background-color: #fff9ec;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__logo-img {
  height: 32px;
}

.header__nav ul{
  display: flex;
  gap: 24px;
  font-size: 0.95rem;
  list-style: none;
}

.header__nav a {
  position: relative;
  padding-bottom: 4px;
}

.header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-brand);
  transition: width 0.2s ease;
}

.header__nav a:hover::after,
.header__nav a:focus::after {
  width: 100%;
}

.header__toggle {
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  display: none;
}

.header__toggle-line {
  display: block;
  width: 24px;
  height: 2px;
  margin: 3px 0;
  background-color: #333;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.header__toggle--open .header__toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.header__toggle--open .header__toggle-line:nth-child(2) {
  opacity: 0;
}

.header__toggle--open .header__toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ヒーロー */

.hero {
  padding: 80px 0 64px;
  background-image: url("../images/IMG_9310.PNG");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 90vh;
}

.hero__inner {
  /* display: flex;  必要ならPCレイアウトで使用 */
  gap: 40px;
}

.hero__content {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 16px;
  margin-top: 30rem;
}

.hero__title {
  font-size: 2.4rem;
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero__subtitle {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 24px;
  color: var(--color-text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
}

.btn--primary {
  background: var(--color-brand);
  color: #333;
  font-weight: 600;
}

.btn--outline {
  border: 1px solid var(--color-accent-brown);
  color: var(--color-accent-brown);
  background-color: #fff;
}

.hero__image {
  flex: 1;
  display: none;
}

/* GoGenkiとは（トップ） */

.about-summary {
  display: grid;
  align-items: flex-start;
}

.about-summary__mv {
  font-size: 1rem;
  line-height: 1.8;
}

.about-summary__mv-strong {
  font-weight: 600;
  margin-bottom: 8px;
}

.about-summary__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.about-summary__card {
  padding: 16px;
  border-radius: 12px;
  background-color: #fff;
  border: 1px solid #eee;
}

.about-summary__card-title {
  font-weight: 600;
  margin-bottom: 8px;
}

.about-summary__values-list {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

/* サービスカード */

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background-color: #fff;
  border-radius: 16px;
  border: 1px solid #eee;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card__image {
  height: 360px;
  overflow: hidden;
}

.service-card__body {
  padding: 16px;
}

.service-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.service-card__text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* 活用事例 */

.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background-color: #fff;
  border-radius: 16px;
  border: 1px solid #eee;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-card__label {
  font-size: 0.85rem;
  color: var(--color-accent-green);
  font-weight: 600;
}

.case-card__comment {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* FAQ（枠のみ） */

.faq-list {
  border-radius: 16px;
  border: 1px dashed #ddd;
  padding: 16px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* お問い合わせセクション */

.cta-section {
  text-align: center;
}

.cta-section__buttons {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* フッター */

.footer {
  background-color: #222;
  color: #f9f9f9;
  padding: 32px 0 16px;
  font-size: 0.85rem;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer__bottom {
  margin-top: 24px;
  text-align: center;
  color: #aaa;
}

/* レスポンシブ */

@media (max-width: 1024px) {
  .hero__inner {
    flex-direction: column;
  }

  .about-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-section-sm) 0;
  }

  .hero {
    padding: 56px 0 40px;
    min-height: auto;
    background-image: none;
    background-size: auto;
    background-position: center top;
  }

  .hero__content {
    display: block;
    margin: auto;
  }

  .hero__title {
    font-size: 1.8rem;
  }

  .header__toggle {
    display: flex;
  }

  .header__nav {
    display: none;
    position: fixed;
    top: 64px;
    right: 0;
    width: 70%;
    max-width: 280px;
    height: calc(100vh - 64px);
    background-color: #ffffff;
    border-left: 1px solid #eee;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.08);
    z-index: 90;
  }

  .header__nav ul {
    flex-direction: column;
    padding: 16px;
    gap: 16px;
  }

  .header__nav.header__nav--open {
    display: block;
  }

  .hero__image {
    display: block;
    margin-top: 24px;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }
}

.page-content {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 0.98rem;
}

.page-section {
  margin-bottom: 48px;
}

.page-section__title {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.page-subtitle {
  font-size: 1.1rem;
  margin: 24px 0 8px;
}

/* 2カラムレイアウト（サービスなど） */

.page-two-col {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 24px;
  align-items: flex-start;
}

.page-two-col__image {
  border-radius: 16px;
  overflow: hidden;
}

.page-two-col__body p {
  margin-top: 0;
}

@media (max-width: 768px) {
  .page-two-col {
    grid-template-columns: 1fr;
  }
}

/* news */

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

.news-list__item {
  border-bottom: 1px solid #eee;
  padding: 12px 0;
}

.news-list__date {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-right: 12px;
}

.news-list__title {
  font-size: 0.98rem;
}

.news-single__meta {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.news-single__back {
  margin-top: 32px;
}

/* contact form */

.contact-form {
  max-width: 640px;
  margin-top: 24px;
}

.contact-form__field {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-form__field label {
  font-size: 0.9rem;
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font: inherit;
}
