

/* 共通部分
ーーーーーーーーーーー */
html{
	font-size: 100%;
	scroll-behavior: smooth;
}
body{
	font-family: "Noto Sans JP", sans-serif;
	line-height: 1.7;
}
a{
	text-decoration: none;
}

/* ヘッダー
ーーーーーーーーーーー */
.nav-background {
  display: flex;                 /* 左右に分ける */
  justify-content: space-between; /* 左右の端に配置 */
  align-items: center;           /* 縦方向中央揃え */
  padding: 1rem 2rem;            /* 上下1rem、左右2remの余白 */
  background-color: #F97A00;       /* 元の背景色 */
  height: 5rem;
}

.logo {
  margin: 0;                     /* h1のデフォルトマージンをリセット */
}

.text-logo {
  display: flex;
  align-items: center;           /* 画像とテキスト縦中央揃え */
  text-decoration: none;         /* 下線消す */
  color: #FFF4A4;                   /* テキスト色 */
  font-size: 1.5rem;
  font-weight: bold;
}

.logo-img {
  height: 2.5rem;                /* ロゴの高さ */
  margin-right: 0.5rem;          /* 文字との間隔 */
  border-radius: 8px;
}

.main-nav {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;                   /* ナビアイテム間のスペース */
  font-size: 1.15rem;
}
.main-nav li:nth-child(-n+3) a {
  text-decoration: none;
  color: #FFF4A4;
  font-weight: 500;
}


/* ボタン */
/* solid004 */
.button_solid004 a {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 240px;
    padding: 10px 25px;
    color: #FFF;
    transition: 0.3s ease-in-out;
    font-weight: 600;
    background: #16610E;
    border-radius: 8px;
    border-bottom: solid 5px #0e3e09;
}
.button_solid004 a:hover {
    border-bottom: solid 2px #16610E;
	  color: rgb(255, 218, 84);
    transform: translateY(3px);
}
/* ===========================
   スマホ・タブレット対応
=========================== */
@media (max-width: 768px) {

  /* ---- ヘッダー ---- */
  .nav-background {
    flex-direction: column;
    height: auto;
    padding: 1rem;
  }

  .main-nav {
    flex-direction: column;
    gap: 1rem;
    font-size: 1rem;
  }

  .logo-img {
    height: 2rem;
  }
}


/*セクション1 hero
ーーーーーーーーーーー */
.hero {
  background: linear-gradient(160deg, #fffbe0, #ffecb3);
  padding: 5rem 4rem;
  align-items: center;
  justify-content: center;
  min-height: 80vh; /* ← heroを縦長に */
  display: flex;
}

.hero-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  width: 100%;
  gap: 4rem;
}

.hero-text {
  flex: 1;
}

.hero-text h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #004d00;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.hero-text p {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-btn {
  background-color: #f97a00;
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.hero-btn:hover {
  background-color: #ff9c3b;
  transform: translateY(3px);
}

.hero-image img {
  width: 420px;
  border-radius: 1.5rem;
  box-shadow: 0 15px 25px rgba(0,0,0,0.15);
}
/* ===========================
   スマホ・タブレット対応
=========================== */
@media (max-width: 768px) {
  /* ---- Hero ---- */
  .hero {
    flex-direction: column;
    padding: 3rem 1rem;
    text-align: center;
  }

  .hero-inner {
    flex-direction: column;
    gap: 2rem;
  }

  .hero-text h2 {
    font-size: 1.8rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .hero-image img {
    width: 90%;
  }
}

/* セクション2
ーーーーーーーーーーー */
.service {
  background-color: #064b22; /* 濃い緑（heroとのコントラスト） */
  color: #fff;
  padding: 100px 0;
  text-align: center;
}

.service .section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.service .section-subtitle {
  color: #d1f7c4;
  margin-bottom: 3rem;
  font-size: 1.2rem;
}

.features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.features h3{
	margin-bottom: 15px;
}
.features p{
	text-align: center;
	letter-spacing: 1px;
}

.feature {
  background-color: #fff;
  color: #064b22;
  border-radius: 1rem;
  padding: 2rem;
  width: 280px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature img {
  width: 60px;
  margin-bottom: 1rem;
}
/* ===========================
   スマホ・タブレット対応
=========================== */
@media (max-width: 768px) {

  /* ---- Service ---- */
  .features {
    flex-direction: column;
    align-items: center;
  }

  .feature {
    width: 85%;
  }

  .service .section-title {
    font-size: 2rem;
  }
}

/* セクション3
ーーーーーーーーーーー */
.how-to {
  background-image: url(/../images/main/background_img.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 5rem 2rem;
  text-align: center;
  color: #333;
}

.how-to::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255, 240, 184, 0.5);
  z-index: 0;
}

.how-to .container {
  position: relative;
  z-index: 1;
}


.how-to h2 {
  color: #f97a00;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.how-to .subtitle {
  font-weight: bold;
  color: #006400;
  font-size: 1.3rem;
  margin-bottom: 3rem;
}

.step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.step.reverse {
  flex-direction: row-reverse;
}

.step img {
  width: 320px;
  border-radius: 12px;
  border: 3px solid #f97a00;
}

.step-text {
  max-width: 400px;
  text-align: left;
}

.step-text h3 {
  color: #f97a00;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}
.step-text p {
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}
/* ===========================
   スマホ・タブレット対応
=========================== */
@media (max-width: 768px) {

  /* ---- How-to ---- */
  .step {
    flex-direction: column;
    text-align: center;
  }

  .step.reverse {
    flex-direction: column;
  }

  .step img {
    width: 85%;
  }

  .step-text {
    max-width: 90%;
  }
}

/* セクション4
ーーーーーーーーーーー */
.faq{
	background-color: #004d00;
	height: 900px;
}

.adj{
	padding: 30px 50px;
	width: 90%;
}
.adj h1{
	color: #fff;
}
.adj h3{
	color: #ffecb3;
}

.faq-card {
  background-color: #fff;           /* 白背景 */
  color: #064b22;                   /* 文字色 */
  border-radius: 1rem;              /* 角丸 */
  padding: 1.5rem 2rem;             /* 上下1.5rem、左右2rem */
  max-width: 600px;                 /* 幅の上限 */
  width: 100%;                       /* コンテナに合わせて伸縮 */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* 影 */
  transition: transform 0.2s, box-shadow 0.2s; /* ホバー時の変化 */
  margin: 1rem auto;                /* 上下余白＋中央寄せ */
}

.faq-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* 質問部分 */
.faq-card .question {
  font-weight: bold;
  text-decoration: underline;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

/* 回答部分 */
.faq-card .answer {
  color: #F97A00;
  font-size: 1rem;
  line-height: 1.6;
}
/* ===========================
   スマホ・タブレット対応
=========================== */
@media (max-width: 768px) {
  /* ---- FAQ ---- */
  .faq {
    height: auto;
    padding: 3rem 1rem;
  }

  .adj {
    padding: 1rem;
    text-align: center;
  }

  .faq-card {
    max-width: 90%;
    padding: 1rem 1.2rem;
  }

  .faq-card .question {
    font-size: 1rem;
  }

  .faq-card .answer {
    font-size: 0.9rem;
  }
}


/* フッター
ーーーーーーーーーーー */
footer{
	background-color: #F97A00;
	text-align: center;
	padding: 1.5rem 0;
	color: #FFF4A4;
}

/* ===========================
   スマホ・タブレット対応
=========================== */
@media (max-width: 768px) {
  /* ---- フッター ---- */
  footer {
    font-size: 0.9rem;
    padding: 1rem;
  }
}
