.estimate-banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(90deg, #d60000, #ff5b00); 
  color: #fff;
  padding: 12px 16px;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  gap: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

/* 黄色の強調ライン */
.estimate-banner::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #ffea00, #ffbd00);
}

/* 上の小見出し */
.banner-sub {
  font-size: 12px;
  opacity: 0.9;
}

/* メインテキスト */
.banner-main {
  font-size: 18px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

/* 右矢印 */
.banner-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 900;
}

/* --- レスポンシブ --- */
@media screen and (max-width: 600px) {
  .estimate-banner {
    padding: 10px 12px;
  }
  .banner-main {
    font-size: 16px;
  }
  .banner-arrow {
    font-size: 22px;
  }
}


.terms-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #009944; /* 緑 */
  color: #fff;
  font-weight: bold;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s;
}
.terms-btn:hover {
  background: #007a36;
}

.loop-slider {
  overflow: hidden;
  width: 100%;
}

.loop-track {
  display: flex;
  animation: loopFlow 30s linear infinite; /* ← 速度調整可能 */
}

.loop-track img {
  width: 240px;               /* お好みで調整可 */
  aspect-ratio: 16 / 9;       /* 比率を揃える */
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

/* 無限ループアニメーション */
@keyframes loopFlow {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* 画像を2セット置くため、1セット分だけ左へ */
  }
}


.call-banner {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 12px;
  background-color: #ffffff;
  border: 0.5px solid #23571e;
  border-radius: 4px;
  max-width: 380px;
  margin: auto;
}

.call-left img {
  width: 40px;
  height: 40px;
  object-fit: cover;
}

.call-center {
  flex: 1;
}

.line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
    font-size: 12px;
}

.call-right {
  white-space: nowrap; /* ← 崩れ防止 */
  font-size: 12px;
  line-height: 1.3;
  text-align: right;
}


.happy-header {
  background: #fff;
  border-bottom: 3px solid #00a99d;
  padding: 15px 10px;
  font-family: "Noto Sans JP", sans-serif;

  position: fixed;     /* ← 固定する */
  top: 0;              /* 上部に配置 */
  left: 0;
  width: 100%;         /* 幅を画面いっぱいに */
  z-index: 9999;       /* 最前面にして崩れ防止 */
}
/* --- 内側 --- */
.happy-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
}

/* --- ロゴエリア --- */
.happy-logo-area {
  display: flex;
  flex-direction: column;
}

.happy-logo {
  height: 50px;
}

.happy-tagline {
  margin: 2px 0 0 0;
  font-size: 12px;
  color: #00a99d;
  font-weight: bold;
}

/* --- ナビ --- */
.happy-nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.happy-nav ul li a {
  text-decoration: none;
  font-size: 15px;
  color: #333;
  font-weight: 600;
  transition: 0.2s;
}

.happy-nav ul li a:hover {
  color: #00a99d;
}

/* --- スマホ対応 --- */
@media screen and (max-width: 768px) {


  .happy-header-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;   /* 中央寄せ */
    justify-content: center;
    margin: 0 auto;        /* 左右中央 */
    text-align: center;
  }

  .happy-logo-area,
  .happy-logo {
    text-align: center;
    margin: 0 auto;
    display: block;
  }

  /* メニューも中央寄せ */
  .happy-nav ul {
    display: flex;
    align-items: center;         /* 中央寄せ */
    gap: 10px;
    padding: 0;

  }

  .happy-nav ul li a {
    text-align: center;
    font-size: 12px;
  }
}
  

/* 全体2カラム */
.happy-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
    gap: 20px;
    align-items: center;
}

/* 左エリア */
.happy-left {
    padding: 20px;
}

.happy-title {
    font-size: 36px;
    color: #3b7a2f;
    line-height: 1.4;
    margin-bottom: 20px;
}

.sdgs-img {
    width: 85%;
}

/* 右エリア（背景＋小写真） */
.happy-right {
    position: relative;
    height: 450px;
    background: url("pic/forest.jpg") center/cover no-repeat;
    border-radius: 8px;
}

