body{
  color: #444;
  margin: 0;
  padding: 0;
  line-height: 150%;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
img {
  border: none;
  display: block;
  max-width: 100%;
  height: auto;
}


/*トップバナー*/
#top-baner{
  width: 100%;
  padding-top: 20px;
}

.header {
  display: flex;
  justify-content: space-between; /* 左右に分ける */
  align-items: center;
  padding: 0px 10px;
  height: 80px; /* お好みで調整 */
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
}

.header-left img {
  height: 80px;
  margin-right: 10px;
}

.call-btn{
  cursor: pointer;
}
.contact-btn {
  cursor: pointer;
}


header h1{
  font-size: 20px;
  font-family: 'Montserrat', sans-serif;
  margin: 15px;
padding: 0px;
  text-align: left;
  float: left;
height: 80px;
  width: 150px;
  border-radius: 100px;
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  line-height: 150px;
}
header h1 a{
  color: #333;
  text-decoration: none;
}

/* ナビゲーション全体 */
#top-nav {
  width: 85%;
  height: 80px;
  margin: 50px auto 0px auto;
  text-align: center;
  position: relative;
}

/* ナビリスト */
#top-nav ul {
  display: flex;
  justify-content: center;   /* 中央揃え */
  align-items: stretch;      /* 高さを揃える */
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  flex-wrap: nowrap;     /* 折り返さない */
  white-space: nowrap;   /* 改行させない */
  overflow-x: hidden;    /* 横スクロール禁止 */
}

/* 各項目 */
#top-nav ul li {
  flex: 1; /* 均等に幅を配分 */
}

/* リンク部分（縦線と中央寄せ調整） */
#top-nav ul li a {
  display: flex;                 /* ← Flexで中央寄せ */
  justify-content: center;       /* 水平方向中央 */
  align-items: center;           /* 垂直方向中央 */
  height: 50%;                  /* 親(li)の高さに揃える */
  padding: 0 0px;
  font-size: 16px;
  font-weight: normal;
  color: gray;
  text-decoration: none;
  line-height: 1.4;
  border-left: 1px solid gray;   /* 縦線を揃える */
  box-sizing: border-box;
}

/* 最初のリンクだけ縦線を消す */
#top-nav ul li:first-child a {
  border-left: none;
}

/* ホバー時 */
#top-nav ul li a:hover {
  text-decoration: underline;
}

/* ページ全体で横スクロール禁止 */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.konnashita {
  width: fit-content;           /* 中身の幅に合わせて中央寄せ */
  margin: 100px auto;            /* 上下50px、左右は自動で中央配置 */
  height: auto;                 /* 高さは自動で調整 */
  font-size: 20px;
  color: black;
  text-align: left;             /* ← テキストは左揃えに */
  line-height: 2;
  /* 枠線と余白の追加 */
  border: 1px solid darkorange; /* オレンジ色の線で囲む */
  padding: 20px 250px;                /* 枠と文字の間に余白 */
  background-color: #fff;       /* 背景白（オプション） */
}
.halhomegadekirukoto{
    background-image: url("img/AdobeStock_284044711.jpeg"); /* 画像のパス */
    background-size: cover;                         /* セクション全体に画像をフィットさせる */
    background-position: center;                    /* 中央に配置 */
    background-repeat: no-repeat;                   /* 繰り返しを防ぐ */  
    padding-top: 100px;
    padding-bottom: 100px;
}

.dekirukotoshita{
  width: fit-content;           /* 中身の幅に合わせて中央寄せ */
  margin: 0px auto;            /* 上下50px、左右は自動で中央配置 */
  height: auto;                 /* 高さは自動で調整 */
  font-size: 20px;
  color: black;
  text-align: left;
  line-height: 2;
}
.image-row {
  display: flex;              /* 横並びにする */
  justify-content: center;    /* 中央揃え */
  gap: 20px;                  /* 画像の間隔 */
  margin: 40px 0;             /* 上下に余白 */
}

.image-row img {
  width: 300px;               /* 画像サイズ（必要に応じて調整） */
  height: auto;
  border-radius: 8px;         /* 角を丸くする（任意） */
  transition: transform 0.3s; /* アニメーション（任意） */
}

.image-row a:hover img {
  transform: scale(1.05);     /* ホバーで拡大（任意） */
}

.kaishaannai {
  width: 1000px;    /* 親要素の幅に対して50% */
  height: auto;  /* アスペクト比を保つ */
  margin: 100px auto 0;
}
.shigyou{
  width: 1000px;
  height: auto;
  margin-top: 100px;
  margin: 100px auto 200px;
}

