/**
* index
*/

/**
* main image
*/
.section-main-image {
  position: relative;
  width: 100%;
  height: 48vw;
  line-height: 0;
  background-image: url(../../images/index/main_image.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  @media screen and (min-width: 1101px) {
    height: 25vw;
  }
  article {
    position: relative;
    height: 100%;
  }
  .main-note {
    position: absolute;
    top: -88px;
    right: 16px;
    font-size: 16px;
    font-weight: bold;
    writing-mode: vertical-rl;
    letter-spacing: 1px;
    line-height: 2;
    @media screen and (min-width: 1101px) {
      top: -147px;
      font-size: 24px;
      line-height: 2.8;
    }
    span {
      padding: 16px 0;
      background-color: var(--color-white);
    }
  }
  .banner-202505 {
    position: absolute;
    bottom: 48px;
    img {
      width: 120px;
      @media screen and (min-width: 769px) {
        width: 210px;
      }
    }
  }
}

/**
* このプロジェクトは
*/
.section-about {
  padding-top: 32px;
  padding-bottom: 64px;
  color: var(--color-green);
  background-color: var(--color-beige);
  @media screen and (min-width: 769px) {
    padding-top: 64px;
    padding-bottom: 240px;
  }
  article {
    position: relative;
    &::after {
      content: "";
      display: block;
      width: 16%;
      max-width: 209px;
      height: 115px;
      position: absolute;
      bottom: -120px;
      right: 4px;
      background-image: url(../../images/index/yama.svg);
      background-position: center;
      background-repeat: no-repeat;
      background-size: contain;
      @media screen and (min-width: 1800px) {
        right: -196px;
      }
    }
  }
  h2 {
    margin-bottom: 8px;
    font-size: 21px;
    font-weight: bold;
    text-align: left;
    @media screen and (min-width: 769px) {
      font-size: 27px;
    }
  }
  p {
    font-size: 18px;
    line-height: 1.8;
    @media screen and (min-width: 769px) {
      font-size: 24px;
    }
  }
}

/**
* このプロジェクトは 詳細
*/
.section-about-detail {
  padding-bottom: 120px;
  color: var(--color-green);
  font-size: 16px;
  font-weight: bold;
  background-color: var(--color-beige);
  @media screen and (min-width: 769px) {
    padding-bottom: 240px;
    font-size: 19px;
  }
  article {
    position: relative;
    &::after {
      content: "";
      display: block;
      width: 12%;
      max-width: 164px;
      height: 222px;
      position: absolute;
      bottom: 0;
      left: 4px;
      background-image: url(../../images/index/tree.svg);
      background-position: center;
      background-repeat: no-repeat;
      background-size: contain;
      @media screen and (min-width: 1700px) {
        left: -172px;
      }
    }
  }
  .contents-wrap {
    @media screen and (min-width: 769px) {
      display: flex;
      flex-flow: row;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      column-gap: 5%;
    }
  }
  figcaption {
    margin-bottom: 16px;
    text-align: justify;
    text-justify: inter-ideograph;
    @media screen and (min-width: 769px) {
      margin-bottom: 0;
    }
    &:nth-of-type(1) {
      width: 100%;
      @media screen and (min-width: 769px) {
        width: 18%;
      }
    }
    &:nth-of-type(2) {
      width: 100%;
      @media screen and (min-width: 769px) {
        width: 18%;
      }
    }
    &:nth-of-type(3) {
      width: 100%;
      @media screen and (min-width: 769px) {
        width: 42%;
      }
    }
  }
  figure {
    img {
      border-radius: 24px;
    }
    &:nth-of-type(1) {
      width: 100%;
      @media screen and (min-width: 769px) {
        width: 20%;
      }
    }
    &:nth-of-type(2),
    &:nth-of-type(3) {
      width: 100%;
      @media screen and (min-width: 769px) {
        width: 28%;
      }
    }
  }
}

/**
* 喧騒を忘れる、ここにしかない農泊
*/
.section-farm-stay {
  position: relative;
  padding-bottom: 240px;
  font-size: 20px;
  &::before {
    content: "";
    display: block;
    position: absolute;
    top: -13vw;
    left: 0;
    width: 100%;
    height: 14vw;
    background-image: url(../../images/index/wave_white.svg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;
    z-index: 0;
  }
  article {
    position: relative;
    z-index: 10;
  }
  h2 {
    position: absolute;
    top: 80px;
    bottom: auto;
    left: auto;
    right: 8px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 16%;
    @media screen and (min-width: 769px) {
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      justify-content: center;
      width: 100%;
    }
    img {
      max-width: 110px;
    }
  }

  .farm-stay-warap {
    font-size: 19px;
    line-height: 1.8;
    @media screen and (max-width: 768px) {
      max-width: 80%;
    }
    ol {
      margin: 0;
      padding: 0;
      list-style-type: none;
      @media screen and (min-width: 769px) {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 19%;
      }
      li {
        &:nth-of-type(2) {
          margin-top: 120px;
        }
        h3 {
          margin-bottom: 40px;
        }
        p {
          margin-bottom: 32px;
          text-align: justify;
          text-justify: inter-ideograph;
        }
        h4 {
          margin-top: 40px;
        }
      }
    }
  }

  /**
  * 泊まって味わう
  */
  .stay-photo {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 5px;
    margin-bottom: 120px;
  }
  /**
  * 食で感じる
  */
  .eat-photo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 5px;
  }
  /**
  * 泊まって味わう
  */
  .exp-photo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 5px;
    &.w-small {
      margin-inline: auto;
      width: 100%;
      max-width: 367px;
    }
  }
}