/* 小写真共通 */
.photo-card {
    position: absolute;
    width: 45%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.photo-card img{
    width: 100%;
}

/* 位置調整 */
.card1 {
    top: 15px;
    right: 20px;
}

.card2 {
    top: 150px;
    left: 20%;
}

.card3 {
    bottom: 15px;
    left: 10px;
}

/* ───────── スマホ対応 ───────── */
@media (max-width: 768px) {

.happy-block {
    grid-template-columns: 1fr;
}

.happy-right {
    height: 350px;
}

.photo-card {
    width: 60%;
    height: 120px;
}

.card1 {
    top: 10px;
    right: 10px;
}

.card2 {
    top: 130px;
    left: 20%;
}

.card3 {
    bottom: 10px;
    left: 10px;
}
}
 


/* 全体 */
.sustainable-box {
    width: 90%;
    max-width: 1100px;
    margin: 40px auto;
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.8;
    color: #333;
}

/* タイトル */
.sustainable-title {
    font-size: 26px;
    color: #3b7a2f;
    border-left: 6px solid #3b7a2f;
    padding-left: 10px;
    margin-bottom: 25px;
}

/* 本文＋画像の横並びエリア */
.sustainable-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* 文章エリア */
.sustainable-text {
    flex: 1.4;
    font-size: 16px;
}

/* 画像エリア */
.sustainable-image {
    flex: 1;
    text-align: center;
}

.sustainable-image img {
    width: 80%;
    max-width: 330px;
}

/* --- スマホ対応 --- */
@media (max-width: 768px) {
    .sustainable-inner {
        flex-direction: column;
        text-align: left;
    }

    .sustainable-image img {
        width: 60%;
        margin-top: 15px;
    }

    .sustainable-title {
        font-size: 22px;
    }
}


.outlet-strength {
    width: 70%;
    margin: 0 auto;
    max-width: 1400px;
}


/* 見出し */
.outlet-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: #4a8a2b;
    margin-bottom: 25px;
    font-family: "Noto Sans JP", sans-serif;
}

/* 各項目 */
.outlet-item {
    border: 2px solid;
    border-radius: 10px;
    padding: 15px 20px;
    margin: 15px 0;
    font-family: "Noto Sans JP", sans-serif;
    width: 80%;       /* ← 枠の幅を少し縮める（調整可） */
    margin: 15px auto; /* ← autoで中央寄せ */
    text-align: center;
}

/* タイトル h4 */
.outlet-item h4 {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    display: inline-block;
}

/* 説明文 */
.outlet-item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

/* 色パターン（画像通り） */
.outlet-item.orange {
    border-color: #f08a28;
}
.outlet-item.orange h4 {
    background: #f08a28;
}

.outlet-item.green {
    border-color: #8cc63f;
}
.outlet-item.green h4 {
    background: #8cc63f;
}

.outlet-item.darkgreen {
    border-color: #2f6b3b;
}
.outlet-item.darkgreen h4 {
    background: #2f6b3b;
}

/* ▼ レスポンシブ（スマホで読みやすく） */
@media (max-width: 600px) {
    .outlet-title {
        font-size: 22px;
    }
    .outlet-item h4 {
        font-size: 18px;
        padding: 6px 10px;
    }
    .outlet-item p {
        font-size: 14px;
    }
}


.tablecloth-title {
  background-color: #cfefff;   /* 水色の背景 */
  padding: 6px 12px;           /* 文字の周りの余白 */
  font-weight: bold;
  font-size: 1rem;
  line-height: 1.6;
  display: inline-block;
  border-radius: 2px;
  box-sizing: border-box;
}

/* スマホサイズ対応（横幅600px以下） */
@media screen and (max-width: 600px) {
  .tablecloth-title {
    font-size: 0.9rem;
    padding: 5px 10px;
  }
}

/* タブレットサイズ対応（横幅900px以下） */
@media screen and (max-width: 900px) {
  .tablecloth-title {
    font-size: 0.95rem;
  }
}

/* 全体の2カラムレイアウト */
.product-wrap {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
      width: 70%;
    margin: 0 auto;
    max-width: 1400px;
}

/* ===== 写真エリア ===== */
.photo-area {
  flex: 1.4;
  max-width: 650px; /* 写真エリアの最大幅 */
}

.photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain; /* 比率を保つ */
}

/* 画像それぞれの余白 */
.photo {
  margin-bottom: 20px;
}

.photo-small-wrap {
  display: flex;
  gap: 10px;
}

.photo-small-wrap .photo {
  flex: 1;
}

/* ===== 商品情報エリア ===== */
.info-area {
  flex: 0.7; /* 右側を広く */
  min-width: 200px;
}

.info-area h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.info-banner {
  width: 100%;
  margin: 10px 0;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  border: 1px solid #ccc;
  padding: 10px;
}

.price{
    font-size: 20px;
}

/* ===== スマホ対応 ===== */
@media screen and (max-width: 768px) {
  .product-wrap {
    flex-direction: column; /* 上下配置に切り替え */
  }

  .photo-area,
  .info-area {
    max-width: 100%;
  }

  .photo-small-wrap {
    flex-direction: column;
  }
}