.access {
  background-image: url("img/AdobeStock_302132528.jpeg"); /* 画像のパス */
  background-size: cover;                         /* セクション全体に画像をフィットさせる */
  background-position: center;                    /* 中央に配置 */
  background-repeat: no-repeat;
  padding: 50px 0;
  overflow: hidden;
}
.access2 {
  text-align: center;
  color: white;
  font-size: 30px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.map-container {
  position: relative;
  width: 100%;
  max-width: 1000px;   /* two-column と揃える */
  margin: 0 auto;      /* 中央寄せ */
  padding: 0 20px;     /* 左右に20pxの余白 */
  box-sizing: border-box;
}

.map-container iframe {
  width: 100%;         /* コンテナ幅いっぱいに */
  height: 450px;       /* 高さは好みで調整 */
  border: 0;
  display: block;
}

/* two-column のレイアウト */
.two-column {
  display: flex;
  justify-content: space-between;
  gap: 20px;                      /* 左右に20pxの隙間 */
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;                /* こちらも左右20px余白 */
  box-sizing: border-box;
}

.left-text2,
.right-text {
  flex: 1;
}

.right-text img {
  width: 100%;
  height: auto;
  display: block;
}


@media screen and (max-width: 768px) {
  .two-column {
    flex-direction: column;
  }

  .left-image, .right-text {
    width: 100%;
  }
}
.line {
  height: 1px;
  background-color: white;
  width: 100%;
  margin: 20px 0;
}
.adress{
  color: white;
  font-size: 20px;
}
.yoko{
  height: 414.688px;
}


/*コンテンツ横幅*/
.site-width{
  width: 980px;
  margin: 0 auto;
}

section h1.title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 50px;
  font-weight: 700; /* 太字 */
  letter-spacing: 0.05em; /* 文字間隔少し広げる */
  text-align: center;
  color: darkorange;
  margin: 80px 0;
}

.footer_section {
  font-size: 16px;
  padding: 100px 0px;
  background: darkorange;
  text-align: center;
  color: white;

  width: 100%;
  margin: 0;             /* 余計な中央寄せは削除 */
  box-sizing: border-box;
}

.footer_inner {
  max-width: 1000px;     /* 中の要素は1000pxに制限 */
  margin: 0 auto;
  text-align: center;
}
.two-column2 {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 0px;
  box-sizing: border-box;
}
.text3 {
  color: white;
  font-size: 55px;
  line-height: 1.4;
  text-align: left;
}

.mail {
  cursor: pointer;
}
.link-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 0;
}

.link-grid ul {
  display: grid;
  grid-template-columns: repeat(2, auto); /* 2列で自動幅 */
  gap: 15px 200px; /* 行間15px、列間40px */
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.link-grid li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s, text-decoration 0.3s;
}

.link-grid li a:hover {
  text-decoration: underline;
  color:#ffd700;
}



.hover-area {
  display: inline-block;
  padding: 10px 15px;
  background-color: #0073aa;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  position: relative;
}

.hover-content {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  background-color: #f9f9f9;
  color: #333;
  border-radius: 8px;
  padding: 15px;
  width: 400px;
  z-index: 10;
  line-height: 1.6;
}

.hover-area:hover .hover-content {
  display: block;
}
.line-container {
  display: flex;
  width: 1000px;
  height: 2px;
  margin: 0 auto;
}

.line {
  height: 1px;
}

.first {
  width: 80px;
  background-color: darkorange;
}

.gap {
  width: 10px;
  background-color: transparent;
}

.second {
  width: 910px;
  background-color: gray;
}
h2.title2 {
  font-size: 50px;
  font-weight: bold;
  background-color: antiquewhite;
  width: 100vw;     /* ブラウザ幅いっぱい */
  height: 300px;
  margin: 20px 0;
  text-align: center;
  line-height: 300px;
  position: relative;
  left: 50%;
  transform: translateX(-50%); /* 中央寄せ */
}


h3.title3{
  font-size: 39px;
  font-weight: bold;
  margin-top: 100px;
  margin-bottom: 100px;
}
.daiya{
  color: darkorange;
  font-size: 31px;
}
h4.title4{
  font-size: 31px;
}
.naiyo{
  font-size: 16px;
  line-height: 40px;
}
.page{
  color: gray;
  font-size: 16px;
  text-align: right;
  margin-right: 50px;
}
.fudosanbaikyaku{
  width: 1000px;
  margin: 0 auto;
  text-align: left; 
}
.greeting {
  max-width: 1000px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 16px;
}

.greeting-img {
  float: right;          /* 右に寄せる */
  width: 300px;          /* 好きなサイズに調整 */
  margin: 150px 0 20px 20px; /* 左と下に余白 */
}
.ayumi {
    width: 1000px;
    margin: 0 auto;   /* ← 左右中央寄せ */
    text-align: left;
  }


/* PC用：デフォルトは横並び */
#nav-menu {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hamburger {
  display: none; /* PCでは非表示 */
  font-size: 30px;
  cursor: pointer;
}

/* スマホ用 */
@media (max-width: 768px) {
  #nav-menu {
    display: none; /* 最初は非表示 */
    flex-direction: column; /* 縦並び */
    background: #fff;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    border: 1px solid #ccc;
  }
  #nav-menu.active {
    display: flex; /* ハンバーガークリックで出現 */
  }
  .hamburger {
    display: block; /* スマホでは表示 */
  }
}
