@charset "utf-8";
/*サイト全体*/
* {
  margin: 0;
  padding: 0;
}
html, body {
  overflow-x: hidden;
  width: 100%;
}
body, main, section, header {
  margin: 0;
  padding: 0;
}
/* ================================
   HERO背景（スライドイン＋3枚スライドショー）
================================ */
.index-page .header-top {
  //position: relative;
  width: 100%;
  height: 600px; /* 好きな高さに調整 */
  overflow: hidden;
}
.index-page .header-top::before, .index-page .header-top::after, .index-page .header-top .bg3 {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: slideShow 18s infinite;
  opacity: 0;
  z-index: -1;
}
/* 1枚目 */
.index-page .header-top::before {
  background-image: url("../images/hero.jpg");
  animation-delay: 0s;
}
/* 2枚目 */
.index-page .header-top::after {
  background-image: url("../images/hero2.jpg");
  animation-delay: 6s;
}
/* 3枚目（疑似要素が2つまでなので div を追加） */
.index-page .header-top .bg3 {
  background-image: url("../images/hero3.jpg");
  animation-delay: 12s;
}
@keyframes slideShow {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  30% {
    opacity: 1;
  }
  35% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
/*mainlogo*/
.yokotext p {
  writing-mode: vertical-rl;
  font-family: "ＭＳ Ｐ明朝";
  font-size: 2.5rem;
  //padding-bottom: 300px;
  color: #DED6D1;
  position: fixed;
  z-index: 20;
}
.navItem a {
  display: block;
  padding: 15px 0 15px;
  margin-left: 1rem;
  text-align: center;
  color: #BEAB9F;
  font-family: "Elms Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
  font-size: 1.7rem;
}
/* 擬似要素でテキストを表示 */
.navItem a::after {
  display: block;
  margin-top: .3rem;
  font-size: 0.9rem;
  font-weight: lighter;
}
.navItemhome a::after {
  content: "はじめに";
}
.navItemabout a::after {
  content: "わたしたちについて";
}
.navItemmessage a::after {
  content: "ごあいさつ";
}
.navItemrent a::after {
  content: "賃貸物件";
}
.navItemflow a::after {
  content: "ご契約のながれ";
}
.navItemfaq a::after {
  content: "よくあるご質問";
}
.navItemnews a::after {
  content: "お知らせ";
}
.navItemaccess a::after {
  content: "店舗情報";
}
.navItemcontact a::after {
  content: "お問い合わせ";
}
.navItemcompany a::after {
  content: "会社概要";
}
.navItemrecruitment a::after {
  content: "採用情報";
}
/* ナビゲーション */
ul, li {
  list-style: none;
  padding: 0;
  margin: 0;
}
a {
  text-decoration: none;
  color: #ffffff;
}
header a:hover {
  background-color: #D9C6BA;
  color: #ffffff;
}
p {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-weight: lighter;
  font-style: normal;
  color: #363636;
}
.more-btn {
  display: inline-block;
  background-color: #BEAB9F;
  color: #fff;
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  text-align: center;
  padding: 12px 20px;
  border-radius: 50px; /* 丸っこくする */
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}
.btn-container {
  display: flex;
  justify-content: flex-end; /* 右寄せ */
  margin: 20px 0;
  padding-right: 30px;
}
/*ヘッダーのnav*/
header {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 0;
  margin: 0;
  height: 600px;
}
.header_navi {
  position: relative;
}
.hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.hamburger__line {
  position: absolute;
  left: 11px;
  width: 26px;
  height: 2px;
  background-color: #333;
  transition: all .4s;
}
.hamburger__line:nth-of-type(1) {
  top: 14px;
}
.hamburger__line:nth-of-type(2) {
  top: 23px;
}
.hamburger__line:nth-of-type(3) {
  top: 32px;
}
/* メニューオープン時 */
.hamburger.active .hamburger__line:nth-of-type(1) {
  transform: translateY(9px) rotate(-45deg);
}
.hamburger.active .hamburger__line:nth-of-type(2) {
  opacity: 0;
}
.hamburger.active .hamburger__line:nth-of-type(3) {
  transform: translateY(-9px) rotate(45deg);
}
.nav {
  overflow-y: scroll;
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100vh;
  background-color: #fff;
  box-shadow: 2px 0 4px rgba(0, 0, 0, .1);
  transform: translateX(-100%);
  transition: transform .4s;
  z-index: 90;
}
.nav.active {
  transform: translateX(0);
}
.nav-links {
  margin: 0;
  list-style: none;
}
/*about*/
.textcenter {
  text-align: center;
  font-size: 1.5rem;
  line-height: 2;
  color: #363636; /* 背景に合わせて調整 */
  padding: 100px 0; /* 上下に余白をとる */
  width: 100%;
}
.textcenter2 {
  text-align: center;
  font-size: 1.5rem;
  line-height: 2;
  color: #fff;
  padding: 100px 20px;
  background-image: url("../images/abouthome.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  margin: 80px 0 120px 0;
  /* 初期状態：透明 */
  opacity: 0;
  transform: translateY(50px);
  transition: all 1.2s ease-out;
}
.textcenter2.animate {
  opacity: 1;
  transform: translateY(0);
}
.strength {
  display: flex;
  align-items: center; /* ← 高さをそろえるポイント */
  justify-content: center;
  gap: 20px; /* ← 丸とテキストの間の余白 */
  padding: 30px;
}
/* 初期状態：右にずらして透明に */
.strength {
  opacity: 0;
  transform: translateX(50px);
  transition: all 1s ease-out;
}
.strength.active {
  opacity: 1;
  transform: translateX(0);
}
.bracket-box {
  position: relative;
  width: 80%; /* 例：全体の80%幅 */
  max-width: 700px; /* 上限を設けるとスマホでも見やすい */
  padding: 30px;
  margin: 20px auto;
  text-align: center;
  display: block;
}
/* 左上と右下に“かぎ”を作る */
.bracket-box::before, .bracket-box::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  border: 1px solid #D9C6BA;
}
/* 左上 */
.bracket-box::before {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}
/* 右下 */
.bracket-box::after {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}
.strength1 {
  width: 60%;
  margin: 0 auto;
}
.halfphoto img {
  width: 50%;
}
.card-container {
  display: flex;
  align-items: center; /* 縦方向の中央揃え */
  justify-content: space-between;
  max-width: 90%; /* サイト全体の幅に合わせて調整 */
  margin: 40px auto;
  gap: 40px; /* 画像とテキストの間の余白 */
}
.card-img {
  flex: 7; /* 7：3 の比率にする */
}
.card-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px; /* お好みで角丸 */
}
.card-text {
  flex: 3;
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  color: #BEAB9F;
}
.card-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #BEAB9F;
}
.card-container2 {
  display: flex;
  align-items: center; /* 縦方向の中央揃え */
  justify-content: center; /* 横方向のバランス調整 */
  gap: 40px; /* テキストと画像の間隔 */
  padding: 60px 20px;
  max-width: 800px;
  margin: 0 auto;
}
.card-text2 {
  flex: 4; /* ← テキスト：4 */
  text-align: left;
  font-size: 1.6rem;
  line-height: 1.8;
  color: #333;
}
.card-img2 {
  flex: 6; /* ← 画像：6 */
  display: flex;
  justify-content: center;
}
.card-img2 img {
  width: 100%;
  max-width: 600px; /* ← 画像サイズの上限を少し広めに */
  height: auto;
  object-fit: cover;
}
.staff {
  max-width: 1200px;
  padding: 100px 0 100px 0;
}
.staff-container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.staff-card {
  flex: 1;
  min-width: 250px;
  text-align: center;
}
.staff-img {
  width: 280px;
  margin: 0 auto 20px;
  overflow: hidden;
}
.staff-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.staff-card h5 {
  font-size: 1.2rem;
  color: #363636;
  margin-bottom: 10px;
}
.staff-card p {
  font-size: 1rem;
  color: #363636;
  line-height: 1.6;
}
.staffmessage {
  padding: 50px 0 50px 0;
  font-size: 1rem;
  color: #363636;
  line-height: 1.8;
}
.messagetext {
  padding: 50px 0 50px 0;
  font-size: 1.2rem;
  color: #363636;
  line-height: 1.8;
  text-align: center;
}
.testimonial {
  max-width: 1200px;
  margin: 100px auto;
}
.testimonial-container {
  padding: 30px 0 10px 0;
}
.testimonial-card {
  background-color: #DED6D1;
  flex: 1;
  min-width: 300px;
  display: flex;
  padding: 50px;
  margin: 20px 0 20px 0;
  align-items: center;
  gap: 20px;
}
.testimonial-img {
  width: 200px;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}
