body {
  margin: 0 auto;
  padding: 0;
  max-width: 1000px;
  min-width: 1000px;
}

/* header */

a {
  color: #000;
}

a:hover {
  color: #c9372d;
}

.contact-phone {
  font-weight: bold;
}

a:hover,
.contact-mail:hover {
  color: #c9372d;
}

.contact-mail {
  color: #000;
  text-decoration-style: dotted;
}

h3 {
  margin: 0;
}

header {
  display: flex;
  justify-content: space-between;
}

.about ul {
  list-style: none;
  padding: 0;
  display: flex;
}

.LogoImg {
  margin-top: 8px;
}

.about {
  display: flex;
  justify-content: flex-end; /* 右寄せ */
}

.about a {
  padding: 0 16px;
  text-decoration: none;
  color: black;
  border: none; /* すべての a 要素のボーダーを初期化 */
}

.about a:hover {
  color: #c9372d;
}

/* 最初の要素に左の縦棒を追加 */
.about a:first-child {
  border-left: 3px dotted black;
}

/* 最後の要素に右の縦棒を追加 */
.about li:last-child {
  border-right: 3px dotted black;
}

.contact-container {
  display: flex;
  justify-content: center;
  align-items: center; /* 縦方向の中央揃え */
  gap: 16px; /* 要素間の間隔 */
}

.contact-info {
  display: flex;
  list-style: none;
  padding: 8px;
  margin: 0;
  gap: 16px; /* 電話番号とメールの間隔 */
  border: 1px solid black;
  border-radius: 8px;
}

.contact-text {
  font-weight: bold;
}

/* section1 */

section {
  display: flex;
  justify-content: center;
  
}

nav {
  margin-top: 32px;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
}

nav ul a{
  text-decoration: none;
  background: rgba(219, 218, 218, 0.5);
  color: black;
  border: 1px solid black;
  border-radius: 4px;
  padding: 8px;
  margin: 24px;
  font-weight: bold;
}

nav ul a:hover {
  color: black;
  background: rgba(146, 145, 145, 0.5);}


/* section1-5 */

.section1-5 {
  position: relative;

}

.kusa1 {
  position: absolute;
  top: -189px;
  left: 0;
  z-index: -1;
}

.kusa2 {
  position: absolute;
  top: -189px;
  right: 0px;
  z-index: -1;
}

/* section2 */

.section2 {
  display: flex;
  justify-content: space-between;
}

/* section3 */

.section3,
.section4,
.section5,
.section6,
.section7 {
  display: block;
}

.top-img{
  border-radius: 16px;
  object-fit: cover;
}

.title {
  margin-top: 32px;
}

.title h1 {
  padding: 0;
  margin: 0;
  font-weight: normal;
}

.title {
  background: rgb(224, 187, 130);
  font-weight: normal;
  border-radius: 4px;
  padding: 8px;
  font-size: 20px;
}

.floor1 {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}

/* section4 */

.naiyou {
  display: flex;
}

.title2 {
  background: #dcbfb8;
  border-radius: 4px;
  padding: 8px;
}

/* section5 */

.step-container {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: #ebe0c6;
  padding: 20px;
  border-radius: 10px;
  width: 100%;
  max-width: 1000px;
  position: relative;
  margin-top: 8px;
}

.step-number,
.step-number2 {
  width: 50px;
  height: 50px;
  background: white;
  border: 2px solid #333;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  font-size: 20px;
  font-weight: bold;
  position: relative;
}

.step-number2 {
  border: 4px solid #c9372d;

}

.step-number::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -40px;
  width: 2px;
  height: 40px;
  background: #333;
  transform: translateX(-50%);
}

.step-number::before {
  content: "▼";
  position: absolute;
  left: 50%;
  bottom: -60px;
  font-size: 20px;
  color: #333;
  transform: translateX(-50%);
}

.step-content {
  flex: 1;
}

h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

/* section7 */

.price-table {
  width: 100%;
  max-width: 1000px;
  margin: auto;
  border-collapse: collapse;
  background-color: #fff;
  margin-top: 16px;
}

.price-table th, 
.price-table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

.price-table th {
  background-color: #e4d7bd;
  font-weight: bold;
}

.price-table tbody tr:nth-child(even) {
  background-color: #f9f5ee;
}

.price-table tbody tr:hover {
  background-color: #eae2d1;
  transition: 0.3s;
}

/* footer */

footer {
  margin-top: 32px;
  padding: 128px 0;
  display: flex;
}

footer h3 {
  font-weight: normal;
}

footer li {
	list-style: '➤';
}

footer .kara {
  list-style: '';
}

footer .migi {
  list-style: '➔';
}

footer a {
  text-decoration: none;
  color: #000;
}

footer a:hover {
  text-decoration: underline;
}

.to-top {
  position: fixed;
  bottom: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.5); 
  border-radius: 50%;
  width: 100px;
  height: 100px;
  line-height: 100px;
  text-align: center;
  color: #FFF;
  font-weight: bold;
  text-decoration: none; 
}

.to-top:hover {
  color: #FFF;
}