li{
  list-style: none;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  margin: 0;
  background: #fff;
  color: #333;
  overflow-x: hidden;
}

.noto-serif-jp {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
  font-size: 40px;
  text-align: center;
}
.shippori-mincho-regular {
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-style: normal;
}

.float-button__wrap {
  width: 80px;
  height: 45px;
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 10;
}
.float-button__wrap a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  background-color: #0069b3 ;
  color: #fff;
}

.float-button__wrap {
  display: none;/*最初は隠す*/
  width: 80px;
  height: 45px;
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 10;
}


h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
}

h3{
  font-family: 'Courier New', Courier, monospace;
}

.container {
  max-width: 1000px;
  margin: auto;
  padding: 0 20px;
}

/* ヘッダー */
header {
  background: #8E354A;
  color: #fff;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header nav a {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
}

header .logo img{
  width: 50%;
}

#header-menu{
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
}

/* ヒーロー */
.hero {
  height: 60vh;
  background: url(../images/hero-bg.jpg) no-repeat center center / cover;
  text-align: left;
  padding: 80px 20px;
  color: #fff;
}
.hero .container img{
  width: 50%;
  max-width: 500px;
}
.hero .container p{
  font-size: 30px;
  font-weight: bold;
  color: #edff00;
}
.hero .btn {
  display: inline-block;
  margin: 20px 0;
  padding: 12px 24px;
  background: #8E354A;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: transform .2s;
}
.hero .btn:hover {
  transform: scale(1.05);
}

.contactbtn{
  width: 95%;
  max-width: 600px;
  margin: 40px auto;
}

.contactbtn h3, .contactbtn p{
  margin: 0;
}
.contactbtn img{
  width: 100%;
}

.worries{
  text-align: center;
}

.worries img{
  width: 100%;
  max-width: 600px;
}

/* 共通カード */
.cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.card {
  flex: 1;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.05);
  text-align: center;
}
#service{
  margin-bottom: 20px;
}

.card img{
  width: 80%;
}

/* infoセクション */
.info {
  background: #dac7c7;
  padding: 20px 0;
}
.info.alt {
  background: #ebe3e3;
}
.info h3{
  margin: 0;
}
.flow {
  margin-top: 15px;
  font-weight: bold;
  color: #8E354A;
}

#flow{
  text-align: center;
}

#flow img{
  width: 100%;
  max-width: 400px;
  margin-top: 30px;
}

#last{
  text-align: center;
}

#last img{
  width: 100%;
  max-width: 800px;
}

#last p{
  margin: 0;
}

/* 比較表 */
.compare{
  padding: 20px 0;
  background-color: #fff4e4;
  text-align: center;
}

.compare img{
  width: 100%;
  max-width: 600px;;
}

/* FAQ */
details {
  margin-bottom: 10px;
}

/* 問い合わせ */
.contact form {
  display: flex;
  flex-direction: column;
}
.contact label {
  margin-bottom: 15px;
}
.contact input, .contact textarea {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
}
.contact .btn {
  background: #8E354A;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.contact .btn:hover {
  background: #5e1f1a;
}

/* フッター */
footer {
  background: #8E354A;
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* ===== スマホ表示時 ===== */
@media (max-width: 768px) {
  #header-menu {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* openクラスで開く */
#header-menu.open {
  height: 200px;
}

/* スマホ用などでメニュー非表示時 */
@media (max-width: 768px) {
  #header-menu {
    display: block;
  }
}
  #header-menu{
    display: block;
    gap: initial;
  }

  nav {
    position: fixed;
    top: 24px;
    width: 100%;
    z-index: 10;
  }
  ul {
      height: 0;
      overflow: hidden;
      transition: .3s;
      list-style:none;
      background: #cf8f8f;
  }
  li a{
      padding: 8px;
      font-size: 16px;
      color: #464646;
      display: block;
      text-align: center;
      text-decoration: none;
  }
  .card {
    min-width: 250px;
  }
  
  .hamburger {
      position: absolute;
      top: 30px;
      right:32px;
      cursor: pointer;
      width: 32px;
      height: 24px;
      z-index: 10;
  }
  .hamburger span {
      /*3本の線を作る*/
      transition: all .3s;
      position: absolute;
      height: 2px;
      background-color: #fff;
      width:100%;
      z-index: 10;
  }
  .hamburger span:nth-of-type(1) {
      /*上の線の位置*/
      top: 4px;
  }
  .hamburger span:nth-of-type(2) {
      /*真ん中の線の位置*/
      top: 12px;
  }
  .hamburger span:nth-of-type(3) {
      /*下の線の位置*/
      top: 20px;
  }
  .hamburger.open span:nth-of-type(1) {
      /*openのとき、上の線を右斜めにする*/
      top: 10px;
      transform: translateY(6px) rotate(-45deg);
  }
  .hamburger.open span:nth-of-type(2) {
      /*真ん中の線を消す*/
      opacity: 0;
  }
  .hamburger.open span:nth-of-type(3) {
      /*下の線を左斜めにする*/
      top: 22px;
      transform: translateY(-6px) rotate(45deg);
  }
  .hero {
    height: 68vh;
    background: url(../images/hero-bg_sp.jpg) no-repeat center center / cover;
    text-align: center;
    padding: 80px 20px;
    color: #fff;
  }

  .hero .container{
    padding: 10px;
    background: #bd5f5fd4;
    border-radius: 10px;
    margin-top: 35vh;
    max-width: 400px;
  }
  .hero .container h2{
    margin: 10px 0;
  }
  .hero .container img{
    width: 70%;
  }
  .hero .container p{
    margin: 0;
    font-size: 18px;
  }
}