@charset "UTF-8";


/*メモ*/

/*メディアクエリは768pxはスマホ769pxはPC*/
/*PCはhover、スマホはactive*/


html {
  font-size: 100%;
  scroll-behavior: smooth;
}
body {
  background-color: gray;
  font-family:  Arial, "Helvetica Neue", "BIZ UDPGothic", Meiryo, "Hiragino Kaku Gothic Pro", sans-serif;
  font-size: 0.9em;
  letter-spacing: 0.1em;
  color: black;
  margin: 0;
  padding: 0;
}
section {
  margin-top: 50px;
}
main {
  margin-bottom: 50px;
}

h1 {
  margin-top: 1em;
  margin-bottom: 1em;
  font-size: 1.3em;
}
h1 a {
  color: black;
  text-align: center;
}
h2 {
  display: flex;
  align-items: center;
  gap: 1em; /* タイトルと線の間隔 */  
  margin-top: 30px;
  margin-left: 10px;
  margin-bottom: 10px;
  font-size: 1.1em;
}
h2::after {
  content: "";
  flex: 1;          /* 余った幅すべてを横線にする */
  height: 1px;      /* 線の太さ */
  background: #333; /* 線の色 */
}
h3 {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 1.1em;
  text-align: center;
}
p {
  padding-bottom: 1em;
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
}
li {
  list-style: none;
}

/*　スマホのみ強制改行　*/
.sp {
  display: none;
}

.flex-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.item {
  width: 48%;
  text-align: left;
}
.item img {
  width: 100%;
}

/* ページのトップへ */
.reserve {
  height: 100px;
  width: 100px;
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: #333;
  color: #fff;
  font-size: 150%;
  border-radius: 50%;
  box-shadow: 0 0 10px #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

/* ハンバーガーメニュー */
.hamburger {
  visibility: hidden;
  display: none;
  z-index: 10;
}

/* グーグルマップ */
iframe {
  width: 100%;
  aspect-ratio: 16/9;
}

/*
中身のコンテンツの最大幅を設定し、共通で使用
*/
.wrapper {
  max-width: 1000px;
  margin: 5%;
  padding: 3% 3%;
  background-color: #fff;
}

/* ギャラリー */
.wrapper_photo {
  max-width: 1000px;
  margin: auto;
}

.gallery {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

/* PC: 3列 */
@media (min-width: 768px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* スマホ: 2列 */
@media (max-width: 767px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery img {
  width: 100%;
  object-fit: cover;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.3s;
}
.gallery img:hover {
  opacity: 0.8;
}

/* モーダル */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 40px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: white;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: black;
  font-size: 40px;
  cursor: pointer;
  font-weight: bold;
}

/*-------------------------------------------
ヘッダー
-------------------------------------------*/
.container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* 丸角背景をflexで左右並べに */
.rounded-box {
  background: #d3bca9;
  border-radius: 120px;
  padding: 40px 50px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  box-sizing: border-box;
}

/* 左側メインコンテンツ */
.rounded-box > p {
  flex: 1 1 0;
  margin: 0;
  padding-right: 40px; /* 右側メニューとの隙間 */
  font-size: 1.1rem;
  line-height: 1.5;
  color: white;
  max-width: 800px;
}

/* メニューは右寄せ固定幅 */
.gnav {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 200px;
}

.gnav li {
  margin-bottom: 20px;
}

.gnav a {
  display: inline-block; /* 横幅は文字幅＋paddingに */
  padding: 5px 10px; /* 内側余白 */
  border-radius: 20px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}

.gnav a:hover {
  background-color: #7e6951;
  color: #fff;
}

/*-------------------------------------------
ロゴ部分
-------------------------------------------*/
.logo-pc {
  display: inline-block;
}

.logo-sp {
  display: none;
}

/*-------------------------------------------
装飾
-------------------------------------------*/
*{
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}
a{
  text-decoration: none;
}

/*-------------------------------------------
COCOYOとは
-------------------------------------------*/
#about {
  margin-bottom: 10px; /* 箇条書き同士の余白 */
  text-align: center;
  line-height: 1.8;  /* 行間（1.6〜2.0あたりが見やすい） */
}

/*-------------------------------------------
設備・サービス
-------------------------------------------*/
#service .flex-item {
  display: block;
  align-items: ;
}
table tr th {
  width: 120px;
  font-weight: normal;
  text-align: right;
  vertical-align: top;
  padding: 10px 0 10px 0;
}
table tr td {
  text-align: left;
  padding: 10px 0 10px 0;
}

/*-------------------------------------------
注意事項
-------------------------------------------*/
#note .wrapper {
  border: 5px double black; /* 細い囲み線（色はお好みで） */
  padding: 30px 50px;        /* 内側に余白 */
}
#note h1 {
  text-align: center;
}
#note li {
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 10px; /* 箇条書き同士の余白 */
  margin-left: 30px;
  line-height: 1.8;  /* 行間（1.6〜2.0あたりが見やすい） */
  list-style: disc;
}
/*-------------------------------------------
特定商取引についての表記
-------------------------------------------*/
#report table tr th {
  width: 180px;
}
#report li {
  font-size: 80%;
}

/*-------------------------------------------
フッター
-------------------------------------------*/
#footer {
  margin: 0 auto;
  padding-top: 20px;
  color: white;
  font-size: 0.750rem;
  text-align: center;
  background-color:black;
}
#footer .flex-item {
  flex-direction: column;
  padding-top: 30px;
  padding-bottom: 30px;
}
#footer .copyright {
  text-align: center;
  padding: 20px 0;
}
#footer .tel-number a {
  color:white;
  text-decoration:none;
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 767px) {
  body {
    margin: 0;
  }
  #header {
    margin-top: 0
  }
  .hamburger {
    visibility: visible;
    display: contents;
  }
  .hamburger img {
    margin-top: 20px;
    margin-bottom: 10px;
  }
  .flex-item {
    display: block;
  }
  .item {
    width: 100%;
    text-align: center;
  }
  .item img {
    width: 100%;
  }


  nav .gnav{
    display: none;
  }

  section {
    margin-top: 20px;
  }
  
  /*-------------------------------------------
  画像切り替え用アニメーション
  -------------------------------------------*/
  .container{
    top: 0;
    max-height: 550px;
    max-width: 720px;
  }

  /*-------------------------------------------
  ロゴ部分
  -------------------------------------------*/
  .rounded-box {
    border-radius: 50px;
  }
  .rounded-box > p {
    padding-right: 0; /* 右側メニューとの隙間 */
  } 

  .logo-pc {
    display: none;
  }
  .logo-sp {
    display: inline-block;
    max-width: 100%;
    height: auto;
  }

    /*-------------------------------------------
    ページのトップへ
    -------------------------------------------*/

  .pagetop {
    right: 5%;
    bottom: 10%;
  }

  /*-------------------------------------------
  注意事項
  -------------------------------------------*/
  #note li {
    margin-left: 15px;
  }

  /*-------------------------------------------
  フッター
  -------------------------------------------*/
  #footer .flex-item {
    flex-direction: column;
    padding-top: 30px;
    padding-bottom: 30px;
  }
  #footer .item {
    width: 100%;
    margin-bottom: 30px;
  }
  #footer .item:first-child {
    text-align: center;
    padding: 0;
  }
  /*　スマホのみ強制改行　*/
  .sp {
    display: block;
  }
}