/**
* ニュース
*/
.section-news {
  position: relative;
  padding-bottom: 140px;
  background-color: var(--color-beige);
  &::before {
    content: "";
    display: block;
    position: absolute;
    top: -13vw;
    left: 0;
    width: 100%;
    height: 14vw;
    background-image: url(../../images/index/wave_beige.svg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;
    z-index: 0;
  }
  article {
    position: relative;
    text-align: center;
    z-index: 10;
    &::after {
      content: "";
      display: block;
      width: 20%;
      max-width: 262px;
      height: 126px;
      position: absolute;
      top: 140px;
      left: 4px;
      background-image: url(../../images/index/kirikabu.svg);
      background-position: center;
      background-repeat: no-repeat;
      background-size: contain;
      @media screen and (min-width: 1700px) {
        left: -96px;
      }
    }
    h2 {
      @media screen and (min-width: 769px) {
        margin-bottom: 48px;
      }
    }
    .news-wrap {
      display: flex;
      flex-flow: row;
      flex-wrap: wrap;
      row-gap: 1.2rem;
      @media screen and (min-width: 769px) {
        justify-content: space-between;
        column-gap: 3%;
      }
      .news-item {
        width: 100%;
        @media screen and (min-width: 769px) {
          width: 30%;
        }
      }
      .news-item-full {
        width: 100%;
      }
    }
    .news-item {
      margin-bottom: 56px;
      @media screen and (min-width: 769px) {
        margin-bottom: 0;
      }
    }
    p {
      margin-bottom: 1.6rem;
      color: var(--color-green);
      text-align: center;
    }
    .news-photos {
      margin-inline: auto;
      width: 100%;
      /* max-width: 392px; */
    }
    .photo-flex {
      display: grid;
      column-gap: 4px;
      row-gap: 4px;
      grid-template-columns: repeat(2, 1fr);
      @media screen and (min-width:769px) {
        grid-template-columns: repeat(5, 1fr);
      }
    }
    .adlink {
      img {
        width: 200px;
      }
    }
  }
}

/* 2025.06.25 田植え体験 */
.taue-20250625 {
  .modal-header {
    padding-top: 24px;
  }
  .modal-container {
    padding: 0;
    width: 96%;
    max-width: 800px;
  }
  .taue-wrap {
    position: relative;
    padding-top: 320px;
    z-index: 10;
  }
  .modal-content {
    position: relative;
    padding: 24px 16px;
    background-color: #f0ebdd;
    &::before {
      content: "";
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 320px;
      background-image: url(../../images/index/20250625_taue_back.svg);
      background-repeat: no-repeat;
      background-position: top center;
      background-size: cover;
      z-index: 0;
    }
    h2.green-circle {
      width: 160px;
      height: 160px;
    }
    .taue-header-wrap {
      margin-bottom: 24px;
      @media screen and (min-width:769px) {
        display: flex;
        flex-flow: row;
        column-gap: 16px;
      }
      div {
        width: 100%;
        @media screen and (min-width:769px) {
          width: 40%;
        }

      }
    }
  }
}


/**
* モニターツアー募集
*/
.section-tour-recruitment {
  padding-bottom: 120px;
  background-color: var(--color-beige);
  @media screen and (min-width: 769px) {
    padding-bottom: 280px;
  }
  article {
    position: relative;
    &::before {
      content: "";
      display: block;
      width: 20%;
      max-width: 276px;
      height: 320px;
      position: absolute;
      top: -80px;
      right: 4px;
      background-image: url(../../images/index/excavator.svg);
      background-position: center;
      background-repeat: no-repeat;
      background-size: contain;
      z-index: 0;
      @media screen and (min-width: 1600px) {
        right: -120px;
      }
    }
    &::after {
      content: "";
      display: block;
      width: 24%;
      max-width: 324px;
      height: 252px;
      position: absolute;
      bottom: -64px;
      left: 4px;
      background-image: url(../../images/index/sika.svg);
      background-position: left bottom;
      background-repeat: no-repeat;
      background-size: contain;
      z-index: 0;
      @media screen and (min-width: 1600px) {
        left: -120px;
        background-position: center;
      }
    }
  }
  .tour-recruitment {
    position: relative;
    margin-top: 32px;
    margin-bottom: 40px;
    z-index: 10;
    dl {
      margin-bottom: 32px;
      @media screen and (min-width: 769px) {
        display: flex;
        flex-flow: row;
        justify-content: space-between;
        column-gap: 30px;
      }
      dt {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 16px;
        padding: 8px 0;
        width: 100%;
        font-size: 19px;
        font-weight: bold;
        text-align: center;
        border: 1px solid var(--main-color);
        @media screen and (min-width: 769px) {
          margin-bottom: 0;
          padding: 0;
          width: 120px;
        }
      }
      dd {
        flex: 1;
        font-size: 19px;
        @media screen and (min-width: 769px) {
          font-size: 24px;
        }
        h3 {
          font-size: 20px;
          font-weight: bold;
          @media screen and (min-width: 769px) {
            font-size: 26px;
          }
        }
        p {
          padding-left: 1.6rem;
          text-align: justify;
          text-justify: inter-ideograph;
          @media screen and (min-width: 769px) {
            padding-left: 2rem;
          }
        }
        hr {
          margin-top: 24px;
          margin-bottom: 24px;
          border: 0;
          border-bottom: 1px dashed var(--main-color);
        }
      }
    }
  }
  .photos {
    position: relative;
    display: flex;
    flex-flow: row;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap;
    column-gap: 16px;
    z-index: 10;
    div {
      width: 50%;
      max-width: 320px;
    }
  }
}

h2.green-circle {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-inline: auto;
  width: 190px;
  height: 190px;
  font-size: 19px;
  color: var(--color-white);
  font-weight: bold;
  background-color: var(--color-green);
  border-radius: 100%;
  @media screen and (min-width: 769px) {
    width: 240px;
    height: 240px;
    font-size: 27px;
  }
}

/**
* 農泊取り組みエリアと宇佐マップ
*/
.section-area-map {
  padding-bottom: 160px;
  background-color: var(--color-beige);
  @media screen and (min-width: 769px) {
    padding-bottom: 320px;
  }
  h2 {
    padding: 10px 16px;
    color: var(--color-white);
    font-size: 19px;
    font-weight: bold;
    background-color: var(--color-green);
    border-radius: 100vh;
    @media screen and (min-width: 769px) {
      font-size: 27px;
    }
  }
  .area-wrap {
    @media screen and (min-width: 1101px) {
      display: flex;
      flex-flow: row;
      flex-wrap: nowrap;
      justify-content: space-between;
      align-items: flex-end;
      column-gap: 1.6%;
    }
  }
  figure {
    margin-bottom: 0;
    width: 100%;
    @media screen and (min-width: 1101px) {
      width: 72%;
    }
  }
  figcaption {
    flex: 1;
    color: var(--color-green);
    font-size: 19px;
    font-weight: bold;
  }
}

/**
* 宇佐南院内地域プロジェクト推進協議会メンバー
*/
.section-member {
  position: relative;
  margin-bottom: 146px;
  &::before {
    content: "";
    display: block;
    position: absolute;
    top: -13vw;
    left: 0;
    width: 100%;
    height: 14vw;
    background-image: url(../../images/index/wave_white.svg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;
    z-index: 0;
  }
  article {
    position: relative;
    z-index: 10;
  }
  h2 {
    margin-bottom: 32px;
    font-size: 24px;
    font-weight: bold;
    @media screen and (min-width: 769px) {
      font-size: 30px;
    }
  }
  .members {
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    column-gap: 24px;
    row-gap: 40px;
    dl {
      width: calc((100% - 120px) / 6);
      min-width: 160px;
      dt {
      }
      dd {
        text-align: center;
      }
    }
  }
}

/**
* お問い合わせ
*/
.section-contact {
  ol {
    display: block;
    list-style-type: none;
    font-size: 19px;
    font-weight: bold;
    line-height: 1.8;
    @media screen and (min-width: 1101px) {
      display: flex;
      flex-flow: row;
      justify-content: space-between;
      flex-wrap: nowrap;
      column-gap: 64px;
    }
    .title {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      font-size: 24px;
      border-left: 3px solid var(--main-color);
      border-right: 3px solid var(--main-color);
      @media screen and (min-width: 1101px) {
        width: 20%;
      }
    }
    li {
      margin-bottom: 16px;
      @media screen and (min-width: 1101px) {
        margin-bottom: 0;
      }
    }
  }
}
