@charset "UTF-8";

*{
    margin: 0;
    padding: 0;
    /* 各ブラウザが持っている外部・内部の余白を初期化する */
    line-height: 1;
    /* 各ブラウザが持っている行間を初期化する */
    box-sizing: border-box;
    /* 幅を指定した要素（タグ）にborder、paddingを設定した際に要素が広がってしまうことを防ぐため */      
}

/* 共通設定 */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #FEF3C7; /* Amber背景色 */
}

/* ヘッダーのスタイル */
.header {
    background-color: rgb(4, 120, 87); /* エメラルド色 */
    color: white;
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo {
    display: flex;
    align-items: center;
}

.header .logo h1 {
    font-size: 24px;
    margin-left: 10px;
}

/* 
@media (min-width: 768px) {
    .header .nav.ul {
        grid-template-columns: repeat(2, 1fr);
    }
}
 */

.header .nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

.header .nav a {
    color: white;
    text-decoration: none;
}

.phone {
    color: white;
}

/* メインビジュアルのスタイル */
.main-visual {
    position: relative;
    height: 500px;
    width: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
}

.active {
    opacity: 1;
}

.main-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
    text-align: center;
    z-index: 2;
}

.overlay h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.overlay p {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn {
    padding: 10px 20px;
    background-color: #059669;
    border: none;
    color: white;
    cursor: pointer;
    margin-top: 10px;
}

.linebtn {
    padding: 10px 20px;
    background-color: #00B900;
    border: none;
    color: white;
    cursor: pointer;
}

/* 各セクションのスタイル */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;

}

table{
  max-width: 100%; /* テーブルの幅をコンテナの幅を超えないように制限 */
  margin: 0 auto; /* テーブルを中央揃え */
margin-bottom: 10px;
text-align-last: left;
background-color: #D1FAE5;
padding: 10px;
border-radius: 8px;
margin-top: 10px;
}

td{
padding: 5px;
}

th{
padding: 5px;
font-weight: normal;
}

.about, .services, .price, .reservation, .contact {
    padding: 60px 20px;
    text-align: center;
}

h2 {
    font-size: 32px;
    margin-bottom: 20px;
text-align: center;
}



/* 特徴（特徴的なサービスのグリッド） */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

.feature-grid h2 {
    font-size: 32px;
    margin-bottom: 20px;
/* text-align: center; */
}

@media (min-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-item {
    background-color: #D1FAE5;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
}

.feature-item img {
    width: 50px;
    height: 50px;
    margin-bottom: 5px;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* サービスセクションのスタイル */
.service-grid {
    display: grid;/* 子要素をグリッドコンテナにせよ */
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}



@media (min-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-item {
    background-color: #D1FAE5;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
}

.service-item img {
    width: 50px;
    height: 50px;
    margin-bottom: 5px;
}

.service-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}



/* 料金セクションのスタイル */
.price-list {
    list-style: none;
    padding: 0;
    
/* text-align-last: left; */
}

.price-list li {
    font-size: 18px;
    margin-bottom: 10px;
    
}

/* フッターのスタイル */
.footer {
    background-color: #065F46;
    color: white;
    text-align: center;
    padding: 20px;
}




/* ハンバーガーメニュー */
.hamburger {
    display: none; /* デフォルトでは非表示 */
    cursor: pointer;
  }
  
  .hamburger span {
    display: block;
    height: 3px;
    width: 25px;
    margin: 4px 0;
    background: #fff;
    transition: all 0.3s ease-in-out;
  }
  
  /* メニューが開いている状態 */
  .nav.active {
    display: block; /* メニューを表示 */
  }
  
  .hamburger.active span:first-child {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px); 
    
  }
  
  /* スマホ画面でハンバーガーメニューを表示 */
  @media (max-width: 768px) {
    .hamburger {
      display: block;
    }
  
    .nav {
      display: none; 
      position: absolute;
      top: 100px;
      left: 0;
      right: 0;
      background-color: rgb(4, 120, 87);
      padding: 20px;
      text-align: center;
    }
  }


  p {
    width: 100%; /* 親要素の幅に合わせてpタグの幅を100%にする */
  }