@charset "UTF-8";

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: #FDFBF7;
  font-family: 'Zen Old Mincho', 'Lavishly Yours', serif;
  padding-top: 80px;
}

img {
  max-width: 100%;
  vertical-align: bottom;
  object-fit: cover;
}

a {
  display: inline-block;
  text-decoration: none;
  color: #4a4a4a;
}

li {
  list-style: none;
}

/* wrapper */
.wrapper {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1001;
  background: #40A6A3;
  display: flex;
  justify-content: center;
  /* ロゴを中央に配置 */
  align-items: center;
  padding: 0 20px;
}

.header .site-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  font-size: 18px;
  z-index: 100;
}

.header .site-title p {
  color: #FFF;
  font-size: 12px;
}

.hamburger {
  width: 80px;
  height: 80px;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 30;
  cursor: pointer;
  transition: 0.3s;
}

.hamburger:hover {
  opacity: 0.7;
}

/* ハンバーガーメニューの線の設定（メニューが閉じている時） */
.hamburger span {
  width: 50%;
  height: 2px;
  background: #fff;
  position: absolute;
  left: 25%;
  transition: 0.3s;
}

/* 1本目の線の位置を設定 */
.hamburger span:nth-child(1) {
  top: 36%;
}

/* 2本目の線の位置を設定 */
.hamburger span:nth-child(2) {
  top: 50%;
}

/* 3本目の線の位置を設定 */
.hamburger span:nth-child(3) {
  top: 64%;
}

/*
メニューの設定
最初は閉じている状態なので、「opacity: 0;」「visibility: hidden;」
で要素を非表示にしておく
*/
#navi {
  width: 100%;
  height: 100vh;
  background-color: #40A6A3;
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  text-align: center;
  transition: all 0.6s ease;
  opacity: 0;
  visibility: hidden;
}

/* 
ハンバーガーメニューがクリックされた際に、jQueryでheaderにopenクラスを追加して、
メニューを表示させる。
*/

.open #navi {
  opacity: 1;
  visibility: visible;
}

#navi .menu {
  margin: 120px 0 40px;
}

#navi .menu li {
  margin-bottom: 20px;
}

#navi .menu a {
  color: #fff;
}

.open .hamburger span:nth-child(1) {
  transform: rotate(45deg);
  top: 50%;
}

.open .hamburger span:nth-child(2) {
  opacity: 0;
}

.open .hamburger span:nth-child(3) {
  transform: rotate(-45deg);
  top: 50%;
}

/* mainvisual */
.mainvisual {
  position: relative;
  margin-bottom: 100px;
  height: calc(100vh - 80px);
}

.mainvisual img {
  width: 100%;
  height: 100%;
}

.mainvisual .title {
  position: absolute;
  top: 55px;
  left: 95px;
  color: #4a4a4a;
  font-size: 20px;
  background-color: #fff;
  box-shadow: 0px 0px 43px 43px rgb(255, 255, 255);
  padding: 20px 100px;
  border-radius: 50%;
}

.mainvisual .title .name {
  font-size: 70px;
  font-family: Lavishly Yours;
  line-height: 90px;
}

.mainvisual .profile-btn {
  width: 500px;
  height: 70px;
  position: absolute;
  bottom: 70px;
  right: 40px;
  text-align: center;
  background-color: #FDFBF7;
  color: #4a4a4a;
  box-shadow: 0px 0px 43px 43px rgb(255, 255, 255);
  border-radius: 50%;
  font-size: 25px;
  line-height: 70px;
}

.mainvisual .fade li {
  width: 100%;
  position: absolute;
  top: 0;
  right: 0;
  /* 最初は3枚の画像を非表示にしておく */
  opacity: 0;
  animation: fade 15s infinite;
}

.mainvisual .fade li:nth-child(1) {
  animation-delay: 0s;
}

.mainvisual .fade li:nth-child(2) {
  animation-delay: 5s;
}

.mainvisual .fade li:nth-child(3) {
  animation-delay: 10s;
}

.mainvisual .fade li img {
  height: calc(100vh - 80px);
}

