@charset "UTF-8";
/*
Theme Name: Trattoria Fiore
Description: Trattoria Fioreのテンプレートです
Version: 1.0
Author: Noriko
*/

* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  width: 100%;
  background: #f7f6f4;
}

body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.site-id-img {
  width: 200px;
  margin: 20px;
}

.gnav-list {
  list-style: none;
  display: flex;
  justify-content: space-evenly;
  gap: 50px;
  margin: 20px;
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.gnav-list a {
  color: #bb3e00;
  font-weight: bold;
  text-decoration: none;
}

.current {
  color: green;
}

.btn-nav {
  display: none;
}

.header_sp {
  display: none;
  position: fixed;
  z-index: 100;
  top: 30px;
  right: 0;
}

.menu_bt {
  width: 45px;
  height: 42px;
  position: relative;
  cursor: pointer;
  z-index: 0;
}

.menu_bt_inner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  transform: translate(-50%, -50%);
}

.menu-trigger {
  position: relative;
  width: 22px;
  height: 7px;
  cursor: pointer;
}

.menu-trigger,
.menu-trigger span {
  display: inline-block;
  transition: all 0.4s;
  box-sizing: border-box;
}

.menu-trigger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: #bb3e00;
}

.menu-trigger span:nth-child(1) {
  top: 0;
}

.menu-trigger span:nth-child(2) {
  top: 10px;
  display: none;
}

.menu-trigger span:nth-child(3) {
  bottom: 0;
}

.sp-nav {
  display: none;
  z-index: 9;
  position: fixed;
  top: 0;
  left: 0;
  background: white;
  width: 100vw;
  height: 100vh;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 768px) {
  .gnav-list {
    display: none;
  }

  .header_sp {
    display: block;
  }

  .menu-trigger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(4px);
  }

  .menu-trigger.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-trigger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-4px);
  }

  .sp-nav.active {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .sp-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    gap: 50px;
    margin: 20px;
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    width: auto;
    height: 50%;
  }

  .sp-nav-list a {
    text-decoration: none;
    color: #bb3e00;
  }
}

/* page title */
.page-title {
  text-align: center;
  padding: 40px;
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  font-family: "Playfair Display", serif;
  color: #2f5249;
}

@media screen and (max-width: 768px) {
  .page-title {
    padding: 20px;
    font-size: 2rem;
  }
}

/* front page */
/* mv */
.mv {
  display: block;
  margin: 0;
}

.mv .inner {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

.mv-en-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  /* top: 50%; */
  left: 10%;
  max-width: 90%;
  z-index: 2;
  background-color: rgba(247, 246, 244, 0.7);
}

.mv-en {
  font-family: "Parisienne", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 40px;
  color: #bb3e00;
  z-index: 2;
  background: transparent;
  white-space: nowrap;
}

.js-slider {
  display: block;
  text-align: right;
  width: 65%;
  height: auto;
  /* top: 15%;
  left: 100%; */
  /* transform: translateX(-100%); */
  z-index: 1;
  align-items: start;
}

.js-slider img {
  max-width: 100%;
  width: 100%;
  /* overflow-x: hidden; */
  height: auto;
}

.about,
.service,
.restaurant-news-wrapper {
  font-family: "Merriweather", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: 16px;
  color: #2f5249;
  letter-spacing: 1px;
}

.content-title {
  margin: 20px 0;
}

.content-text {
  margin: 20px 0;
}

@media screen and (max-width: 768px) {
  .mv-en-wrapper {
    position: absolute;
    left: 15px;
  }
  .mv-en {
    top: 150px;
    font-size: 30px;
  }
}

@media screen and (max-width: 480px) {
  /* .js-slider {
    width: 100%;
  } */
  .mv-en {
    top: 150px;
    font-size: 25px;
  }
}

