@charset "UTF-8";
/* 全体に適用される設定 */
html {
  font-size: 16px;
  font-family: serif;
}
* {
  box-sizing: border-box;
}
body {
  background-image: url(../images/haikei-re.png);
  background-position: center;
  background-size: contain;
  background-color: #A8D5BA;
  margin: 0;
  font-family:"ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";
}
p,
li,
th,
td {
  color: rgb(90, 90, 90);
  line-height: 1.7;
  text-align: center;
}
a:link {
  font-weight: bolder;
  color: #ffffff;
  text-decoration: none;
}
a:visited {
  color: #ffffff;
  text-decoration: none;
}
a:hover {
  color: #ffffff;
  text-decoration: underline;
}
a:active {
  color: #ffffff;
  text-decoration: underline;
}
img {
  max-width: 100%;
}

/* ヘッダー */
header {
  background-color:  #F6A9A9;
  padding: 40px 0 0 0;
  background-image: url(../images/line.png);
  background-repeat: repeat-x;
}
.logo {
  margin: auto;
  width: 150px;
  height: 150px;
  object-fit: cover;
  display: block;     /* 画像の下の隙間を防ぐ */
  margin-bottom: -70px; /* ロゴとnavの間隔を明示的に設定 */
}
.nav {
  background-color: #A8D5BA;
  display: block;     /* 画像の下の隙間を防ぐ */
  margin-bottom: -21px; /* ロゴとnavの間隔を明示的に設定 */
}
.nav ul {
  list-style-type: none;
  display: flex;
  justify-content: center;
  gap: 40px;
  font-size: 1.3rem;
}
.nav a:link {
  color: #FFFFFF;
}
.nav a:visited {
  color: #FFFFFF;
}
.nav a:hover {
  color: #FFFFFF;
  text-decoration: none;
}
.nav a:active {
  color: #FFFFFF;
  text-decoration: none;
}

/* ヒーロー */
.hero {
  margin-top: -20px;
  padding: 287px 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  color: white;
  text-align: center;
  width: 70%;
  margin: auto;
  border-radius: 10px;
}
.hero.index {
  padding: 200px 0;
  background-image: url(../images/hero-copy.jpg);
}
.hero.rabbit {
  background-image: url(../images/hero-100.jpeg);
}
.hero.contact {
  background-image: url(../images/hero-100.jpeg);
}
.hero-text {
  color: rgb(0, 0, 0);
  text-shadow: 1px 2px 10px #808080;
  text-align: center;
  font-size: 2rem;
}

