@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;350;400;500;700;900&display=swap');

body {
    -webkit-text-size-adjust:100%;
    font-family: 'Noto Sans JP', "游ゴシック Medium", "Yu Gothic Medium",
                 "游ゴシック体", YuGothic, "ヒラギノ角ゴ Pro",
                 "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
    font-weight: 350;
    line-height: 170%;
    font-size: 1.1em;
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

section{
    padding: 10px;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.center{text-align: center;}


.h2-wrap {
  text-align: center;
}

.h2-wrap h2 {
  font-weight: 500;
  font-size: 1.8em;
  display: inline-block;
  border-bottom: 1px solid #000000;
  padding: 5px 20px;
    line-height: 1.5em;
}

.h2-wrap h2.no-line {
  border-bottom: none;
}

/***六角形見出し　※h3***/
.hex-wrap {
  text-align: center;
}

.hex-title {
  display: inline-block;
  position: relative;
  height: 40px;           /* ←高さ固定 */
  line-height: 40px;      /* ←中央揃え */
  padding: 0 50px;        /* ←上下padding消す */
  background: #006534;
  color: #fff;
  font-weight: bold;
}

/* 三角形 */
.hex-title::before,
.hex-title::after {
  content: "";
  position: absolute;
  top: 0;                 /* ←ズレ禁止 */
  width: 0;
  height: 0;
  border-top: 20px solid transparent;   /* ←高さの半分 */
  border-bottom: 20px solid transparent;
}

/* 左 */
.hex-title::before {
  left: -20px;
  border-right: 20px solid #006534;
}

/* 右 */
.hex-title::after {
  right: -20px;
  border-left: 20px solid #006534;
}

.header-inner {
  /*max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;        /* 縦中央揃え */
  /*/*justify-content: space-between; /* 左右に分ける */
  /*padding: 10px 20px;*/
}

/* ロゴ */
.logo {
  margin: 0 auto; 
    text-align: center;
    padding-top: 20px;
}

.logo img {
  max-width: 280px; /* 少し小さめにするとバランス良い */
}

/* =============================
   グローバルナビ
============================= */

.g-nav {
  width: 100%;
}

.g-nav-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  /*padding: 0 20px;*/
}

.g-nav ul {
  display: flex;
  justify-content: center; /* 中央寄せ */
  /*justify-content: flex-end;*/ 
  gap: 60px; /* ← 間隔を均等にする */
  list-style: none;
  margin: 0;
  padding: 0;
}

.g-nav li {
  flex: none; 
  text-align: center;
}

/* 文字幅基準 */
.g-nav a {
  display: inline-block;
  padding: 20px 10px 30px;
  color: #333;
  text-decoration: none;
  position: relative;
  transition: 0.3s;
  font-size: 18px;
  font-weight: 500; 
}

/* 下線 */
.g-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 16px; /* ← 少し上に調整 */
  transform: translateX(-50%);
  width: 100%;
  height: 3px;
  background: #ccc;
  transition: 0.3s;
}

/* 三角（下線にくっつける） */
.g-nav a::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10px; /* ← 下線より下に配置 */
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #ccc;
  transition: 0.3s;
}

/* ホバー */
.g-nav a:hover {
  color: #d60000;
}

.g-nav a:hover::after {
  background: #d60000;
}

.g-nav a:hover::before {
  border-top-color: #d60000;
}

/* 現在ページ */
.g-nav a.active {
  color: #d60000;
}

.g-nav a.active::after {
  background: #d60000;
}

.g-nav a.active::before {
  border-top-color: #d60000;
}
/* =============================
   ハンバーガー
============================= */

.hamburger {
  display: none;
  width: 40px;
  cursor: pointer;
    padding: 3px 6px;
    border-radius: 5px;
    background: #F8F8F8;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #333;
  margin: 6px 0;
  transition: 0.3s;
}

/* =============================
   スマホなび
============================= */

@media (max-width: 768px) {

  .g-nav-inner {
    position: relative;
  }

  /* ボタン表示 */
  .hamburger {
    display: block;
    position: absolute;
    right: 20px;
    top: 15px;
    z-index: 1000;
  }

  /* メニュー初期状態（隠す） */
  #nav-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }

  /* 開いた状態 */
  #nav-menu.open {
    display: flex;
  }

  #nav-menu li {
    border-bottom: 1px solid #eee;
  }

  #nav-menu a {
    display: block;
    padding: 15px;
    text-align: left;
  }
    
    .g-nav a::after {
        display: none;
    }

/* 三角（下線にくっつける） */
    .g-nav a::before {
      display: none;
    }

}

/*----------------------------------------
TOPメイン画像
----------------------------------------*/
.mein_img img{
    max-width: 100%;
}

/*----------------------------------------
インフォメーション
----------------------------------------*/
.info-list {
  max-width: 750px;
  margin: 0 auto;
}

.info-list dl {
  display: grid;
  grid-template-columns: 120px 1fr; /* dt固定＋dd可変 */
  gap: 10px 20px;
}

.info-list dt {
  font-weight: 500;
}

.info-list dd {
  margin: 0;
}

