@charset "utf-8";

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap");

/* CSS Document */
:root {
  --content-color-base: #2c2a29;
  --content-color-blue50: #37b3ff;
  --content-color-blue80: #0063b0;
  --bg-img-setting: no-repeat center center / contain;
  --content-width-sp: calc(336vw / 3.75);
  --content-width-pc: 1104px;
  --content-width: min(var(--content-width-sp), var(--content-width-pc));
  --content-bg-width-pc: max(100%, 1920px);
  --font-size-pc: 14px;
  --font-size-sp: calc(14vw / 3.75);
  --content-font-size: min(var(--font-size-sp), var(--font-size-pc));
  --font-sans: "Noto Sans JP", serif;
  --font-serif: "Noto Serif JP", serif;
  --content-hover-speed: 0.3s;
  --content-border-1: 1px solid;
  --content-border-2: 2px solid;
  --content-border-4: 4px solid;
}

.is-sp,
.is-tb {
  display: none;
}
.main {
  font-family: var(--font-sans);
  font-size: var(--content-font-size);
  color: var(--content-color-base);
  line-height: 1.3;
  position: relative;
}
.main * {
  box-sizing: border-box;
}
.inner {
  width: var(--content-width);
  margin: auto;
  position: relative;
}
a {
  transition: var(--content-hover-speed);
}
img {
  height: auto;
}
.note-list > li,
.note-txt {
  display: block;
  font-size: 12px;
  font-weight: normal;
  color: #737373;
  padding-left: 1em;
  text-indent: -1em;
  line-height: 1.5;
}

/***** MV・ナビ *****/
.title-container {
  width: 100%;
  height: 400px;
  background: url(../img/bg.jpg) no-repeat center top / auto;
  .inner {
    display: grid;
    gap: 24px;
    .title-logo {
      text-align: center;
    }
    .bodycopy {
      background: rgba(44 42 41 / 60%);
      padding-block: 8px;
      font-size: 16px;
      color: #fff;
      text-align: center;
    }
  }
}

.nav-wrapper {
  width: 100%;
  .nav-list {
    display: flex;
    gap: 48px;
    justify-content: center;
    align-items: center;
    li > a {
      display: block;
      font-weight: bold;
      text-align: center;
      padding: 16px;
      border-bottom: #fff var(--content-border-2);
      &:hover {
        border-bottom: var(--content-color-blue80) var(--content-border-2);
        transition: none;
      }
    }
  }
}

/***** メインコンテンツ *****/
.main-container {
  position: relative;
}
.container {
  width: 100%;
  padding-bottom: 64px;
  .head-title {
    font-size: 36px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    padding-block: 16px;
    margin-bottom: 40px;
  }
}

.item-img {
  position: relative;
  .copyright {
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(0 0 0 / 70%);
    font-size: 12px;
    color: #fff;
    padding: 4px;
    &:empty {
      display: none;
    }
  }
}

.item-name {
  font-weight: bold;
  line-height: 1.5;
  .area-name {
    font-size: 32px;
  }
  .pref-name {
    font-size: 20px;
  }
}

.item-txt {
  font-size: 16px;
  line-height: 1.5;
}
.temperature-box {
  display: grid;
  gap: 8px;
  .temperature-midashi {
    font-weight: bold;
  }
  .temperature-list {
    display: flex;
    li {
      width: 50%;
      display: flex;
      gap: 8px;
      align-items: center;
      .temp-label {
        padding: 8px;
        font-size: 16px;
        font-weight: bold;
        color: #fff;
        text-align: center;
        &.is-average {
          background: var(--content-color-blue80);
        }
        &.is-max {
          background: #bb0b00;
        }
      }
      .temperature-data {
        font-size: 20px;
        font-weight: bold;
        small {
          font-size: 12px;
          font-weight: normal;
        }
      }
    }
  }
  .cool-point {
    background: #fff;
    padding: 16px;
    display: grid;
    gap: 8px;
    .cool-point-midashi {
      font-size: 18px;
      font-weight: bold;
      display: flex;
      gap: 16px;
      align-items: center;
      &::before {
        content: "";
        background: url(../img/leaf.svg) var(--bg-img-setting);
        width: 50px;
        height: 36px;
        display: block;
      }
    }
  }
}