.testimonial-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testimonial-text {
  font-size: 1rem;
  color: #363636;
  line-height: 1.6;
}
.customer-name {
  margin: 10px 0 10px 0;
  font-weight: bold;
  font-size: 1.1rem;
  color: #363636;
}
.company {
  padding-top: 50px;
  line-height: 2.3rem;
  font-size: 1.1rem;
  color: #363636;
}
h2 {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-weight: lighter;
  font-style: normal;
  font-size: 1.5rem;
  color: #fff;
  text-align: center;
  line-height: 2.5rem;
  background-color: #D9C6BA;
  padding: 100px;
}
h3 {
  font-family: "Elms Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
  font-size: 2rem;
  letter-spacing: 0.1em;
  color: #BEAB9F;
}
.title {
  font-size: 1.2rem;
}
/* タイトルのスタイルも整える */
.title {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.6;
  color: #BEAB9F;
}
.centerbox {
  margin: 0 auto;
}
.contactform, .contactform2, .contactform3 {
  width: 50px;
  position: fixed;
  left: 0;
  z-index: 30;
}
.contactform img, .contactform2 img, .contactform3 img {
  width: 50px;
  position: fixed;
  left: 0;
}
.contactform img {
  bottom: 130px;
  z-index: 30;
}
.contactform2 img {
  bottom: 70px;
  z-index: 30;
}
.contactform3 img {
  bottom: 10px;
  z-index: 30;
}
/* 初期状態：右にずらして透明 */
.card-text {
  opacity: 0;
  transform: translateX(50px);
  transition: all 1s ease-out;
}
/* スクロールで画面内に入ったときに付与するクラス */
.card-text.active {
  opacity: 1;
  transform: translateX(0);
}
.headerNavOuter {
  margin-bottom: 3.6rem;
}
h4 {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-weight: lighter;
  font-style: normal;
  font-size: 0.9rem;
  position: relative;
  display: inline-block; /* テキスト幅に合わせたい場合 */
  padding-bottom: 8px; /* 下線との余白 */
  font-weight: normal; /* お好みで調整 */
  letter-spacing: 0.1em;
  color: #BEAB9F;
}
h4::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 180%; /* ← テキストより20%長くする */
  height: 1px;
  background-color: #DED6D1;
  transform: translateX(-50%); /* 中央揃え */
}
#rent {
  width: 85%;
  margin: 0 auto;
}
.renttext {
  font-size: 0.9rem;
  padding: 20px 0 0 0;
  text-align: left;
}
.rent-none {
  padding: 50px 0 180px 0;
}
/* アコーディオン */