.info-list a{
    color: #000000;
}
.info-list a:hover{
    color: #515050;
}

.btn-wrap {
  text-align: center;
    margin: 50px 0;
}

.btn-more {
  display: inline-flex;
  align-items: center;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s;
}

.btn-icon {
  position: relative;
  width: 50px;
  padding: 10px 20px;
  border-left: 1px solid #fff;
}

.btn-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  border-left: 8px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}


/* テキスト部分 */
.btn-text {
  padding: 10px 30px;
}


/* ホバー */
.btn-more:hover {
  background: #6B6B6B;
}

/***********************
TOP カード型
************************/
.info-card {
  max-width: 800px;
  margin: 40px auto;
  padding: 30px;
  border: 1px solid #999;
  display: flex;
  gap: 30px;
  align-items: center;
  background: #fff;
}

/* =============================
   画像
============================= */

.card-img img {
  width: 250px;
  height: auto;
  display: block;
}

/* =============================
   テキスト
============================= */

.card-content {
  flex: 1;
  position: relative;
}

.card-lead {
  margin-bottom: 10px;
  line-height: 1.6;
}

.card-title {
  font-size: 30px;
  font-weight: 700;
  margin: 10px 0 40px;
}

/* =============================
   ボタン
============================= */

.btn2-more {
  display: inline-flex;
  align-items: center;
  border: 1px solid #000;
  color: #000;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  position: absolute;
  right: 0;
    transition: 0.3s;
}

.btn2-text {
  padding: 12px 30px;
}

.btn2-icon {
  position: relative;
  padding: 10px 20px;
  border-left: 1px solid #000;
}

/* ▶三角 */
.btn2-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  border-left: 6px solid #000;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

/* ホバー */
.btn2-more:hover {
  background: #D7D7D7;
}


/*番号つきリスト*/
.list-wrap {
  text-align: center;
}

.list-wrap ol {
  display: inline-block;
  text-align: left; /* ←これが重要 */
  color: #006534;
  font-size: 28px;
  font-weight: bold;
}
.list-wrap ol li{margin: 20px 0px;}

/**/
.project_about {
  max-width: 800px;
  margin: 0 auto;        /* ←div自体を中央寄せ */
  text-align: center;    /* ←中身（画像）を中央寄せ */
}

.project_about img {
  max-width: 100%;       /* ←はみ出し防止 */
  height: auto;          /* ←比率維持 */
  display: inline-block; /* ←中央寄せ安定 */
}


/**/

.topics {
  text-align: center;
  margin: 40px 0;
}

.topics-title {
  display: flex;
  align-items: center;    /* 上下の中央 */
  justify-content: center; /* 左右の中央 */  
  color: #c4d700;
  font-size: 24px;
  margin: 0 auto 20px;     /* 外側の余白。左右autoでブロック自体も中央へ */
    margin-bottom: -10px;
}

.topics-title::before {
  content: "";
  display: inline-block;
  width: 80px;  /* 画像の幅 */
  height: 80px; /* 画像の高さ */
  background-image: url("../img/topics-icon.png");
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 10px; /* 画像とテキストの間の距離 */
  flex-shrink: 0;
}

.topics-title span{
    color: #006934;
}


/* ボックス */
.topics-box {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid #231815;
  background: #f6faed;
  padding: 20px;
  
  display: flex;
  gap: 20px;
  align-items: center;
}

/* テキスト */
.topics-text {
  flex: 1;
  text-align: left;
}


/* 見出しの● */
.topics-text h3 {
  display: flex;
  align-items: center;
  justify-content: center;
font-size: 22px;
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

/* 前後の●を共通設定 */
.topics-text h3::before,
.topics-text h3::after {
  content: ""; /* 疑似要素に必須 */
  width: 15px;
  height: 15px;
  background: #dae000;
  border-radius: 50%;
  margin: 0 10px; /* テキストとの余白 */
}

.topics-text p {
  line-height: 1.8;
}

/* 画像 */
.topics-image img {
  max-width: 250px;
  height: auto;
  display: block;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .topics-box {
    flex-direction: column;
    text-align: left;
  }

  .topics-image img {
    max-width: 100%;
  }
}


/* =============================
   レスポンシブ
============================= */

@media (max-width: 768px) {
  .info-card {
    flex-direction: column;
    text-align: center;
  }

  .card-img img {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .card-content {
    position: static;
  }

  .btn2-more {
    position: static;
    margin-top: 20px;
  }
}

/* =============================
   フッター
============================= */
.footer {
  text-align: center;
  padding: 20px 10px;
  border-top: 1px solid #ddd;
  margin-top: 60px;
}

.footer p {
  margin: 0;
  font-size: 13px;
  color: #666;
}

/* =============================
   宅地を探す
============================= */
.toti_date ul {
  list-style: none;  
    margin: 0 auto; 
  padding: 0;
    max-width: 800px;
}

.toti_date li {
  margin-bottom: 50px;  
  text-align: center;   
  /*border-bottom: 1px solid #E0E0E0;*/
}

/* 画像 */
.toti_date img {
width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 15px;  /* 下に余白 */
}

