@charset "utf-8";

/* 共通レイアウトはここから */

body {
  background-color: #f3eed6;
  font-family: "Kaisei Opti", serif;
}

img {
  width: 100%;
}

header {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  margin-top: 10px;
}

header>a {
  grid-column: 1/3;
  grid-row: 1/2;
  justify-self: center;
  width: 25%;
  z-index: 99;
  font-size: 0.8rem;
}

.nav {
  grid-column: 1/3;
  grid-row: 1/2;
}

h2 {
  text-align: center;
  margin: 30px 0;
  font-size: 25px;
}

h3 {
  text-align: center;
  padding: 0 15px;
  margin-bottom: 40px;
  font-size: 0.9rem;
  line-height: 1.7;
}


/* ハンバーガーメニューここから */

.drawer_hidden {
  display: none;
}

/* ハンバーガーアイコンの設置スペース */
.drawer_open {
  display: flex;
  align-items: center;
  justify-self: end;
  height: 60px;
  width: 45px;
  padding: 10px;
  position: relative;
  z-index: 100;
  cursor: pointer;
}

/* ハンバーガーメニューのアイコン */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
  content: '';
  display: block;
  height: 2px;
  width: 22px;
  border-radius: 3px;
  background: #946134;
  transition: 0.5s;
  position: absolute;
}

/* 三本線の一番上の棒の位置調整 */
.drawer_open span:before {
  bottom: 8px;
}

/* 三本線の一番下の棒の位置調整 */
.drawer_open span:after {
  top: 8px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer_input:checked~.drawer_open span {
  background: rgba(255, 255, 255, 0);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer_input:checked~.drawer_open span::before {
  bottom: 0;
  transform: rotate(45deg);
}

#drawer_input:checked~.drawer_open span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* メニューのデザイン*/
.nav_content {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 100%;
  z-index: 99;
  background-color: rgba(255, 255, 255, 0.85);
  transition: 0.5s;
  padding: 30px 0 0 20px;
}

.nav_content ul li {
  padding-top: 20px;
  color: #42210b;
}

.nav_content ul li:hover{
  font-weight: bold;
  transition : 0.7s;
}

.nav_content ul li a {
  display: flex;
  flex-direction: column;
}

.ja {
  font-size: 10px;
}

/* アイコンがクリックされたらメニューを表示 */
#drawer_input:checked~.nav_content {
  left: 50%;
  /* メニューを画面に入れる */
}

/* ハンバーガーメニューここまで */

footer {
  margin-top: 30px;
  padding: 10px 0;
  background-color: #c7b299;
  background-image: url(../images/footer.png);
  background-repeat: no-repeat;
  background-position: left;
  background-size: 25%;
}

footer p {
  text-align: center;
  font-size: 0.5rem;
}

.footer_logo p img {
  width: 20%;
}

footer span {
  display: block;
  width: fit-content;
  font-size: 0.5rem;
  margin: 10px auto;
  text-decoration: underline;
  text-underline-position: under;
}

footer span img {
  width: 1.3rem;
  height: 1.3rem;
}

/* 共通レイアウトはここまで */

/* HOMEはここから */

#home {
  background-image: url(../images/mb_top.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top center;
  aspect-ratio: 1/1.1;
  position: relative;
  margin: 50px 0;
}

.table,
.marth,
.yayoi,
.teavel {
  position: absolute;
}

.table {
  width: 80%;
  top: -6%;
  left: 3%;
}

.yayoi {
  width: 45%;
  bottom: 15%;
  left: 15%;
}

.marth {
  width: 45%;
  top: 25%;
  right: 10%;
  rotate: 10deg;
}

.teavel {
  width: 22%;
  right: 25%;
  bottom: 2%;
}

.fade-in-image {
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 1s ease-out, transform 2s ease-out;
  transition-delay: calc(var(--delay) * 0.6s);
}

.fade-in-image.visible {
  opacity: 1;
  transform: translateY(0);
}

.book label input {
  display: none;
}

.menu {
  display: none;
}

.thema {
  font-size: 1rem;
  color: #42210b;
  text-align: center;
  margin: 5px 0 30px;
  line-height: 1.3;
}

.thema:hover{
  font-weight: bold;
  transition : 0.5s;
}

.click{
  display: none;
}

.page img {
  box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
}

/* HOMEはここまで */

/* STORYはここから */

.story-image {
  text-align: center;
}

.web {
  display: none;
}

.contents {
  text-align: center;
  padding: 35px 0 0;
  line-height: 1.5;
  font-size: 1.2rem;
}

.pic {
  text-align: right;
}

#story {
  position: relative;
  padding: 0 40px;
  margin-bottom: 70px;
}

.story-marth {
  width: 50%;
}

.story-yayoi {
  width: 50%;
}

.story-teavel {
  width: 7rem;
  margin-top: 20px;
}

/* STORYはここまで */

/* TEATRAVELはここから */

.list {
  display: flex;
  align-items: stretch;
}

.sweets {
  padding-right: 10px;
  margin-bottom: 20px;
  width: 95%;
}

h5 {
  font-size: 1rem;
  padding: 15px 0 5px;
}

.tea {
  padding-left: 10px;
  margin-bottom: 20px;
  width: 95%;
}

.sweets p,
.tea p {
  font-size: 0.7rem;
  padding: 10px 0;
}

.tea img,.sweet img {
  aspect-ratio: 1.5/1;
  object-fit: cover;
}

.modal_title {
  font-size: 1.7rem;
}