.accordion {
	  margin-top: 15px;
  border-bottom: 1px solid #DED6D1;
}

.accordion:first-of-type {
  border-top: 1px solid #DED6D1;
}
.accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 10px 0;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}
.accordion-body {
  display: none;
  padding: 5px 0 10px;
  font-size: 14px;
  line-height: 1.6;
}
.accordion-body.open {
  display: block;
}
.pagination {
  text-align: center;
  margin-top: 40px;
  padding: 20px 0;
}
.pagination a {
  display: inline-block;
  margin: 0 4px;
  padding: 8px 14px;
  text-decoration: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
  background: #fafafa;
  transition: background 0.2s, color 0.2s;
}
.pagination a:hover {
  background: #BEAB9F;
  color: #fff;
}
.pagination-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* ナビボタン（<< < > >>） */
.page-nav {
  font-weight: bold;
}
/* 母数表示 */
.page-count {
  display: block; /* ← 改行 */
  margin-top: 8px; /* ← 2段目との余白 */
  font-size: 13px;
  color: #666;
}
.prefecture-links {
  display: flex;
}
/* 大見出し：東京都 */
.area-list > li > a {
  display: inline-block;
  font-size: 26px;
  font-weight: 700;
  color: #363636;
  text-decoration: none;
  margin: 10px 0 10px 0;
  padding-bottom: 6px;
  border-bottom: 4px solid #BEAB9F;
}
/* 中見出し（23区・市・町村など） */
.area-group {
  width: 100%; /* 横いっぱい使う */
  font-size: 18px;
  font-weight: 700;
  color: #555;
  margin: 20px 0 10px;
  padding-left: 10px;
  border-left: 4px solid #BEAB9F;
}
/* 区・市のリンク */
.area-sub a {
  color: #363636;
  border: 1px solid #BEAB9F;
  border-radius: 50px;
  padding: 6px 16px;
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
  transition: 0.3s;
}
/* 区・市のリンク */
.area-sub a {
  color: #363636;
  border: 1px solid #BEAB9F;
  border-radius: 50px;
  padding: 6px 16px;
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
  transition: 0.3s;
}
.area-sub {
  display: flex;
  flex-wrap: wrap; /* 折り返し */
  gap: 12px 14px; /* 縦 横の余白 */
  padding: 0;
  margin: 0;
  list-style: none;
}
.news {
  padding: 50px 0;
  width: 90%;
  margin: 0 auto;
}
.newsbg {
  background: #EFEFEF;
}
.newstitle {
  padding: 10px 0 10px 0;
  font-size: 1.1rem;
}
.inner {
  width: 80%;
  background-color: #fff;
  margin: 0 auto;
  padding: 65px 0 100px;
}
.sub_ttl {
  font-size: 30px;
  text-align: center;
  margin-bottom: 40px;
}
/*物件情報*/
.renthouse {
  display: flex;
  padding-top: 20px;
	width: 85%;
	margin: 0 auto;
}
.rentnew {
  padding-top: 30px;
  color: #BEAB9F;
  font-size: 1.3rem;
}
.rentfigure {
  width: 30%;
  margin: 20px auto; /* 中央寄せしたい場合 */
  border: 1px solid #BEAB9F; /* 枠線 */
  overflow: hidden; /* はみ出し防止 */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* ほんのり影（お好み） */
  z-index: 20;
}
.rentfigure img {
  width: 100%; /* 枠にぴったり合わせる */
  display: block; /* 余白防止 */
  max-height: 250px
}
.rentfigure figcaption {
  padding: 10px;
  font-size: 0.9rem;
  background-color: #fff; /* 白背景で読みやすく */
  line-height: 1.5;
}
/* ホバー時のふわっと浮く効果 */
.rentfigure figure:hover {
  cursor: pointer; /* ホバー時に指マークのカーソルを表示 */
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.js-title {
  font-size: 1.1rem;
}
#modal-title {
  font-weight: 200;
  font-size: 1.2rem;
  padding: 10px 0 10px 0;
}
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  overflow: auto;
}
.modal-content {
  position: relative;
  margin: 50px auto;
  padding: 20px;
  background: #fff;
  width: 80%;
  max-width: 600px;
}
.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
}
.modal-slides img {
  width: auto;
  height: 400px;
  display: none;
  margin: 0 auto;
}
.modal-slides img.active {
  display: block;
}
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 25%;
  transform: translateY(-50%);
  font-size: 28px;
  color: #BEAB9F;
  padding: 5px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  user-select: none;
}
.prev {
  left: 10px;
}
.next {
  right: 10px;
}
.slide-dots {
  text-align: center;
  margin: 10px 0;
}
.slide-dots .dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #bbb;
  border-radius: 50%;
  margin: 0 4px;
  cursor: pointer;
}
.slide-dots .dot.active {
  background: #333;
}
/* ▼ 写真スライダー ▼ */
.slider {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 20px;
}
.slide {
  width: 100%;
  display: none;
}
.slide.active {
  display: block;
}
/* ここからがニュース記事のCSS */
.news {
  margin-top: 100px;
}
.news_list {
  margin: 0 5%;
}
.news_list_item {
  padding: 25px 0;
  border-bottom: 1px solid #E6E6E6;
}
.news_list_item:first-child {
  border-top: 1px solid #E6E6E6;
}
.news_list_item a {
  position: relative;
  display: flex;
  padding-right: 30px;
}
.news_list_date {
  font-size: 15px;
  display: flex;
  margin-right: 15px;
  align-items: center;
}
.news_item {
  background: #D9C6BA;
  border-radius: 14px;
  width: 6em;
  /* 親要素の文字サイズを基準 */
  text-align: center;
  margin-left: 20px;
  color: #ffffff;
}
.arrow {
  width: 25px;
  height: 1px;
  background: #707070;
  position: absolute;
  top: 50%;
  right: 0;
}
.arrow::after {
  content: "";
  display: block;
  width: 6px;
  height: 1px;
  background: #707070;
  transform: rotate(45deg);
  position: absolute;
  right: 0px;
  bottom: 2px;
}
.circle {
  width: 100px;
  height: 100px;
  background: #D9C6BA;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  flex-direction: column; /* 上下に並べる */
  align-items: center; /* 横方向中央 */
  justify-content: center; /* 縦方向中央 */
  text-align: center;
  line-height: 1.2;
}
.circle span {
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.circle span small {
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-style: normal;
}
/*店舗情報*/
#access {
  display: flex;
  justify-content: center; /* 全体を中央に */
  align-items: flex-start; /* 上揃え（中央にしたければ center） */
  gap: 0; /* テキストと地図の間の余白 */
  width: 70%;
  margin: 60px auto;
  flex-wrap: wrap; /* スマホ対応：小さい画面では縦並びに */
}
#access > div {
  flex: 1; /* 均等に伸びるように */
  min-width: 300px; /* 崩れ防止 */
}
#access iframe {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 8px; /* お好みで角丸 */
}
.map {
  padding: 20px;
}
.accessoffice {
  line-height: 1.5rem;
  font-size: 1.3rem;
  padding: 10px 0 10px 0;
  color: #BEAB9F;
}
.mapline {
  line-height: 1.5rem;
  font-size: 1rem;
  padding: 10px 0 10px 0;
}
/*faq*/
.faqp {
  padding: 0 0 20px 0;
  color: #363636;
}
.faqtitle {
  color: #a88774;
  font-size: 1.3rem;
  padding: 40px 0 10px 0;
}
.accordion {
  margin-inline: 0;
  border-bottom: 1px solid #DED6D1
}
.faqtitle {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease-out;
}
/* 画面に入ったら発火するクラス */
.faqtitle.visible {
  opacity: 1;
  transform: translateX(0);
}
.accordion_title {
  position: relative;
  border: none;
  display: block;
  list-style: none;
  width: 100%;
  cursor: pointer;
  padding: 1.4em 0 1.0em 0;
  line-height: 1.6em;
  color: #BEAB9F;
}
summary.accordion_title::-webkit-details-marker {
  display: none;
}
.accordion_title:after {
  content: "+";
  position: absolute;
  top: calc(50% - 0.5em);
  right: 20px;
  line-height: 1;
  padding: 0;
  pointer-events: none;
}
.accordion::details-content {
  opacity: 0;
  block-size: 0;
  transition: .3s;
  transition-property: display, opacity, block-size, padding;
  transition-behavior: allow-discrete;
  line-height: 1.6em;
}
.accordion .accordion_content {
  padding: 0 2em 0 3em;
}
.accordion .accordion_content > *:first-of-type {
  margin-top: 0;
}
.accordion .accordion_content > *:last-of-type {
  margin-bottom: 0;
}
.accordion[open]::details-content {
  opacity: 1;
  block-size: auto;
  block-size: calc-size(auto, size);
}
.accordion[open] .accordion_content {
  padding: 0 2em 1.4em 3em;
}
.accordion[open] .accordion_title:after {
  content: "-";
}
/*footer*/
.round {
  position: relative;
  background-color: #DED6D1;
  border-top-left-radius: 0;
  border-top-right-radius: 90px;
  border-bottom-right-radius: 90px;
  border-bottom-left-radius: 0;
  margin: 100px 50px 0 0; /* ← 上に100pxの余白で本文と間をとる */
  padding: 50px 0;
  width: 80%;
  z-index: 2;
}
footer p {
  position: relative;
  z-index: 1;
  text-align: right;
  color: #BEAB9F;
  font-size: 0.8rem;
  padding: 400px 20px 20px 0;
  background-color: #EFEFEF;
  margin-top: -400px; /* ← コピーライトを少しかぶせたい場合に調整 */
}
.left {
  display: flex;
  width: 80%;
  height: auto;
}
.floatlogo {
  font-family: "ＭＳ Ｐ明朝";
  padding: 150px 100px 150px 100px;
  line-height: 1.9rem;
  ;
}
footer {
  position: relative; /* 親要素基準にする */
}
.footer_navi {
  line-height: 3rem;
  padding: 30px 0;
  margin: 0 auto;
}
.nav-links-footer {
  display: flex;
  flex-direction: column; /* 縦方向に並べる */
  justify-content: space-between; /* 縦方向で均等配置！ */
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links-footer li {
  margin: 8px 0; /* 上下のマージンを一定にする */
}
h5 {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-weight: lighter;
  font-style: normal;
  font-size: 1.3rem;
  color: #fff;
}
/*flowページ*/
.step-container {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 70px 0;
}
.step-img img {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.step-text {
  flex: 1;
}
.steph3 {
  font-size: 2.0rem;
  margin: 100px 0 10px 0
}
.step-number {
  color: #BEAB9F;
  font-size: 2rem;
  margin-right: 8px;
}
/* 05だけデザインを変える */
.step05-container {
  position: relative;
  width: 100%;
  margin: 80px 0;
  min-height: 360px;
}
/* 写真：右上に大きく配置 */
.step05-img img {
  width: 55%;
  height: auto;
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transform: translate(20px, -20px); /* 右上方向へ少しずらして斜め構図に */
}
/* テキスト：左下に配置 */
.step05-text {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 55%;
  background: rgba(255, 255, 255, 0.85);
  padding: 30px 35px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transform: translate(-20px, 20px); /* 左下方向へずらして斜め構図を作る */
}
/* ナンバー色変更 */
.step-number {
  color: #BEAB9F;
  font-size: 3rem;
  margin-right: 6px;
}
/* 見出し */
.step05-text h3 {
  margin-bottom: 10px;
}
/*flowのアニメーション*/
/*コンタクトページ*/
/* contactページのheaderだけblockにする */
/* contact.htmlだけ */
.contact-page header {
  display: block; /* headerをblockに */
  position: relative; /* absoluteの基準 */
}
.contact-page main {
  height: 2000px;
}
.contact-page2 header {
  display: block; /* headerをblockに */
  position: relative; /* absoluteの基準 */
}
.contact-page2 main {
  height: 1000px;
}
.header-top {
  width: 10px;
}
/*コンタクトページ*/
.contact-main {
  position: relative;
  z-index: 10;
  margin-top: -550px; /* 元のスペースも移動するのでクリック判定が正しい */
}
.contact-page .contact {
  width: 40%;
  margin: 0 auto;
}
.contact-page2 .contact {
  width: 40%;
  margin: 0 auto;
}
.faq {
  width: 70%;
  margin: 0 auto;
}
.form-group {
  text-align: left;
  margin-bottom: 25px;
  display: block; /* flex を解除 */
}
.form-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
}
.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #000; /* 黒枠 */
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}
.form-group textarea {
  width: 100%;
  height: 200px;
  padding: 10px;
  border: 1px solid #000; /* 黒枠 */
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}
/*チェックボックスやラジオボタンには適用しない */
.form-group input[type="checkbox"], .form-group input[type="radio"] {
  width: auto;
  padding: 0;
  margin-right: 8px;
}
.checkbox-group label {
  display: flex;
  align-items: center;
  font-size: 14px;
  margin-bottom: 4px; /* ← 少し詰める */
  line-height: 1.2; /* ← 行間を詰める */
  padding: 0; /* ← 余計なpaddingを削除 */
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.checkbox-group input[type="checkbox"] {
  margin-right: 8px;
}
.submit-btn {
  display: inline-block;
  padding: 12px 40px;
  background-color: #BEAB9F;
  color: #fff;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}
.submit-btn:hover {
  background-color: #a79285;
}
.submit-group {
  text-align: right;
}
/* ラジオボタン項目 */
.radio-group {
  display: flex;
  justify-content: flex-start; /* 左寄せ */
  align-items: center;
  gap: 30px; /* 間隔を確保 */
  flex-wrap: nowrap; /* 折り返しなしで横並び維持 */
}
.radio-group label {
  display: inline-flex; /* インラインフレックスで横方向に配置 */
  align-items: center;
  gap: 6px; /* ○とテキストの間 */
  font-size: 1rem;
  color: #333;
  cursor: pointer;
  white-space: nowrap; /* 折り返し防止！ */
}
.checkbox-group {
  display: flex;
  flex-direction: column; /* 縦並び */
  gap: 10px; /* 各項目の間に余白 */
  margin-top: 10px;
}
.checkbox-group label {
  display: flex;
  align-items: center;
  font-size: 1rem;
  cursor: pointer;
}
.checkbox-group input[type="checkbox"] {
  margin-right: 8px;
  accent-color: #BEAB9F; /* チェック色を統一 */
}
.required {
  color: #c00;
  font-size: 0.7rem;
  margin-left: 6px;
}
/* プルダウンのスタイル */
.form-group select {
  width: 200px;
  ;
  padding: 10px;
  border: 1px solid #000; /* 黒枠 */
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
  background-color: #fff;
  appearance: none; /* デフォルト矢印消す（ブラウザ依存） */
}
.contacttext {
  font-size: 0.9rem;
  padding: 30px 0 50px 0;
  text-align: left;
}
/*プライバシーポリシー*/
.privacy-policy {
  color: #555;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  height: 100px;
  overflow-y: scroll;
  padding: 6px 12px;
}
.privacy-comment {
  font-size: 0.8rem;
  padding: 10px 0 10px 0;
}
.check-disabled {
  color: #afafaf;
}
.faqtext {
  font-size: 0.9rem;
  padding: 30px 0 10px 0;
  text-align: left;
}
.rectext {
  font-size: 0.9rem;
  padding: 30px 0 600px 0;
  text-align: left;
}
.news-page {
  width: 70%;
  margin: 0 auto;
  font-size: 0.9rem;
  padding: 30px 0 600px 0;
  text-align: left;
}
.note {
  font-size: 0.8rem;
  color: #777;
}
input[type="radio"] {
  accent-color: #000;
  transform: scale(1.1);
}
/* コンタクトページ送信中画面全体を覆うオーバーレイ */
#loadingOverlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(5px); /* ← ブラー効果 */
  display: none; /* 最初は非表示 */
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 9999;
}
/* コンタクトページ送信中ローダー（クルクル回るやつ） */
.loader {
  border: 4px solid #ddd;
  border-top: 4px solid #BEAB9F; /* ブランドカラー */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 0.8s linear infinite;
  margin-bottom: 20px;
}
@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}
/* 送信ボタン無効化時の見た目 */
.submit-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}
/*レスポンシブ（SP）*/
@media screen and (max-width: 1024px) {
  .news_list_item a {
    display: block;
  }
}
@media screen and (max-width: 768px) {
  .news_list_item a {
    font-size: 14px;
  }
  /*ヘッダーのnav*/
  .yokotext p {
    writing-mode: vertical-rl;
    font-family: "ＭＳ Ｐ明朝";
    font-size: 1.8rem;
    position: fixed;
  }
  .card-text p, h4 {
    font-size: 0.9rem;
  }
  h2 {
    font-size: 1.0rem;
    padding: 80px 0 80px 0;
  }
  .textcenter {
    font-size: 1.0rem;
    padding: 50px 0; /* 上下に余白をとる */
  }
  .textcenter2 {
    font-size: 1.0rem;
    padding: 100px 0px;
  }
  .title {
    font-size: 1rem;
  }
  .accordion_title {
    position: static;
    border: none;
    display: block;
    list-style: none;
    width: 100%;
    cursor: pointer;
    padding: 1.4em 0 1.0em 0;
    line-height: 1.6em;
    color: #BEAB9F;
  }
  .accordion_title:after {
    display: block;
    position: static;
  }
  .strength1 {
    width: 100%;
  }
  .circle {
    width: 60px;
    height: 60px;
    background: #D9C6BA;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    flex-direction: column; /* 上下に並べる */
    align-items: center; /* 横方向中央 */
    justify-content: center; /* 縦方向中央 */
    text-align: center;
    line-height: 1.2;
  }
  .circle span {
    font-family: "Great Vibes", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .circle span small {
    font-family: "Great Vibes", cursive;
    font-weight: 400;
    font-style: normal;
  }
  .news {
    padding: 50px 0;
    width: 85%;
    margin: 0 auto;
  }
  .newsbg {
    background: #EFEFEF;
  }
  .inner {
    width: 90%;
    background-color: #fff;
    margin: 30px auto;
    padding: 65px 0 100px;
  }
  #access {
    width: 80%;
  }
  .news-page {
    width: 85%;
    margin: 0 auto;
    font-size: 0.9rem;
    padding: 30px 0 600px 0;
    text-align: left;
  }
  .map {
    width: 100%;
    padding: 0;
  }
  #rent {
    width: 85%;
    margin: 0 auto 70px;
  }
  .renthouse {
    display: block; /* flexを解除 */
  }
  .rentfigure {
    width: 90%; /* 横幅を少し余裕持たせる */
    margin: 20px auto; /* 中央寄せ */
  }
  .rentfigure img {
    width: 80%; /* スマホの時はサイズ調整 */
    display: block; /* 余白防止 */
    max-height: 400px;
    margin: 0 auto;
  }
  .modal-slides img {
    max-width: 100%;
    height: 250px;
    display: none;
    margin: 0 auto;
  }
  .news_list_item a {
    display: block; /* flexを解除して縦並びに */
    padding-left: 0;
    padding-right: 0;
  }
  .news_list_date {
    display: inline-flex; /* flexでもいいけど横並びで表示 */
    margin-bottom: 5px; /* 日付とタイトルの間隔 */
    align-items: center;
  }
  .news_item {
    margin-left: 5px; /* 日付との間隔を少し */
  }
  .arrow {
    display: none;
  }
  .round {
    display: none;
  }
  .faq {
    width: 80%;
    margin: 0 auto;
  }
  footer p {
    position: relative;
    z-index: 1;
    text-align: right;
    color: #BEAB9F;
    font-size: 0.8rem;
    padding: 10px 20px 10px 0;
    background-color: #EFEFEF;
    margin-top: 100px; /* ← コピーライトを少しかぶせたい場合に調整 */
  }
  .contactfooter p {
    margin-top: 500px; /* ← コピーライトを少しかぶせたい場合に調整 */
  }
  .contact-page .contact {
    width: 70%;
    margin: 0 auto;
  }
  .contact-page2 .contact {
    width: 70%;
    margin: 0 auto;
  }
  .card-container2 {
    flex-direction: column;
    gap: 30px;
    text-align: center;
    align-items: center; /* 縦方向の中央揃え */
    justify-content: center; /* 横方向のバランス調整 */
    padding: 60px 0px 0px 0px;
    max-width: 800px;
    margin: 0 auto;
  }
  .messagetext {
    padding: 20px 0 50px 0;
    font-size: 1.0rem;
    color: #363636;
    line-height: 1.8;
    text-align: center;
  }
  .card-text2 {
    text-align: center;
  }
  .card-img2 img {
    max-width: 100%;
  }
  .staff-container {
    flex-direction: column;
    gap: 50px;
  }
  .testimonial-container {
    flex-direction: column;
    gap: 30px;
  }
  .testimonial-card {
    flex-direction: column;
    text-align: center;
    background-color: #DED6D1;
    flex: 1;
    min-width: 100px;
    display: flex;
    padding: 50px 10px 50px 10px;
    margin: 20px 0 20px 0;
    align-items: center;
    gap: 20px;
  }
  .testimonial-text {
    margin-top: 15px;
  }
  /* 横並びを縦並びに変更 */
  .step-container {
    display: block;
    flex-direction: column;
    gap: 16px;
    margin: 30px 0;
  }
  /* 画像は横幅100%で表示 */
  .step-row img, .row img, .flex img, .block img, .step-content img {
    width: 100%;
    height: auto;
    border-radius: 12px;
  }
  /* テキスト部分も幅100%に */
  .text, .step-text, .description {
    width: 100%;
  }
  .steph3 {
    font-size: 1.5rem;
    margin: 60px 0 0 0;
  }
  .step-number {
    font-size: 2rem;
  }
}