/*** 5選 ***/
.container.is-select {
  background:
    url(../img/bg1.webp) no-repeat center bottom / auto,
    #f9ffe6;
}
.head-title#select {
  background: #008552;
}
.container.is-select .inner {
  display: grid;
  gap: 40px;
  .content-box {
    display: grid;
    grid-template-columns: 1fr minmax(540px, 1fr);
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 40px;
    .select-item {
      display: grid;
      gap: 16px;
    }
  }
}

/*** スポット ***/
.container.is-spot {
  background:
    url(../img/bg2.webp) no-repeat center bottom / auto,
    #eaf6ff;
}
.head-title#spot {
  background: #00467c;
}
.spot-list {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  li {
    width: 120px;
    background: #fff;
    border: var(--content-border-2) var(--content-color-blue50);
    border-radius: 4px;
    padding-block: 16px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    &.is-active,
    &:hover {
      background: var(--content-color-blue50);
    }
  }
}
.spot-area {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
  li {
    background: #fff;
    padding: 16px;
    display: grid;
    grid-template-rows: subgrid;
    gap: 0;
    grid-row: span 4;
    .item-img {
      margin-bottom: 8px;
    }
    .item-name {
      margin-bottom: 16px;
    }
    .area-name {
      font-size: 24px;
    }
    .pref-name {
      font-size: 16px;
    }
    .temperature-box {
      display: block;
      .temperature-inbox {
        display: contents;
      }
      .temperature-midashi {
        margin-bottom: 8px;
      }
      .temperature-list {
        margin-bottom: 8px;
        gap: 0;
        li {
          width: 50%;
          display: flex;
          align-items: center;
          gap: 4px;
          padding: 0;
          .temp-label {
            width: 4.5em;
            flex-shrink: 0;
            padding: 8px 0;
            font-size: 14px;
          }
          .temperature-data {
            font-size: 16px;
            small {
              display: block;
            }
          }
        }
      }
      .cool-point {
        margin: 16px auto;
        background: #f5f7fa;
        .cool-point-midashi {
          font-size: 16px;
          &::before {
            width: 40px;
            height: 29px;
          }
        }
      }
    }
    .item-txt {
      font-size: 14px;
    }
  }
}
.spot-area .is-hide {
  display: none;
}

/*** 記事 ***/
.head-title#article {
  background: #135b2c;
}
.article-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  li > a {
    display: grid;
    gap: 8px;
    line-height: 1.5;
    .article-inbox {
      display: contents;
    }
    .article-midashi {
      font-size: 16px;
      font-weight: bold;
    }
  }
}

/*** 商品 ***/
.coolSummer--spot > li.is-hide {
  display: none;
}
.link-wrapper {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 24px auto 0;
  li {
    width: min(460px, 100%);
    a {
      display: block;
      background: #008552;
      border-radius: 4px;
      font-size: 16px;
      font-weight: bold;
      color: #fff;
      text-align: center;
      padding-block: 16px;
    }
    &:empty {
      display: none;
    }
  }
}
.container.is-spot .link-wrapper > li > a {
  background: var(--content-color-blue80);
}

@media (768px <= width <= 1024px) {
  .is-tb {
    display: block;
  }
  .container.is-select .inner {
    .content-box {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  .temperature-box {
    .temperature-list {
      display: flex;
      gap: 8px;
      li {
        .temp-label {
          font-size: 14px;
        }
        .temperature-data {
          font-size: 16px;
          small {
            display: block;
          }
        }
      }
    }
  }
  .spot-list {
    gap: 8px;
    li {
      width: 100%;
      font-size: 14px;
    }
  }
  .spot-area {
    grid-template-columns: repeat(2, 1fr);
  }
}