.tyui-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  border-bottom: 2px solid #f5a45d;
  padding-bottom: 3px;
}

.tyui-list {
  background: #ffcf98;
  border-radius: 15px;
  padding: 15px 20px;
  line-height: 1.8;
  list-style: none;
  margin: 10px 0 30px;
}

.tyui-list li {
  margin-bottom: 10px;
}



/* 全体 */
.flow-section {
    width: 70%;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    padding: 20px 15px;
    font-family: "Noto Sans JP", sans-serif;
}

/* タイトル */
.flow-title {
    font-size: 28px;
    color: #327a2b;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

/* ボックス */
.flow-box {
    background: #5cb55c;
    color: #fff;
    border-radius: 4px;
    padding: 15px 10px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.flow-box h3 {
    font-size: 20px;
    margin: 0 0 5px;
    font-weight: bold;
}

.flow-box p {
    font-size: 14px;
    margin: 0;
}

/* 矢印 */
.flow-arrow {
    font-size: 28px;
    color: #327a2b;
    margin: 12px 0;
}

/* スマホ対応 */
@media (max-width: 480px) {
    .flow-title {
        font-size: 22px;
    }

    .flow-box h3 {
        font-size: 18px;
    }

    .flow-box p {
        font-size: 13px;
    }

    .flow-arrow {
        font-size: 22px;
    }
}


/* -------------------------
   FAQ 全体
-------------------------- */
.faq-section {
    width: 70%;
    max-width: 1400px;
    margin: 40px auto;
    font-family: "Noto Sans JP", sans-serif;
    color: #333;
}

/* タイトル */
.faq-title {
    font-size: 26px;
    border-left: 8px solid #6a8d5f;
    padding-left: 12px;
    margin-bottom: 25px;
}

/* Q&Aボックス */
.faq-box {
    border: 2px solid #ddd;
    padding: 25px;
    border-radius: 6px;
    background: #fafafa;
    line-height: 1.7em;
}

.faq-q {
    font-weight: bold;
    margin-top: 20px;
}

.faq-q span {
    color: #4a772f;
    font-weight: bold;
}

.faq-a {
    margin-left: 1em;
}

.bold {
    font-weight: bold;
}

/* 下部案内 */
.faq-note {
    text-align: center;
    margin: 25px 0 15px;
}

/* 規約ボタン */
.rule-btn-box {
    text-align: center;
}

.rule-btn {
    display: inline-block;
    padding: 15px 25px;
    border: 2px solid #444;
    text-decoration: none;
    color: #333;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    width: 200px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

/* -------------------------
   スマホ対応
-------------------------- */
@media (max-width: 600px) {
    .faq-title {
        font-size: 22px;
    }

    .faq-box {
        padding: 18px;
    }

    .rule-btn {
        width: 90%;
    }
}


/* 全体ブロック */
.contact-block {
    text-align: center;
    width: 70%;
    max-width: 1400px;
    margin: 40px auto;
    font-family: "Noto Sans JP", sans-serif;
}

/* 見出し */
.contact-title {
    font-size: 24px;
    line-height: 1.6;
    font-weight: bold;
    color: #2b7a2e;
    margin-bottom: 30px;
}

/* 写真部分（枠） */
.contact-photo {
    width: 100%;
    height: 200px;
    border-top: 2px solid #749f87;
    border-bottom: 2px solid #749f87;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    font-size: 18px;
    color: #555;
}

/* 下側のボタンエリア */
.contact-buttons {
    text-align: center;
}

.form-label {
    margin-bottom: 8px;
    color: #777;
    font-size: 14px;
}

/* オレンジ問い合わせボタン（画像） */
.form-btn img {
    width: 260px;
    max-width: 80%;
}

/* 電話番号（画像） */
.tel-area img {
    margin-top: 20px;
    width: 340px;
    max-width: 85%;
}

/* スマホ対応 */
@media (max-width: 600px) {

    .contact-title {
        font-size: 18px;
    }

    .contact-photo {
        height: 150px;
    }

    .form-btn img {
        width: 220px;
    }

    .tel-area img {
        width: 280px;
    }
}

body {
  padding-top: 90px; /* ヘッダー高さに合わせて調整 */
}


.sdgs-footer {
  background: #cdffcf;
  color: #525252;
  font-size: 13px;
  line-height: 1.75;
}

.legal-info {
  text-align: right;
}
.legal-info p {
  font-size: 11px;
  color: #5a8065;
  line-height: 1.9;
}
.legal-info .company-name {
  font-size: 12px;
  font-weight: 700;
  color: #7aaa88;
}