@charset "UTF-8";

html{
    font-size: 100%;
    scroll-behavior: smooth;
}
img{
    max-width: 100%
}
body{
    font-family: "Playfair Display", serif;
    line-height: 1.7;
    color: #432;
}
a {
    text-decoration: none;
}
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* 横スクロールを強制的にオフに */
}

/* 共通部分 */


.logo-img {
  max-width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.main-nav{
  text-align: center;
  gap: 1.5rem;
  width: 100%;
}
.main-nav a{
  color: #4b3b2a;
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
}

.font-english{
  font-family: "Playfair Display", serif;
  color: #4b3b2a;
}
.header-cover{
  background-image: url(../images/cover.JPG);
  width: 100%;
  height: auto;
  background-size: cover;          /* ← 縦横比を保ちつつ画面全体をカバー */
  background-position: center;     /* ← 画像の中央を基準に配置 */
  background-repeat: no-repeat;    /* ← 繰り返さない */

}

.heading-large{
  width: 100%;
  text-align: center;
  font-size: 2rem;
  padding: 2rem;
  color: #4b3b2a;
}
.heading-large p{
  text-align: center;
  font-size: 1.5rem;
  padding: 1rem;
}

.concepts p{
  text-align: left;
  margin: 10px 50px;
}

.concepts {
  display: flex;
  flex-direction: column; /* ←縦に積む */
  align-items: center;
  text-align: center;
  gap: 2rem;
  margin: 2rem auto;
  width: 90%;
}

.concepts img {
  width: 80%;
  height: auto;
  border-radius: 8px;
}
.items {
  display: flex;                /* ← これが抜けている可能性大 */
  flex-direction: column;       /* スマホでは縦並び */
  align-items: center;          /* 横方向に中央寄せ */
  justify-content: center;      /* 縦方向にも中央（念のため） */
  margin: 0 auto;
  max-width: 900px;
  gap: 2rem;                    /* 画像間の余白 */
}

.item img {
  max-width: 240px;
  height: auto;
  border-radius: 8px;
}
.item3{
  height: 120%;
}
.item p{
  text-align: center;
  font-size: 15px;
  padding: .5rem 1rem;
}
.item img:hover {
  transform: scale(1.05);
  transition: 0.3s ease;
  opacity: 0.9;
}
.sns {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 2rem 0;
}

.sns img {
  width: 29px;
  height: auto;
}
.info{
  text-align: center;
}
.phone{
  font-weight: bold;
  font-size: 2rem;
}
.address{
  margin: 3rem;
  font-weight: normal;
  font-size: 1rem;
}
.location-map{
  justify-content: center;
  margin: 0 auto;
}

.contact{
  text-align: center;
  font-size: 18px;
  padding: 0 1rem;
}
.btn{
  display: inline-block;
  font-size: 1rem;
  background-color: #4b3b2a;
  color: #fff;
  border-radius: 8px;
  padding: .75rem 1.5rem;
  margin: 1.5rem;
}
.btn:hover{
  transform: scale(1.05);
  transition: 0.3s ease;
  opacity: 0.9;
}

.footer-cover{
  background-color: #f4ede4;
  height: 100px;
}
.copyright{
  font-size: 28px;
  text-align: center;
  padding: 1rem;
}
.to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: #b9966d;
  color: white;
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  padding: 0.6rem 1rem;
  border-radius: 30px;
  text-decoration: none;
  opacity: 0.8;
  transition: 0.3s;
  z-index: 100;
}

.to-top:hover {
  opacity: 1;
  transform: translateY(-5px);
}

/* スマホ用（デフォルト） */
.main-nav {
  display: flex;
  flex-direction: column; /* ←縦並び */
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  list-style: none;
}

@media (min-width: 800px) {
  .heading-large {
    text-align: center;
    font-size: 2rem;
    padding: 3rem;
  }

  header {
    justify-content: space-between;
    display: flex;
    padding-top: 1.5rem;
  }

  .header-cover {
    background-image: url(../images/cover.JPG);
    background-size: cover;          /* ← 縦横比を保ちつつ画面全体をカバー */
    background-position: center;     /* ← 画像の中央を基準に配置 */
    background-repeat: no-repeat;    /* ← 繰り返さない */
  } /* ← 正しい位置に閉じカッコ */

  .heading-large {
    text-align: center;
    font-size: 2rem;
    padding: 3rem;
    color: #4b3b2a;
    justify-content: center;
  }

  .heading-large p {
    text-align: center;
    font-size: 2rem;
    padding: 1rem;
  }

  .items {
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr)); /* 各列の最小幅を確保 */
  justify-content: center;  /* ← グリッド全体を中央に寄せる */
  justify-items: center;    /* ← 各アイテムの中身を中央に寄せる */
  align-items: start;
  gap: 2rem;                /* 画像の間隔 */
  margin: 0 auto;
  width: 100%;        /* グリッド全体の幅制限 */
}

.item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.item p {
  text-align: center;
  margin-top: 0.5rem;
}
  .main-nav {
    flex-direction: row; /* ←横並び */
    justify-content: center;
    gap: 2.5rem;
    font-size: 1.5rem;
    list-style: none;
  }

  .header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    height: 450px;
    color: #4b3b2a;
  }

  .concept {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    width: 100%;
    gap: 1rem;
    padding: 0 5rem;
  }

  .concepts img {
    width: 80%;
    gap: 1rem;
  }

  .concepts p {
    width: 50%;
    font-size: 1rem;
    line-height: 1.8;
  }
  .location-map {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 4rem auto;
  width: 100%;
}

.location-map iframe {
  max-width: 100%;
  width: 720px;
  height: 320px;
  border: none;
}

} /* ← @media の閉じカッコはここで終わり！ */