/*--------------------------------------
  モーダル表示
--------------------------------------*/
.modal_wrap input {
  display: none;
}

.modal_overlay {
  display: flex;
  justify-content: center;
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.5s, transform 0s 0.5s;
  transform: scale(0);
}

.modal_trigger {
  position: absolute;
  width: 100%;
  height: 100%;
}

.modal_content {
  align-self: center;
  width: 95%;
  height: fit-content;
  padding: 30px 15px 10px;
  box-sizing: border-box;
  background: #fff;
  line-height: 1.2em;
  transition: 0.5s;
}

.modal_content p {
  padding-top: 0;
}

.close_button {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 24px;
  cursor: pointer;
}

.modal_wrap input:checked~.modal_overlay {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.5s;
}

.modal_wrap input:checked~.modal_overlay .modal_content {
  transform: translateY(15px);
}

.open_button {
  color: #42210b;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s;
  display: block;
  padding: 5px;
  width: fit-content;
  text-decoration: underline;
}

.open_button:hover {
  opacity: 0.5;
}

.open-button:active {
  /*ボタンを押したとき*/
  -webkit-transform: translateY(1.5px);
  transform: translateY(1.5px);
  /*下に動く*/
}

/*アイコンを表示*/
.open-button:after {
  font-family: "Font Awesome 5 Free";
  content: "\f2d0";
  padding-left: 8px;
}

/*ラベルホバー時*/
.open-button:hover {
  color: #FFFFFF;
  background-color: #ffab03;
  transition: .6s;
}

.modal_title {
  position: relative;
  overflow: hidden;
  padding-bottom: 10px;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1.2;
}

.modal_title::before,
.modal_title::after {
  content: "";
  position: absolute;
  bottom: 0;
}

/* h2 プライマリカラー*/
.modal_title:before {
  border-bottom: 4px solid #ffab03;
  width: 100%;
}

/* h2 セカンダリカラー*/
.modal_title:after {
  border-bottom: 4px solid #ffe4c8;
  width: 100%;
}

.next {
  position: absolute;
  bottom: 2%;
  right: 5%;
  font-size: 0.6rem;
  background-color: rgb(224, 196, 160);
}

.prev {
  position: absolute;
  bottom: 2%;
  left: 5%;
  font-size: 0.6rem;
  background-color: rgb(224, 196, 160);
}

.btn {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 85%;
  margin: auto;
}

.flag {
  width: 15%;
}

.btn_contents{
  display: flex;
  align-items: center;
}

.btn_contents,.btn_contents_europe{
  margin: 20px 0 20px 10px;
}

/* TEATRAVELはここまで */

/* EVENT・NEWSはここから */

#events div {
  margin-top: 30px;
}

figure {
  padding: 0 35px;
}

figure img {
  aspect-ratio: 1.5/1;
  object-fit: cover;
  border-radius: 50%;
}

.fig {
  box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
}

h4 {
  text-align: center;
  font-size: 20px;
  margin-bottom: 10px;
}

figcaption {
  padding: 15px 15px 0;
  font-size: 0.8rem;
}

.news-contents {
  padding: 0 15px;
}

.news-contents li {
  padding-bottom: 8px;
  font-size: 0.7rem;
  display: flex;
  flex-direction: column;
}

time {
  padding: 0 12px 5px 0px;
}

/* EVENT・NEWSはここまで */
/* INFOはここから */

.location {
  width: 95%;
  margin: auto;
}

iframe {
  width: 100%;
}

.location-info {
  padding: 0 10px 0 20px;
}

.location-info h4 {
  text-align: left;
  padding: 10px 10px 0 0;
}

th {
  font-weight: normal;
  padding: 10px 10px 10px 0;
}

td {
  padding: 10px 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 0 10px;
}

.pic1,
.pic4,
.pic5,
.pic6 {
  height: 100%;
}

.pic3 {
  grid-row: 2/4;
}

.pic4 {
  grid-column: 2/3;
  grid-row: 2/3;
}

.pic5 {
  grid-column: 2/3;
  grid-row: 3/4;
}

/* INFOはここまで */
/* CONTACTはここから */


.Form {
  width: 85%;
  margin: 40px auto 0;
}

.Form-Item {
  border-top: 1px solid #ddd;
  padding: 24px 0;
  width: 100%;
}

.Form-Item:nth-child(5) {
  border-bottom: 1px solid #ddd;
}
.Form-Item-Label {
  width: 100%;
  letter-spacing: 0.05em;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 20px;
}

.Form-Item-Label.isMsg {
 margin-bottom: 20px;
}

.Form-Item-Label-Required {
  border-radius: 6px;
  margin-right: 8px;
  padding: 10px 15px;
  display: inline-block;
  text-align: center;
  background:  rgb(231, 200, 159);
  color: #42210b;
  font-size: 11px;
}

.Form-Item-Input {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding-left: 1em;
  padding-right: 1em;
  height: 48px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #eaedf2;
  font-size: 16px;
}

.Form-Item-Textarea {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding-left: 1em;
  padding-right: 1em;
  height: 216px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #eaedf2;
  font-size: 16px;
}

.Form-Btn {
  border-radius: 6px;
  margin: 40px auto;
  padding: 15px 30px;
  width: fit-content;
  display: block;
  letter-spacing: 0.05em;
  background: #42210b;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
}

.Form-Btn:hover{
  background: #fff;
  color:#42210b;
  border: 1px solid #42210b;
  transition : 0.5s;
}

/* CONTACTはここまで */