@charset "UTF-8";

/* ============================================================
   カスタム共通スタイル
   ============================================================ */
:root {
  /* 1. ブランド＆メインカラー */
  --primary-color: #1e5c43;
  --primary-hover: #143e2d;
  --button-hover-bg: #1b5e20; /* ボタン・トップ戻るのホバー色 */
  --to-top-bg: #2e7d32;       /* トップ戻るボタンの背景色 */

  /* 2. 背景色 */
  --bg-white: #ffffff;
  --bg-light: #f4f7f5;
  --bg-accent: #edf3f0;
  --bg-hero-end: #f8faf9;     /* ヒーローグラデーションの終点 */
  --bg-placeholder: #cbdcd4;  /* 画像プレースホルダー */

  /* 3. テキスト色 */
  --text-dark: #111111;       /* 強調・見出し用 */
  --text-color: #111111;      /* 既存の見出しクラス用定義 */
  --text-muted: #666666;      /* 補足・リード文用 */
  --text-light: #999999;      /* コピーライト用 */

  /* 4. その他 */
  --border-color: #e2e8f0;
  --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* ============================================================
   スムーススクロール
   ============================================================ */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; 
}

/* ============================================================
   ボタン共通
   ============================================================ */
.button, button, input[type="button"], input[type="submit"] {
  display: inline-block;
  background-color: var(--primary-color); /* 緑のベタ塗り */
  color: var(--bg-white);
  padding: 0.8rem 2rem;       /* 上下と左右の十分な余白 */
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;         /* 角丸 */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 薄い影 */
  transition: all 0.3s ease;  /* 変化を滑らかにする */
}

.button:hover, button:hover {
  background-color: var(--button-hover-bg); /* 濃い緑に */
  transform: translateY(-1px); /* 上に浮き上がらせる */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

/* 枠線ボタン */
.button.button.btn-outline {
  background-color: transparent;
  color: var(--primary-color) !important;
  border: 1.5px solid var(--primary-color); 
  box-shadow: none;
}
.button.button.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--bg-white) !important;
}

/* ユニバーサルデザイン用基本余白・共通見出し */
section.container {
  padding-top: 5rem;
  padding-bottom: 5rem;
  margin-top: 0;
  margin-bottom: 0;
}

