/* css/main.css */
body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    /* background: #f8f9fa; */
    color: #333;
  }

  header {
    color: #fff;
    padding: 2rem 1rem;
    text-align: center;
  }

  h1 {
    margin: 0;
    font-size: 2rem;
    font-family: "Helvetica Neue", sans-serif;
    color: #558abb;
  }

  main {
    background-color: #e1d6cc;
  }

  a {
    color: #333;
    transition: opacity 0.3s;
    &:hover {
      opacity: 0.7;
    }
  }

  ul {
    margin: 0;
    padding: 0;
  }

  li {
    list-style: none;
  }

  .note {
    color: #555;
    font-size: 0.9rem;
  }

  .time-note {
    span {
      font-weight: bold;
    }
  }

  footer {
    background: #fff;
    text-align: center;
    padding: 1rem;
    font-size: 0.8rem;
  }

  /* ヘッダー */

  .header-nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .header-nav-list__item {
    padding-inline: 20px;
    a {
      font-weight: bold;
      text-decoration: none;
    }
  }

  /* kv */
  .kv {
    position: relative;
  }

  .kv-text {
    margin: 0;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
  }

  .kv-image {
    max-height: 300px;
    img {
      width: 100%;
      max-height: 300px;
      object-fit: cover;
      object-position: 100% 40%;
    }
  }

  /* ページ共通 */
  .section {
    max-width: 1000px;
    margin: 0 auto;
    padding-block: 50px;
  }
  
  .section__inner {
    padding: 20px 50px;
    background-color: #fff;
    border-radius: 20px;
  }

  .section-title {
    padding-bottom: 8px;
    border-bottom: 2px solid #a15d20;
    color: #a15d20;
  }

  .link {
    text-transform: uppercase;
  }

  /* トップ  */
  .label-list {
    display: flex;
    gap: 15px;
  }

  .label-list-item {
    padding: 10px 5px;
    background-color: #558abb;
    border-radius: 8px;
    color: #fff;
    font-weight: bold;
  }

  .map {
    width: 100%;
    iframe {
      width: 100%;
    }
  }

  /* カフェについて /about */
  .concept-text {
    span {
      display: block;
      margin-block: 15px;
      font-size: 20px;
      font-weight: bold;
    }
  }

  .csr-list {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 15px;
    margin-block: 30px;
  }

  .csr-list-item {
    width: calc(100% / 3);
    height: 100%;
    padding: 20px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 15px;
  }

  .csr-list-item__title {
    text-align: center;
  }

  .csr-list-item__icon {
    max-width: 50px;
    max-height: 50px;
    width: 100%;
    height: 100%;
    margin: auto;
    img {
      width: 100%;
      height: 100%;
    }
  }

  .csr-list-item__text {
    font-size: 15px;
    height: calc(1.6 * 3 * 15px)
  }

  .faq {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .faq-item {
    p {
      margin: 0;
    }
  }

  .faq-item__question {
    padding-left: 30px;
    border: 0;
    background-color: transparent;
    position: relative;
    cursor: pointer;
    &::before {
      content: "q";
      font-weight: bold;
      text-transform: uppercase;
      position: absolute;
      top: 50%;
      left: 0;
      transform: translateY(-50%);
    }
    p {
      margin: 0;
      font-size: 18px;
      font-weight: bold;
    } 
  }
  
  .faq-item__answer {
    margin-top: 5px;
    padding-left: 30px;
    position: relative;
    height: 0;
    overflow: hidden;
    transition: all 0.5s;
    &::before {
      content: "a";
      color: #558abb;
      font-weight: bold;
      text-transform: uppercase;
      position: absolute;
      top: 0;
      left: 0;
    }
    p {
      margin: 0;
    } 
  }

  .video {
    /* max-width: 100%; */
    iframe {
      width: 100%;
      height: auto;
      aspect-ratio: 16 / 9;
    }
  }

  /* contents下層 /contents/** */
  .contents-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
  }

  .contents-list-item__title {
    font-size: 16px;
  }

  .contents-list-item__image {
    width: 200px;
    height: 200px;
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  .contents-list-item__text {
    margin-top: 5px;
    margin-bottom: 0;
  }

  /* お問い合わせ */
  .form-text {
    max-width: 1000px;
    margin: auto;
  }

  .form {
    max-width: 1000px;
    margin: 20px auto auto;
    label {
      display: block;
      margin-top: 15px;
      font-weight: bold;
      span {
        margin-left: 8px;
        color: red;
      }
    }
    input,
    textarea
     {
      width: 100%;
      padding: 10px;
      border: 2px solid #ecf0f1;
      border-radius: 8px;
    }
  }

  .form-button {
    max-width: 100px;
    width: 100%;
    margin-top: 15px;
    padding-block: 10px;
    background-color: #a15d20;
    border: none;
    border-radius: 30px;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 0.1em;
    transition: opacity 0.3s;
    cursor: pointer;
    &:hover {
      opacity: 0.7;
    }
  }

  .wovn-languages {
    position: fixed;
    top: 0;
    right: 0;
    background-color: #fff;
    border-radius: 0 0 0 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    ul {
      display: flex;
      list-style: none;
    }
    li {
      padding: 15px;
      cursor: pointer;
    }
    li + li {
      border-left: 1px solid;
    }
    li.selected {
      font-weight: bold;
    }
    li.wovn-switch:hover {
      opacity: 0.7;
      transition: opacity 0.3s;
    }
  }
  
  .english-animation.yurayura {
    animation: yurayura 3s linear infinite;
  }

  @keyframes yurayura {
    0% {
      transform: translate(50%, -50%);
    }
    50% {
      transform: translate(60%, -50%);
    }
    100% {
      transform: translate(50%, -50%);
    }
  }

  *[data-wovn-wait]:lang(en) {
    opacity: 0;
    transition: opacity 10.25s ease;
  }