/* about */
.about {
  margin-top: 40px;
}
.about > .inner::before {
  content: "";
  position: absolute;
  top: 90px; /* 四角の上からの位置調整 */
  width: 80%; /* 四角の幅 */
  height: 400px; /* 四角の高さ */
  background-color: #f8e8d6;
  z-index: 0; /* コンテンツの背面に配置 */
}

.about > .inner {
  position: relative;
  z-index: 1;
}

.about .content-wrapper {
  display: flex;
  flex-direction: row-reverse;
}

.images-wrapper {
  display: flex;
  width: 60%;
  /* margin-left: 20px; */
  justify-content: space-around;
}

.images-wrapper .item1 img {
  width: 90%;
  position: relative;
  top: 10%;
}

.images-wrapper .item2 img {
  width: 85%;
  position: relative;
  top: 30%;
  margin-left: 3%;
}

.images-wrapper .item3 img {
  width: 80%;
  position: relative;
  top: 50%;
}

.js-fadeinup-trigger {
  opacity: 0;
}

.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.text-wrapper {
  margin: 40px 50px 40px 30px;
  width: 60%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
}

.text-wrapper .content-title {
  margin-bottom: 20px;
}

.about .content-text {
  background: transparent;
  margin: 0;
}

.about p {
  margin: 0 0 20px;
  background: transparent;
}

.about strong {
  background: transparent;
}

@media screen and (max-width: 768px) {
  .about > .inner::before {
    left: 0;
    width: 50%; /* 四角の幅 */
    height: 100%; /* 四角の高さ */
  }
  .about .content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .text-wrapper {
    margin: 30px auto;
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
  }

  .images-wrapper {
    display: flex;
    width: 100%;
    margin-left: 0;
    justify-content: start;
    gap: 10%;
  }

  .images-wrapper .item1 img {
    width: 90%;
    position: relative;
    top: 0;
  }

  .images-wrapper .item2 img {
    width: 80%;
    position: relative;
    top: 30%;
  }

  .images-wrapper .item3 img {
    width: 80%;
    position: relative;
    top: 60%;
  }
}
/* service */
.service {
  margin: 15% 0;
}

.service .content-wrapper {
  display: flex;
  z-index: 1;
}

.service .box-left {
  width: 30%;
  margin: 0 3% 0 5%;
}

.service .box-right {
  width: 70%;
  display: flex;
  gap: 40px;
  margin-right: 50px;
}

/* .box-right .item {
  display: flex;
} */

.box-right .item-title-wrapper {
  display: flex;
  margin-top: 50px;
  align-items: center;
}

.box-right .item-title-wrapper h3 {
  margin-left: 20px;
}

.box-right .size-small {
  width: 100px;
  height: auto;
}

.box-right .item {
  width: 80%;
}