/* メイン */
main {
  margin: 90px auto 90px auto;
  max-width: 65%;
}
main h2 {
  color: #ffffff;
  text-shadow: 1px 2px 3px #535353;
  border-bottom: 1.5px solid #ffffff;
  margin: 60px 0 20px 0;
  padding: 0 0 5px 0;
  font-size: 1.5rem;
  text-align: center;
}
h3 {
  color: #F6A9A9;
  text-align: center;
}
main img {
  width: 50%;
  height: 300px;
  object-fit: cover;
}
.row {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 40px 0;
}
.row img {
  width: 50%;
  height: auto;
}
.row-text {
  background-color: #ffffff;
  width: 50%;
  border-radius: 10px;
  padding: 2rem;
}
.row-text p {
  text-align: left;
}
.center-text {
  text-align: center;
}
.right {
  text-align: right;
}
#reverse {
  flex-direction: row-reverse;
}
#recommendation a {
  color: #F6A9A9;
}
#recommendation .row-text{
    height: 300px;
}
#guide .row-text{
    height: 300px;
}
#access p {
  text-align: center;
}
#payment {
  text-align: center;
  margin-left: 70px;
  padding: 0;
}
#payment p {
  text-align: center;
}
#payment img {
  height: 300px;
  width: auto;
}
.chart img {
  background-color: #FFFFFF;
  margin: auto;
  text-align: center;
  width: 100%;
  height: 500px;
  object-fit: cover;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* フッター */
.gotop {
  width: 70px;
  height: 70px;
  margin: auto;
  text-align: center;
}
.copyright {
  color: #FFFFFF;
  background-color: #F6A9A9;
  margin-top: 20px;
  margin-bottom: 0px;
  padding-top: 75px;
  padding-bottom: 75px;
  text-align: center;
}

/* 個別のスタイル */
/* index.html */
.shop-info {
  border-collapse: collapse;
  margin: auto;
  width: auto;
}
.shop-info th, .shop-info td {
  border: 3px solid #A8D5BA;
  padding: 20px;
  border-radius: 10px;
}
.shop-info th {
  background-color: #F6E9D7;
  width: 333px;
  text-align: center;
  vertical-align: top;
}
.shop-info td {
  background-color: #ffffff;
}
#contact {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 1rem;
  width: 90%;
  text-align: center;
  margin: auto;
}
#introduction a {
  color: #F6A9A9;
}
#contact a {
  color: #F6A9A9;
}
#rabbit a {
  color: #F6A9A9;
}
.items {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
.item img {
  width: 300px;
  height: 300px;
  border-radius: 10px;
  object-fit: cover;
}
.box {

  border-radius: 10px;
  padding: 2rem;
}
.news li {
  text-align: left;
}

/* contact.html */
form {
  margin: 0;
  max-width: 640px;
  margin: auto;
}
input[type="text"], textarea {
  padding: 6px;
  width: 100%;
  font-size: 1rem;
}
form p {
  text-align: left;
}
textarea {
  height: 140px;
}
.submit {
  text-align: center;
}
input[type="submit"] {
  border: none;
  padding: 20px;
  width: 200px;
  background-color: #F6A9A9;
  color: #FFFFFF;
  font-size: 1rem;
}
body {
  img {
    max-width: 100%;
    height: auto;
    vertical-align: top;
  }
}
@media screen and (max-width: 768px) {
  /* フォントサイズ調整 */
  html {
    font-size: 14px;
  }

  /* ナビゲーション縦積み */
  .nav ul {
    flex-wrap: wrap;
    gap: 20px;
  }

  /* ヒーローセクションの高さ調整 */
  .hero {
    padding: 180px 0;
  }

  .hero-text {
    position: absolute;
    top: 50%;
    left: 60%;
    transform: translate(-40%, -50%);
    padding: 0 1rem;
    text-align: center;
    font-size: 1.5rem;
    width: 100%;
  }

  /* メイン画像とテキストを縦積みに */
  .row {
    flex-direction: column !important; /* 縦並びに */
    align-items: center;
    gap: 20px;
  }

  .row img {
    order: 0; /* 画像を先に */
    width: 100%;
  }

  .row-text {
    order: 1; /* テキストを後に */
    width: 100%;
    text-align: center;
  }

  .row-text p {
    text-align: center;
  }

  /* voicesの余白調整 */
  .voice-entry {
    flex-direction: column;
    align-items: center;
    margin-left: 0;
    text-align: center;
  }

  .voice-entry p {
    margin-left: 0;
  }

  /* ヘッダー画像縮小に対応 */
  header {
    padding: 20px 0;
  }

  /* mainの余白調整 */
  main {
    margin: 40px auto;
    padding: 0 1rem;
  }

  /* フッターの余白調整 */
  .copyright {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

/* アニメ */
.demo_stage {
  margin-top: -50px;
	position: relative;
	width: 100%;
	height: 100px;
	overflow: hidden; /* はみ出した部分を隠す */
}

.demo_wrap {
	position: absolute;
	top: 0;
	left: 0;
	animation: moveRight 15s linear forwards; /* ← ゆっくりに調整（8秒） */
}

.demo_item {
	width: 100px;
	height: 100px;
	background-image: url(../images/usa2.gif);
	background-size: contain;
	background-repeat: no-repeat;
	transform: rotateY(0deg); /* 初期向き */
	transition: transform 0.5s; /* 反転もゆっくり */
}

@keyframes moveRight {
	from { left: 0%; }
	to { left: 90%; }
}

@keyframes moveLeft {
	from { left: 90%; }
	to { left: 0%; }
}