@keyframes fade {
  0% {
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  30% {
    opacity: 1;
  }

  45% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

/* section title */
.sec-title {
  color: #40A6A3;
  font-size: 20px;
  letter-spacing: 5%;
  margin-bottom: 20px;
  text-align: left;
}

.sec-title p {
  font-size: 12px;
}

/* view more (btn) */
.btn {
  width: 120px;
  border-bottom: 1px solid #40A6A3;
  margin-top: 30px;
  text-align: center;
  font-size: 25px;
  color: #40A6A3;
}

/* book */
#books {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  margin-bottom: 100px;
  padding: 0 20px;
}

#books .slick-area {
  width: 85%;
}

#books .slick-area li {
  padding-inline: 10px;
}

#books .text {
  width: 15%;
  padding-left: 20px;
}

/* news */
#news {
  padding: 0 20px;
  margin-bottom: 100px;
  display: flex;
  align-items: center;
  gap: 20px;
}

#news .news-list li {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

#news .news-list li time {
  font-size: 12px;
  padding-right: 20px;
}


/* gallery */
#gallery {
  padding: 0 20px;
  margin-bottom: 100px;
  text-align: center;
}

#gallery .img-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px;
}

/* workshop */
#workshop {
  padding: 0 20px;
  margin-bottom: 100px;
  text-align: center;
}

.items {
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.items .item-text {
  height: 200px;
  background-color: #ADE1DB;
  color: #4a4a4a;
  border-radius: 0 0 20px 20px;
  text-align: center;
}

.items .item-text .item-title {
  padding: 20px 0 15px;
  font-size: 24px;
}

.items .item-text p {
  line-height: 2;
}

.items .item-left,
.item-right {
  width: 45%;
}

.items .item-left img,
.item-right img {
  width: 100%;
}

/* blog */
#blog {
  padding: 0 20px;
  margin-bottom: 100px;
}

#blog .items {
  display: flex;
  text-align: center;
  align-items: center;
}

#blog .item {
  width: 50%;
}

#blog .items p {
  line-height: 2;
  color: #40A6A3;
}

#blog .items img {
  width: 50%;
  padding-left: 20px;
}

#blog .item .btn-blog {
  width: 150px;
  border-bottom: 1px solid #40A6A3;
  margin-top: 30px;
  font-size: 20px;
  color: #40A6A3;
}

/* online shop */
#onlineshop {
  margin-bottom: 100px;
  background-color: #ADE1DB;
  padding: 120px 0;
  text-align: center;
}

#onlineshop .title {
  color: #4a4a4a;
  font-size: 2.25rem;
  margin-bottom: 30px;
}

#onlineshop .text {
  color: #4a4a4a;
  line-height: 2;
}

/* footer */
.footer {
  background-color: #40A6A3;
}

.footer .wrapper {
  padding: 80px 20px 60px;
  display: flex;
  justify-content: space-between;
}

.footer .wrapper .footer-logo {
  width: 50%;
  display: flex;
  align-items: center;
}

.footer .wrapper .footer-menu {
  width: 50%;
}

.footer .wrapper ul {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  margin-bottom: 30px;
  height: 50%;
}

.footer .wrapper .footer-menu li {
  margin-bottom: 15px;
}

.footer .wrapper .footer-menu a {
  color: #fff;
}

.footer .sns {
  display: flex;
  color: #fff;
}

.footer .sns p {
  width: 50%;
}

.copyright {
  font-size: 0.75rem;
  color: #fff;
  text-align: center;
  padding-bottom: 10px;
}


/*-------------------------------------------
下層ページ
-------------------------------------------*/

.page-title {
  color: #4a4a4a;
  font-size: 20px;
  letter-spacing: 3px;
  margin: 40px 0;
  text-align: center;
}

.page-title p {
  font-size: 10px;
}

.content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  justify-content: space-between;
  margin-bottom: 120px;
  align-items: center;
}

.books-item {
  padding-bottom: 30px;
}

.books-item:hover {
  opacity: 0.7;
  transition: 0.7s;
}

.profile {
  color: #4a4a4a;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.profile .item-left {
  text-align: center;
}

.profile .item-left h2 {
  font-size: 35px;
  letter-spacing: 5px;
}

.profile .item-left span {
  font-size: 15px;
  letter-spacing: 3px;
  padding: 0 30px;
  position: relative;
}

.profile .item-left span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  /* 線の長さ */
  height: 1px;
  /* 線の太さ */
  background-color: #4a4a4a;
  transform: translateY(-50%);
}

