@charset "utf-8";

body {
  font-family: 'Catamaran','Noto Sans JP',sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #2c2c2c;
  background-image: url(../images/Gemini_Generated_Image_jo2fykjo2fykjo2f.jpg);
}
img {
  max-width: 100%;
}
.gMenu .menu-btn {
  display: none;
}

/* メニューアイコンも非表示にする */
.gMenu .menu-icon {
  display: none;
}

/* ナビゲーションを上部に固定 */
.gMenu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  background-color: rgba(255, 255, 255, 0.9); /* 背景を設定 */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 固定ナビゲーションの影 */
}

/* メニューリストのデザイン */
.gMenu .menu {
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: none; /* 高さ制限を解除 */
  transition: none; /* アニメーション解除 */
}

/* メニュー項目のスタイル */
.gMenu .menu li {
  display: inline-block; /* 横並びにする */
}
.gMenu .menu li a {
  padding: 16px 24px; /* 余白調整 */
  color: #333;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
}
.gMenu .menu li a:hover {
  color:#70f041; /* ホバー時の背景色 */
}
.topPage header {
  height: 90vh;
  background: url(../images/top_bg.jpg) no-repeat center top/cover;
  padding-top: 50px;
  margin-bottom: 64px;
}

.topPage header h1 {
  text-align: center;
}
.linkList {
  padding: 0 20px;
}
.linkList li {
  margin-bottom: 40px;
}
.linkList li a {
  display: block;
  background-color: #f5f5f5;
}
.linkList li a span {
  display: block;
  padding: 12px 15px 10px;
  font-size: 18px;
}
.linkList li a:hover {
  filter: sepia(105%);
}
/* サブページの設定 */
.subPage header {
  border-top: 14px solid #f5f5f5;
  padding-top: 40px;
  margin-bottom: 30px;
}
.subPage header h1 {
  text-align: center;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.subPage header h1 span {
  background-image: linear-gradient(135deg,#eaf433 0%,#70f041 100%);
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  color: transparent;
}
.subPage h2 {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  letter-spacing: .17em;
  margin-bottom: 10px;
}
.subPage .lead {
  text-align: center;
  margin-bottom: 30px;
  font-size: 11px;
  letter-spacing: .05em;
  line-height: 2;
}
.subPage h3 {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
}
.subPage main {
  padding: 0 20px;
}

footer p img {
  width: 188px;
  transform: translateY(-28px);
}
/* コンセプトページ */
.conceptDetailSec p img {
  height: 180px;
  width: 100%;
  object-fit: cover;
  object-position: center 90%;
}
.conceptDetailSec .text {
  font-size: 12px;
  line-height: 1.78;
}
.conceptDetailSec {
  margin-bottom: 50px;
}
.conceptDetailSec .photo {
  margin-bottom: 14px;
}
/* メニューページ */
.menuList {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.menuList li {
  flex-basis: 42%;
  margin-bottom: 28px;
}
.menuList li img {
  filter: drop-shadow(1px 2px 3px #dddddd);
}
.menuList li {
  width: 150px; /* リストアイテムの幅を固定 */
  height: 150px; /* 高さも固定 */
  overflow: hidden; /* 画像がはみ出た場合にカットする */
  display: flex; /* 中央寄せ用 */
  justify-content: center;
  align-items: center;
}

.menuList img {
  width: 100%; 
  height: 100%;
  object-fit: cover; /* アスペクト比を保ちながら収める */
}

.menuDetailSec {
  margin-bottom: 50px;
}
.menusub {
  text-align: center;
  padding-top: 100px;
  line-height: 3em;
  margin-bottom: 100px;
  font-size: large;
}
/* インフォページ */
.map iframe {
  width: 100%;
  height: 240px;
  margin-bottom: 8px;
}
.map {
  font-size: 12px;
  margin-bottom: 60px;
}
.photoGarelly {
  display: grid;
  grid-template-rows: 40vw 30vw 30vw 40vw 40vw;
  grid-template-columns: 50% 50%;
}
.item01 {
  grid-row-start: 1;
  grid-row-end: 2;
  grid-column-start: 1;
  grid-column-end: 3;
}
.item02 {
  grid-row: 2 / 4;
  grid-column: 1 / 2;
}
.item03 {
  grid-row: 2 / 3;
  grid-column: 2 / 3;
}
.item04 {
  grid-row: 3 / 4;
  grid-column: 2 / 3;
}
.item05 {
  grid-row: 4 / 5;
  grid-column: 1 / 3;
}
.item06 {
  grid-row: 5 / 6;
  grid-column: 1 / 2;
}
.item07 {
  grid-row: 5 / 6;
  grid-column: 2 / 3;
}
.photoGarelly li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 920px以上のとき */
@media screen and (min-width: 920px) {
  .topPage {
    display: flex;
  }
  .topPage header {
    flex-basis: 38%;
  }
  .topPage main {
    flex-basis: 62%;
  }
  .linkList {
    display: flex;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
    justify-content: space-around;
  }
  .linkList li {
    flex-basis: 47%;
    margin-bottom: 20px;
  }
  .linkList::before {
    content: "";
    width: 47%;
    background: url(../images/ogp.png) no-repeat center center/72%;
  }
  .topPage main {
    display: flex;
    align-items: center;
  }
  .topPage header {
    height: 100vh;
    margin-bottom: 0;
  }
  .subPage main {
    max-width: 1280px;
    margin: 0 auto;
  }
  .subPage header h1 {
    font-size: 60px;
  }
  .onlySP {
    display: none;
  }
  .subPage h2 {
    font-size: 34px;
    margin-bottom: 36px;
  }
  .subPage .lead {
    font-size: 18px;
    margin-bottom: 160px;
  }
  .subPage h3 {
    font-size: 50px;
    margin-bottom: 40px;
  }
  .conceptDetailSec {
    display: grid;
    grid-template-rows: 360px 360px;
    grid-template-columns: 40% 60%;
  }
  .conceptDetailSec h3 {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
  }
  .conceptDetailSec .photo {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
  }
  .conceptDetailSec .text {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
  }
  .conceptDetailSec .photo img {
    height: 720px;
  }
  .conceptDetailSec h3 {
    align-self: end;
  }
  .conceptDetailSec .text {
    text-align: center;
    font-size: 16px;
  }
  .reverse {
    grid-template-columns: 60% 40%;
  }
  .reverse h3 {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
  }
  .reverse .photo {
    grid-row: 1 / 3;
    grid-column: 2 / 3;
  }
  .reverse .text {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
  }
  .menuList li {
    flex-basis: 22%;
    margin-bottom: 0;
  }
  .menuDetailSec {
    margin-bottom: 160px;
  }
  .photoGarelly {
    grid-template-rows: 175px 175px 290px;
    grid-template-columns: 50% 20% 30%;
  }
  .item01 {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
  }
  .item02 {
    grid-row: 1 / 3;
    grid-column: 2 / 3;
  }
  .item03 {
    grid-row: 1 / 2;
    grid-column: 3 / 4;
  }
  .item04 {
    grid-row: 2 / 3;
    grid-column: 3 / 4;
  }
  .item05 {
    grid-row: 3 / 4;
    grid-column: 1 / 2;
  }
  .item06 {
    grid-row: 3 / 4;
    grid-column: 2 / 3;
  }
  .item07 {
    grid-row: 3 / 4;
    grid-column: 3 / 4;
  }
}

/* 920px以下のとき */
@media screen and (max-width: 920px) {
  .gMenu {
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 99;
  }

  /* ハンバーガーメニューアイコン */
  .gMenu .menu-icon {
    cursor: pointer;
    display: block; /* アイコンを表示 */
    position: absolute;
    right: 10px;
    top: 12px;
    height: 24px; /* アイコンの高さ */
  }

  .gMenu .menu-icon .navicon {
    background: #ffc107; /* アイコンの色 */
    display: block;
    height: 2px; /* 太さ */
    width: 31px; /* 長さ */
    position: relative;
    transition: background .4s ease-out;
  }

  .gMenu .menu-icon .navicon::before,
  .gMenu .menu-icon .navicon::after {
    background: #ffc107; /* アイコンの色 */
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    width: 100%;
    transition: all .4s ease-out;
  }
  .gMenu .menu-icon .navicon::before {top: -10px;} /* 上の線 */
  .gMenu .menu-icon .navicon::after {top: 10px;} /* 下の線 */

  /* メニューの初期状態 */
  .gMenu .menu {
    display: none; /* 初期状態は非表示 */
    background-color: rgba(255, 255, 255, 0.9);
    overflow: hidden;
    max-height: 0;
    transition: max-height .6s;
    text-align: center;
    flex-direction: column; /* 縦並び */
  }

  /* チェックボックスがオンのとき */
  .gMenu .menu-btn:checked ~ .menu {
    display: flex; /* メニューを表示 */
    max-height: 338px; /* 表示時の高さ */
    transition: max-height .6s;
  }

  /* メニュー項目のスタイル */
  .gMenu .menu li {
    display: block; /* 縦並び */
    text-align: center; /* 中央寄せ */
  }
  .gMenu .menu li a {
    padding: 16px 20px;
    text-decoration: none;
    display: block;
    color: #333;
  }
  .gMenu .menu li a:hover {
    background-color: #f4f4f4;
  }

  /* ハンバーガーメニューアイコンの状態 */
  .gMenu .menu-btn:checked ~ .menu-icon .navicon {background: transparent;} /* 中央線を非表示 */
  .gMenu .menu-btn:checked ~ .menu-icon .navicon::before {transform: rotate(-45deg); top: 0;} /* 左上 */
  .gMenu .menu-btn:checked ~ .menu-icon .navicon::after {transform: rotate(45deg); top: 0;} /* 右上 */
}
/* 初期状態: 不透明で少し下に位置 */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* 表示されたときの状態 */
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
#typing-text {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #000; /* カーソルのような効果 */
  animation: blink 0.8s step-end infinite;
}
#typing-text {
  display: block;
  text-align: center; /* 文字を中央揃え */
  margin: 0 auto; /* 要素を中央に配置 */
}

/* 文字のアニメーション */
/* カーソルの点滅 */
@keyframes blink {
  from, to {
    border-color: transparent;
  }
  50% {
    border-color: black;
  }
}