.section-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.section-lead {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

/* ============================================================
   ヘッダー（Header）
   ============================================================ */
.header {
  padding-top: 1rem;
  padding-bottom: 1rem;
  position: sticky; /* 固定 */
  top: 0;
  background-color: var(--bg-white);
  box-shadow: 0px 10px 10px -6px rgba(213, 213, 213, 0.3);
  z-index: 10;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.header__logo-link {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
}
.header__logo-link:hover {
  text-decoration: none;
}

.header__toggle-input {
  display: none;
}

.nav-menu ul li .button.header__cta-btn {
  background-color: var(--primary-color);
  color: var(--bg-white);
  box-shadow: none;
}
/* スマホ表示のボタン調整 */
@media (max-width: 1024px) {
  .nav-menu ul li .button.header__cta-btn {
    display: block;
    width: calc(100% - 40px); /* 左右に20pxずつの隙間（余白）を作る */
    margin: 1rem auto 1rem;    /* 上との間隔を空けボタンを中央に寄せる */
    text-align: center;
    padding: 0.8rem 0;        /* 左右の余白をリセットして幅を安定させる */
  }
}

/* ============================================================
   1. ファーストビュー（Hero）
   ============================================================ */
.hero {
  background-color: var(--bg-light);
  padding: 6rem 0;
  background-image: linear-gradient(135deg, var(--bg-accent) 0%, var(--bg-hero-end) 100%);
  background: url("img/mainimg.jpg"); /* メインビジュアルの画像URL */
  background-size: cover;
  background-position: center center;
}

.hero__body {
  max-width: 800px;
  margin: 0 auto;
}

.hero__title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.hero__lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero__actions .button {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 0;
  }
  .hero__title {
    font-size: 1.7rem;
  }
  .hero__lead {
    font-size: 1rem;
  }
}

/* ============================================================
   2 & 3 & 4. コンポーネント: カード（Card）& 特徴ボックス
   ============================================================ */
.card,
.feature-box {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 2rem 1.5rem;
  height: 100%;
  box-shadow: var(--card-shadow);
}

.card__icon-wrapper {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.card__title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.card__text {
  font-size: 1rem;
  color: var(--text-muted);
}

/* 実績用プレースホルダー画像 */
.card__image-placeholder {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: -2rem;
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  margin-bottom: 1.5rem;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  letter-spacing: 0.05em;
  overflow: hidden;
}

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

/* ============================================================
   2. 特徴・強み（Features）
   ============================================================ */
.features {
  padding: 4rem 2rem;
}

.feature-box__icon {
  font-size: 2rem;
  margin: 0.75rem;
}

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

.feature-box__title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.feature-box__text {
  font-size: 1rem;
  color: var(--text-muted);
}

/* ============================================================
   5. 代表・事業者紹介（Profile）
   ============================================================ */
.profile__inner {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 3rem 2rem;
  box-shadow: var(--card-shadow);
}

.profile__avatar-placeholder {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

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

.profile__name {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.profile__text {
  font-size: 1rem;
  color: var(--text-muted);
}

/* ============================================================
   6. 料金の目安（Pricing）
   ============================================================ */
.price-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 2.5rem 1.5rem;
  position: relative;
  height: 100%;
  box-shadow: var(--card-shadow);
}

/* おすすめデザイン */
.price-card--featured {
  border: 1px solid var(--bg-placeholder); /* 目立たせる場合は色を変える */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); /* 影を少し深くして立体感で引き立てる */
}

@media (max-width: 768px) {
  .price-card--featured {
    margin: 1.5rem 0;
  }
}

/* おすすめバッジの設定 */
.price-card__badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 3px 14px;
  font-size: 0.8rem; /* 文字を小さくして上品に */
  font-weight: bold;
  letter-spacing: 0.05em; /* 文字の間隔を少し広げる */
  border-radius: 4px; /* 角丸 */
}

.price-card__plan {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.price-card__amount {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.price-card__detail {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.price-card__actions .button {
  width: 100%;
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.pricing__note {
  font-size: 1rem;
  color: var(--text-muted);
  padding: 1rem;
}

/* ============================================================
   7. よくある質問（FAQ）
   ============================================================ */
.faq-list {
  max-width: 980px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-light);
  border-radius: 6px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-item__question {
  padding: 1.25rem 1.5rem;
  padding-right: 3rem;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  list-style: none; 
}

.faq-item__question::-webkit-details-marker {
  display: none; 
}

.faq-item__question::after {
  content: "＋";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
}

.faq-item[open] .faq-item__question::after {
  content: "ー";
}

.faq-item__answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-muted);
  font-size: 1rem;
  border-top: 1px solid rgba(0,0,0,0.03);
}

/* ============================================================
   8. お問い合わせ（Contact：電話・メールカード）
   ============================================================ */
.contact__inner {
  background-color: var(--bg-accent);
  border-radius: 8px;
  padding: 4rem 2rem;
}

.contact__methods {
  max-width: 900px;
  margin: 0 auto;
}

.contact-method-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2.5rem 1.5rem;
  height: 100%;
  box-shadow: var(--card-shadow);
  text-align: center;
}

.contact-method-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-method-card__title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.contact-method-card__text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.contact-method-card__link {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
  margin-bottom: 0.5rem;
}
.contact-method-card__link:hover {
  text-decoration: underline;
}

.contact-method-card__btn {
  background-color: var(--primary-color);
  color: var(--bg-white);
  width: 100%;
  max-width: 260px;
}

.contact-method-card__note,
.contact-method-card__address {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================================
   フッター（Footer）
   ============================================================ */
.footer {
  padding-bottom: 2.5rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer__logo {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-color);
}

.footer__nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__nav a {
  color: var(--text-muted);
  font-size: 1.1rem;
  text-decoration: none;
}

.footer__nav a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.footer__copyright {
  font-size: 1rem;
  color: var(--text-light);
}

.footer hr {
  border-top: 1px solid var(--text-light);
}

/* トップへ戻るボタンの基本スタイル */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  background-color: var(--to-top-bg);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 100;
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

/* CSSで作る綺麗な山型の矢印 */
.to-top::after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 3px solid var(--bg-white);  /* 矢印の太さ */
  border-left: 3px solid var(--bg-white); /* 矢印の太さ */
  transform: rotate(45deg); /* 斜めに回転させて山型にする */
  margin-top: 4px; /* 視覚的な中央揃えの微調整 */
}

/* 表示用クラス */
.to-top.is-show {
  opacity: 1;
  visibility: visible;
}

/* ホバー時の動き */
.to-top:hover {
  background-color: var(--button-hover-bg);
  transform: translateY(-2px);
}