body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans', sans-serif;
    color: #333;
    background-color: #fdfaf6;
    line-height: 1.6;
}
  
/* ヘッダー */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #d9cfc1;
    padding: 20px 40px;
}
  
.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #5c4438;
}
  
.nav-list {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}
  
.nav-list a {
    text-decoration: none;
    color: #5c4438;
    font-weight: bold;
    transition: color 0.3s;
}
  
.nav-list a:hover {
    color: #9c7a6e;
}
  
/* メインビジュアル（ヒーロー） */
.hero {
    background-image: url("images/kris-atomic-3b2tADGAWnU-unsplash.jpg"); /* あとで画像入れる場所 */
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 120px 20px;
}
  
.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
  
.hero p {
    font-size: 1.2rem;
}
  
/* カフェ紹介セクション */
.about {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
  
.about h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #5c4438;
}
  
/* フッター */
footer {
    background-color: #d9cfc1;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* ハンバーガーボタン（初期状態は非表示） */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    background: #5c4438;
    border-radius: 2px;
}
  
/* メディアクエリでスマホ用に切り替え */
@media (max-width: 768px) {
    .nav-list {
      display: none;
      flex-direction: column;
      gap: 10px;
      position: absolute;
      top: 80px;
      right: 20px;
      background-color: #fdfaf6;
      padding: 20px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
  
    .nav-list.active {
      display: flex;
    }
  
    .hamburger {
      display: flex;
    }

    .gallery-grid img {
        height: 150px; /* スマホでは少し低めにする */
    }

    .gallery-grid {
        grid-template-columns: 1fr; /* スマホでは1列にする */
    }
    
    .gallery-grid img {
        height: auto; /* 自然な高さに */
        aspect-ratio: 4 / 3; /* アスペクト比を揃える（モダンブラウザ対応） */
        object-fit: cover;
    }
}
  
/* フォームセクションのスタイル */
.contact {
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
  
/* フォームのレイアウト */
form {
    display: flex;
    flex-direction: column;
    gap: 20px; /* フォーム要素間の間隔を調整 */
    align-items: center; /* 中央揃え */
}
  
/* 各フォーム要素のスタイル */
label {
    font-size: 1.1rem;
    font-weight: bold;
    color: #5c4438;
    align-self: flex-start; /* ラベルは左寄せ */
    margin-bottom: 5px;
}
  
input, textarea {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; /* パディングを含めた幅指定 */
}
  
textarea {
    resize: vertical; /* テキストエリアの縦方向リサイズ */
}
  
button {
    background-color: #5c4438;
    color: white;
    padding: 12px 30px;
    font-size: 1.1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    align-self: center; /* ボタンを中央に配置 */
}
  
button:hover {
    background-color: #9c7a6e;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}
  
.gallery-grid img {
    width: 100%;
    height: 200px; /* 高さを固定して揃える */
    object-fit: cover; /* 中央を切り抜きで見た目をきれいに */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
  
.gallery-grid img:hover {
    transform: scale(1.03); /* ホバーで少し拡大するとオシャレ */
}

.access {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
  
.access h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #5c4438;
}
  
.access p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1em;
}
  
.access iframe {
    width: 100%;
    height: 450px;
    border: none;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* 制作実績セクション（.works） */
.works {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.work-item {
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 30px;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.work-item h3 {
    color: #5c4438;
    margin-bottom: 10px;
}

.work-item ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 10px 0;
}

.work-item p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.work-item a {
    display: inline-block;
    margin-top: 10px;
    color: #5c4438;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 2px solid #9c7a6e;
    transition: all 0.3s ease;
}

.work-item a:hover {
    color: #9c7a6e;
    border-bottom: 2px solid transparent;
}

footer .credits {
    font-size: 0.75rem;
    color: #666;
    margin-top: 10px;
    line-height: 1.4;
}