.box-right .item:nth-of-type(2) {
  margin-top: 70px;
}
@media screen and (max-width: 768px) {
  .service .content-wrapper {
    flex-direction: column;
  }

  .service .box-left {
    width: 90%;
    margin: 100px auto 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .service .box-right {
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin: 0 auto;
  }

  .box-right .item-title-wrapper {
    display: flex;
    margin-top: 10px;
    align-items: center;
  }

  .box-right .js-fadeinup-trigger {
    margin: 0 0 0 5%;
  }

  .box-right .item:nth-of-type(2) {
    margin-top: 0;
  }
}

/* restaurant & news */
.restaurant-news-wrapper {
  position: relative;
  display: flex;
  justify-content: space-between;
}

.restaurant-news-wrapper::after {
  content: "";
  position: absolute;
  right: 0;
  width: 80%; /* 四角の幅 */
  height: 550px; /* 四角の高さ */
  background-color: #f8e8d6;
  z-index: 0; /* コンテンツの背面に配置 */
}

.restaurant-news-wrapper > .inner {
  z-index: 1;
  background: transparent;
  width: 50%;
  display: flex;
  flex-direction: column;
}

.home-restaurant {
  margin: 2% 10%;
  background: transparent;
}

.home-restaurant::after {
  content: "";
  position: absolute;
  top: 40px; /* 四角の上からの位置調整 */
  left: 0;
  width: 45%; /* 四角の幅 */
  height: 60%; /* 四角の高さ */
  background-color: #faf7f3;
  z-index: 0; /* コンテンツの背面に配置 */
}

.home-restaurant div {
  background: transparent;
}

.home-restaurant h2 {
  position: relative;
  background: transparent;
  z-index: 1;
}

.home-restaurant dl {
  margin: 20px 0;
  position: relative;
  background: transparent;
  z-index: 1;
}

.home-restaurant dt {
  font-weight: bold;
  margin: 10px 0;
  background: transparent;
}

.home-restaurant dd {
  background: transparent;
}

.home-news {
  /* margin-top: 90px;
  margin-left: 130px;
  margin-right: 10px; */
  margin: 90px auto 0;
  position: relative;
  z-index: 1;
  background: transparent;
  width: 50%;
}

.home-news::after {
  content: "";
  position: absolute;
  top: 40px; /* 四角の上からの位置調整 */
  /* right: 5%; */
  width: 100%; /* 四角の幅 */
  height: 100%; /* 四角の高さ */
  background-color: #faf7f3;
  z-index: 0; /* コンテンツの背面に配置 */
}

.home-news h2 {
  position: relative;
  background: transparent;
  z-index: 1;
  margin: 25px;
}

.home-news ul {
  list-style: none;
  background: transparent;
  position: relative;
  margin: 0 auto;
  z-index: 3;
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-news > ul > li {
  position: relative;
  z-index: 3;
  border-bottom: 2px solid #b6ceb4;
  margin: 10px;
}

.home-news a {
  display: flex;
  position: relative;
  text-decoration: none;
  background: transparent;
  z-index: 3;
}

.home-news div {
  background: transparent;
}

.home-news .wp-post-image {
  width: 100px;
  height: auto;
}

.home-news .text {
  background: transparent;
  margin: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* .home-news .text .cat-list {
  list-style: none;
  margin-bottom: 10px;
} */

.home-news .text .cat-name {
  align-self: flex-end;
  display: inline-block;
  padding: 3px 5px;
  background-color: #f8e8d6;
  color: #bb3e00;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: small;
}

@media screen and (max-width: 768px) {
  .restaurant-news-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
  }

  .restaurant-news-wrapper .inner {
    width: 90%;
    margin: 0 auto;
  }

  .home-restaurant {
    margin: 2px 0;
  }

  .home-restaurant::after {
    width: 100%; /* 四角の幅 */
    height: 35%; /* 四角の高さ */
    background-color: #faf7f3;
    z-index: 0; /* コンテンツの背面に配置 */
  }

  .home-news {
    margin: 90px 0;
    position: relative;
    z-index: 1;
    background: transparent;
    width: 100%;
  }

  .home-news h2 {
    margin: 25px 0;
  }

  .home-news::after {
    width: 100%; /* 四角の幅 */
    height: 100%; /* 四角の高さ */
    background-color: #faf7f3;
    z-index: 0; /* コンテンツの背面に配置 */
  }

  .home-news ul {
    list-style: none;
    background: transparent;
    position: relative;
    z-index: 3;
    width: 100%;
    gap: 30px;
  }

  .home-news .text {
    width: 100%;
    margin: 0 0 0 20px;
  }

  .home-news::after {
    top: 40px; /* 四角の上からの位置調整 */
    width: 100%; /* 四角の幅 */
    height: 100%; /* 四角の高さ */
    right: 0;
    background-color: #faf7f3;
    z-index: 0; /* コンテンツの背面に配置 */
  }

  .restaurant-news-wrapper::after {
    width: 50%; /* 四角の幅 */
    height: 100%; /* 四角の高さ */
    background-color: #f8e8d6;
    z-index: 0; /* コンテンツの背面に配置 */
  }
}

/* footer */
footer {
  position: relative;
  color: #2f5249;
  font-family: "Merriweather", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

footer a:link {
  text-decoration: none;
  color: #2f5249;
}

footer a:hover {
  color: #b6ceb4;
}

.footer-nav {
  display: flex;
  justify-content: center;
  list-style: none;
  font-size: 14px;
  margin: 20px;
}

.footer-a,
.footer-b {
  background-image: url("img/footer-img-02.jpg");
  background-size: cover;
  background-position: left;
  background-repeat: no-repeat;
  min-height: 500px;
  margin-top: 30px;
}

.footer-a .inner {
  display: flex;
  flex-direction: column;
  /* justify-items: center; */
}

.footer-a .contact-box {
  justify-items: center;
}

.footer-a img {
  display: block;
  width: 200px;
  height: auto;
  margin: 20px auto;
}

.footer-a .content-wrapper {
  display: flex;
  gap: 30px;
}

.footer-a .btn {
  display: inline-block;
  padding: 12px 24px;
  background: #2f5249;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}

.footer-b .inner {
  display: flex;
  flex-direction: column;
  justify-content: end;
  height: 200px;
}
@media screen and (max-width: 768px) {
  .footer-a,
  .footer-b {
    background-image: url("img/footer-img-02.jpg");
    background-size: 175%;
    background-repeat: no-repeat;
    background-position: 80% 100%;
    min-height: 300px;
    margin-top: 30px;
  }

  .footer-a {
    min-height: 500px;
  }
  .footer-a .inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .footer-a .content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1.5;
  }

  .footer-a .item-bottom {
    margin: 20px auto 5px;
  }

  .footer-b .inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: auto;
  }
}

.copyright {
  text-align: center;
}

/* home */
.main {
  background-color: #f8e8d6;
  font-family: "Merriweather", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  color: #2f5249;
  padding-bottom: 20px;
}

.main .c-breadcrumbs {
  margin: 15px 50px;
}

.main .c-breadcrumbs :link {
  text-decoration: none;
  color: #2f5249;
}

.main .c-breadcrumbs :hover {
  color: #b6ceb4;
}

.main .main-content {
  width: 70%;
}

.main .main-content .box-white {
  margin: 2% 5% 5% 5%;
  background-color: #faf7f3;
}

.main .news-wrapper .main-content .news-title {
  padding: 2% 5%;
}

.main .news-wrapper .news-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.main .news-list > li {
  padding: 20px 20px;
  width: 90%;
  border-bottom: 2px solid #b6ceb4;
}

.main .news-list .text {
  margin: 1rem;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.main .news-list .text .cat-name {
  align-self: flex-end;
  display: inline-block;
  padding: 3px 5px;
  background-color: #f8e8d6;
  color: #bb3e00;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: small;
}

.wp-pagenavi {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.wp-pagenavi a {
  text-decoration: none;
}

.wp-pagenavi a:hover {
  color: #b6ceb4;
}

@media screen and (max-width: 768px) {
  .main .c-breadcrumbs {
    margin: 15px 20px;
  }
}

/* parts-archiveposts */
.news-list a:link {
  display: flex;
  text-decoration: none;
  color: #2f5249;
  align-items: center;
}

.news-list a:hover {
  color: #b6ceb4;
}

.news-list img {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.news-list .title {
  margin: 0 20px;
  width: 100%;
  flex-direction: column;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* sidebar */

.sidebar .box-white {
  margin: 2rem 2rem 5rem 1rem;
  background-color: #faf7f3;
}

.sidebar .item {
  width: 300px;
}

.sidebar .item .news-title {
  padding: 20px 40px;
  color: #2f5249;
}

.sidebar hr {
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 2px solid #b6ceb4;
  margin: auto 40px;
}

.sidebar-list {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  width: 200px;
  list-style: none;
  padding-bottom: 20px;
}

.sidebar-list li {
  width: 70%;
  margin: 10px 0;
}

.sidebar-list a:link {
  text-decoration: none;
  padding: 20px 20px;
  color: #2f5249;
}

.sidebar-list a:hover {
  color: #b6ceb4;
}

@media screen and (max-width: 768px) {
  .sidebar {
    display: none;
  }

  .main .main-content {
    width: 100%;
  }

  .main .main-content .box-white {
    margin: 2% auto;
    background-color: #faf7f3;
  }

  .main .news-list > li {
    padding: 2%;
    width: 90%;
    border-bottom: 2px solid #b6ceb4;
  }
}

/* single.php */
.news-wrapper {
  display: flex;
  gap: 30px;
}

.post .box-white {
  padding: 20px;
}

.cat-list {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  text-align: right;
  width: auto;
  gap: 1%;
}

.cat-list li {
  background-color: #f8e8d6;
  color: #bb3e00;
  padding: 3px 5px;
  font-family: "Merriweather", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.post .post-title {
  margin: 10px;
}

.post .wp-block-heading {
  margin: 15px;
}

.post-wrapper img {
  display: block;
  max-width: 600px;
  height: auto;
  margin: 10px auto;
}

.post-wrapper p {
  margin: 15px;
  line-height: 1.5;
}

.page-nav {
  list-style-type: none;
  display: flex;
  justify-content: space-around;
  padding: 0;
  margin: 20px;
}

.page-nav a:link {
  text-decoration: none;
  color: #2f5249;
}

@media screen and (max-width: 768px) {
  .cat-list li {
    background-color: #f8e8d6;
    color: #bb3e00;
    padding: 3px 5px;
    font-size: small;
  }

  .post .post-title {
    margin: 10px;
    font-size: 1.5rem;
  }

  .post-wrapper img {
    box-sizing: border-box;
    height: auto;
    max-width: 100%;
    vertical-align: bottom;
  }
}

/* 404 */
.page-not-found {
  text-align: center;
  margin: 20px;
  font-size: 1rem;
  color: #2f5249;
}

/* contact */
.wpcf7 {
  background-color: #faf7f3;
  margin: 20px 70px;
  margin-bottom: 70px;
}

.form-wrapper {
  display: flex;
  flex-direction: column;
  margin: 20px auto;
  justify-content: center;
  max-width: 400px;
}

.form-wrapper .about-text {
  text-align: center;
}

.form-wrapper dl {
  margin: 20px auto;
}

.wpcf7-text {
  width: 400px;
}

.form-wrapper textarea {
  width: 400px;
}

.btn-wrapper {
  width: 400px;
  display: flex;
  justify-content: start;
}

.btn-wrapper input {
  padding: 5px 20px;
}

@media screen and (max-width: 768px) {
  .wpcf7 {
    background-color: #faf7f3;
    margin: 20px 20px;
    margin-bottom: 70px;
  }

  .form-wrapper {
    display: flex;
    flex-direction: column;
    margin: 20px auto;
    justify-content: center;
    max-width: 90%;
  }

  .wpcf7-text {
    width: 100%;
  }

  .form-wrapper textarea {
    width: 100%;
  }

  .btn-wrapper {
    width: 100%;
  }
}

/* privacy policy */

.box-white {
  background-color: #faf7f3;
  width: 80%;
  margin: 30px auto;
  padding: 20px 0;
}

.privacy-wrapper {
  width: 80%;
  margin: 30px auto;
}

.privacy-wrapper h2 {
  margin: 20px 0;
}

.privacy-wrapper p {
  margin: 1%;
  line-height: 1.5;
}

.privacy-wrapper ul {
  margin: 0.5% 0 0.5% 5%;
}

.privacy-wrapper li {
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .box-white {
    width: 90%;
    margin: 30px auto;
    padding: 20px 0;
  }

  .privacy-wrapper {
    width: 90%;
  }
}