.profile .item-left span::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 20px;
  /* 線の長さ */
  height: 1px;
  /* 線の太さ */
  background-color: #4a4a4a;
  transform: translateY(-50%);
}

.profile .item-left p {
  margin: 5px 0;
}

.profile .item-left img {
  padding: 20px;
}


.profile .item-right {
  width: 100%;
  line-height: 2;
}


.gallery-item {
  text-align: center;
}

.workshop {
  margin-bottom: 100px;
}

.title-list {
  width: 500px;
  margin: 0 auto;
}

.title-list ul {
  display: flex;
  justify-content: space-between;
  font-size: 20px;
}

.title-list li {
  padding-bottom: 5px;
  border-bottom: 1px solid #40A6A3;
}

.workshop-content {
  text-align: center;
  scroll-margin-top: 80px;
}

.content-title {
  display: inline-block;
  font-size: 24px;
  padding-bottom: 15px;
  border-bottom: 1px solid #40A6A3;
  margin: 70px 0 25px;
}

.workshop-content .text {
  max-width: 700px;
  margin: 0 auto;
  line-height: 2;
  font-size: 14px;
}

.workshop-content .text p {
  margin-bottom: 25px;
}

.workshop-content .images {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.workshop-content .images .item {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.workshop-content .images .item span {
  font-size: 12px;
  margin: 5px;
}

.news-list {
  margin-bottom: 100px;
}

.news-list li a {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 15px 0;
  border-bottom: 1px solid #40A6A3;
  margin: 10px 0;
}

.news-list li a time {
  font-size: 12px;
  margin-right: 40px;
}

.book {
  margin-bottom: 100px;
  text-align: center;
}

.book .img {
  width: 80%;
  margin: 0 auto;
  background-color: #ADE1DB;
  text-align: center;
}

.book-table {
  width: 80%;
  margin: 0 auto;
  padding-top: 40px;
}

.book .book-text {
  max-width: 500px;
  margin: 0 auto;
  padding: 40px 0;
}

.book .book-text .heading {
  font-size: 24px;
  margin-bottom: 20px;
}

.book .book-text p {
  margin-bottom: 30px;
  font-size: 14px;
  line-height: 2;
}

.book .book-img {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.book .btn {
  width: 150px;
  font-size: 20px;
  padding-bottom: 12px;
  color: #4a4a4a;
  border-bottom: 1px solid #4a4a4a;
}

.article {
  text-align: center;
  margin-bottom: 100px;
}

.article-title {
  display: inline-block;
}

.article-title time {
  font-size: 12px;
}

.article-title h3 {
  margin: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #40A6A3;
}

.article-text {
  margin: 30px auto;
  width: 550px;
  line-height: 2;
}

.article .img-list {
  width: 850px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}


/* responsive */
@media (max-width:800px) {

  .mainvisual .title {
    display: none;
  }

  .mainvisual .profile-btn {
    width: 50%;
    height: 10%;
    font-size: 20px;
  }

  .btn {
    margin-top: 20px;
  }

  #books .slick-area {
    width: 50%;
  }

  #books .text {
    width: 50%;
    padding-left: 20px;
    text-align: center;
  }

  #books .text .sec-title {
    text-align: center;
  }

  #news {
    flex-direction: column;
    margin-bottom: 50px;
  }

  #news .text {
    text-align: center;
  }

  .news-list li a {
    text-align: left;
  }

  #news .text .news-list {
    margin-bottom: 30px;
  }

  #gallery {
    margin-bottom: 50px;
  }

  #gallery .img-list {
    grid-template-columns: 1fr 1fr;
  }

  #workshop {
    margin-bottom: 50px;
    height: auto;
  }

  .items {
    flex-direction: column;
    align-items: center;
  }

  .items .item-left,
  .item-right {
    width: 100%;
  }

  .items .item-text .item-title {
    font-size: 20px;
  }

  .items .item-text p {
    font-size: 14px;
  }

  #blog .items {
    flex-direction: column;
  }

  #blog .items img {
    padding-left: 0;
  }

  .content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .profile {
    grid-template-columns: 1fr;
  }

  .profile .item-right {
    margin: 0 20px;
  }

  .workshop-content .images {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .article .img-list {
    grid-template-columns: 1fr;
  }

  .footer .wrapper .footer-logo {
    flex-direction: column;
  }

  .footer .wrapper .footer-menu a {
    font-size: 14px;
  }

}